Skip to content
Snippets Groups Projects
Commit 75d66361 authored by Paulo Alcantara's avatar Paulo Alcantara Committed by Michael S. Tsirkin
Browse files

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: default avatarAmit Shah <amit.shah@redhat.com>
Signed-off-by: default avatarPaulo Alcantara <pcacjr@zytor.com>
Reviewed-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Reviewed-by: default avatarAmit Shah <amit.shah@redhat.com>
parent b4329bf4
No related branches found
No related tags found
No related merge requests found
......@@ -206,9 +206,6 @@ const VMStateDescription vmstate_ich9_pm = {
},
.subsections = (const VMStateDescription*[]) {
&vmstate_memhp_state,
NULL
},
.subsections = (const VMStateDescription*[]) {
&vmstate_tco_io_state,
NULL
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment