Re: [Qemu-devel] [PATCH] fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail

2015-02-05 Thread Juan Quintela
Zhang Haoyu zhan...@sangfor.com.cn wrote: fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail during incoming migration or loadvm. Signed-off-by: Zhang Haoyu zhan...@sangfor.com.cn --- hw/timer/mc146818rtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [Qemu-devel] [PATCH] fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail

2015-02-05 Thread Juan Quintela
Paolo Bonzini pbonz...@redhat.com wrote: On 05/02/2015 12:33, Zhang Haoyu wrote: fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail during incoming migration or loadvm. Signed-off-by: Zhang Haoyu zhan...@sangfor.com.cn --- hw/timer/mc146818rtc.c | 2 +- 1 file

Re: [Qemu-devel] [PATCH] fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail

2015-02-05 Thread Paolo Bonzini
On 05/02/2015 13:49, Juan Quintela wrote: It would be nice if registering a subsection automatically caught wrongly-named ones... You are right here. THere is another check that I would like, that we only have subsections at the top livel. You mean not inside structs? IIRC that

Re: [Qemu-devel] [PATCH] fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail

2015-02-05 Thread Paolo Bonzini
On 05/02/2015 12:33, Zhang Haoyu wrote: fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail during incoming migration or loadvm. Signed-off-by: Zhang Haoyu zhan...@sangfor.com.cn --- hw/timer/mc146818rtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[Qemu-devel] [PATCH] fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail

2015-02-05 Thread Zhang Haoyu
fix mc146818rtc wrong subsection name to avoid vmstate_subsection_load() fail during incoming migration or loadvm. Signed-off-by: Zhang Haoyu zhan...@sangfor.com.cn --- hw/timer/mc146818rtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/timer/mc146818rtc.c