* [Qemu-devel] [PATCH] ich9: fix skipped vmstate_memhp_state subsection
@ 2015-07-13 20:45 Paulo Alcantara
2015-07-14 5:32 ` Amit Shah
0 siblings, 1 reply; 2+ messages in thread
From: Paulo Alcantara @ 2015-07-13 20:45 UTC (permalink / raw
To: qemu-devel; +Cc: Amit Shah, Paulo Alcantara, Michael S. Tsirkin
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>
---
hw/acpi/ich9.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/hw/acpi/ich9.c b/hw/acpi/ich9.c
index 5fb7a87..f04f6dc 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
}
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] ich9: fix skipped vmstate_memhp_state subsection
2015-07-13 20:45 [Qemu-devel] [PATCH] ich9: fix skipped vmstate_memhp_state subsection Paulo Alcantara
@ 2015-07-14 5:32 ` Amit Shah
0 siblings, 0 replies; 2+ messages in thread
From: Amit Shah @ 2015-07-14 5:32 UTC (permalink / raw
To: Paulo Alcantara; +Cc: Paulo Alcantara, qemu-devel, Michael S. Tsirkin
On (Mon) 13 Jul 2015 [17:45:42], Paulo Alcantara wrote:
> 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: Amit Shah <amit.shah@redhat.com>
Amit
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-14 5:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-13 20:45 [Qemu-devel] [PATCH] ich9: fix skipped vmstate_memhp_state subsection Paulo Alcantara
2015-07-14 5:32 ` Amit Shah
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.