ich9: fix skipped vmstate_memhp_state subsection
PATCH 1/1 ich9: fix skipped vmstate_memhp_state subsection
By declaring another .subsections array for vmstate_tco_io_state made vmstate_memhp_state not registered anymore. There must be only one .subsections array for all subsections.
Cc Michael S. Tsirkin <[email protected]>
Cc Amit Shah <[email protected]>
Reported-by Amit Shah <[email protected]>
Signed-off-by Paulo Alcantara <[email protected]>
--- hw/acpi/ich9.c | 3 --- 1 file changed, 3 deletions(-)
hw/acpi/ich9.c +0 -3
@@ -206,9 +206,6 @@ const VMStateDescription vmstate_ich9_pm = { }, .subsections = (const VMStateDescription*[]) { &vmstate_memhp_state, -NULL - }, - .subsections = (const VMStateDescription*[]) { &vmstate_tco_io_state,NULL }
Signature · 1 line
2.1.0
Quoted 8 lines · Paulo Alcantara
By declaring another .subsections array for
vmstate_tco_io_statemadevmstate_memhp_statenot registered anymore. There must be only one .subsections array for all subsections.Cc Michael S. Tsirkin <[email protected]>Cc Amit Shah <[email protected]>Reported-by Amit Shah <[email protected]>Signed-off-by Paulo Alcantara <[email protected]>
Reviewed-by Amit Shah <[email protected]>
Amit