]> xenbits.xensource.com Git - people/liuw/qemu.git/commitdiff
fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail
authorZhang Haoyu <zhanghy@sangfor.com.cn>
Thu, 5 Feb 2015 11:33:11 +0000 (19:33 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 24 Feb 2015 00:04:34 +0000 (18:04 -0600)
fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail
during incoming migration or loadvm.

Signed-off-by: Zhang Haoyu <zhanghy@sangfor.com.cn>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
(cherry picked from commit bb426311901776b95b021cece831b69dce4ef5ee)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/timer/mc146818rtc.c

index f18d1281ca7b002c1bf565bb0cedd667ed92b159..9373e18e2966ab412a8646538ddc775f398def81 100644 (file)
@@ -734,7 +734,7 @@ static int rtc_post_load(void *opaque, int version_id)
 }
 
 static const VMStateDescription vmstate_rtc_irq_reinject_on_ack_count = {
-    .name = "irq_reinject_on_ack_count",
+    .name = "mc146818rtc/irq_reinject_on_ack_count",
     .version_id = 1,
     .minimum_version_id = 1,
     .fields = (VMStateField[]) {