From: Paulo Alcantara Date: Mon, 13 Jul 2015 20:45:42 +0000 (-0300) Subject: ich9: fix skipped vmstate_memhp_state subsection X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=75d663611e81c748522d9cdcb5230bd02db86d05;p=qemu.git 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 Cc: Amit Shah Reported-by: Amit Shah Signed-off-by: Paulo Alcantara Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin Reviewed-by: Amit Shah --- diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c index 5fb7a879d6..f04f6dc8c3 100644 --- a/hw/acpi/ich9.c +++ b/hw/acpi/ich9.c @@ -206,9 +206,6 @@ const VMStateDescription vmstate_ich9_pm = { }, .subsections = (const VMStateDescription*[]) { &vmstate_memhp_state, - NULL - }, - .subsections = (const VMStateDescription*[]) { &vmstate_tco_io_state, NULL }