summaryrefslogtreecommitdiffstats
path: root/hw/acpi/ich9.c
diff options
context:
space:
mode:
authorPaulo Alcantara2015-07-13 22:45:42 +0200
committerMichael S. Tsirkin2015-07-20 13:19:40 +0200
commit75d663611e81c748522d9cdcb5230bd02db86d05 (patch)
tree9c103ba84a2eaee19952c1d20d44d7a7be963490 /hw/acpi/ich9.c
parentUpdate version for v2.4.0-rc1 release (diff)
downloadqemu-75d663611e81c748522d9cdcb5230bd02db86d05.tar.gz
qemu-75d663611e81c748522d9cdcb5230bd02db86d05.tar.xz
qemu-75d663611e81c748522d9cdcb5230bd02db86d05.zip
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 <mst@redhat.com> Cc: Amit Shah <amit.shah@redhat.com> Reported-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Paulo Alcantara <pcacjr@zytor.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'hw/acpi/ich9.c')
-rw-r--r--hw/acpi/ich9.c3
1 files changed, 0 insertions, 3 deletions
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
}