Re: [Qemu-devel] [PATCH 7/7] RTC: Allow to migrate from old QEMU

2012-07-23 Thread Paolo Bonzini
Il 23/07/2012 07:12, Juan Quintela ha scritto: > .fields = (VMStateField []) { > VMSTATE_BUFFER(cmos_data, RTCState), > VMSTATE_UINT8(cmos_index, RTCState), > VMSTATE_INT32(current_tm.tm_sec, RTCState), > VMSTATE_INT32(current_tm.tm_min, RTCState), >

Re: [Qemu-devel] [PATCH 7/7] RTC: Allow to migrate from old QEMU

2012-07-22 Thread Juan Quintela
Paolo Bonzini wrote: > From: "Zhang, Yang Z" > > The new logic is compatible with old, and it should not block migration > from old QEMU. However, the new version cannot migrate to the old one. > > Cc: Juan Quintela I guess that you removed the tm structs. This are the current fields. .f

Re: [Qemu-devel] [PATCH 7/7] RTC: Allow to migrate from old QEMU

2012-07-20 Thread Paolo Bonzini
Il 20/07/2012 19:38, Michael Roth ha scritto: >> > The new logic is compatible with old, and it should not block migration >> > from old QEMU. However, the new version cannot migrate to the old one. > Do we not plan to support 1.2 -> 1.1 with -M pc-1.1? No, we don't. That's why in general subsec

Re: [Qemu-devel] [PATCH 7/7] RTC: Allow to migrate from old QEMU

2012-07-20 Thread Michael Roth
On Fri, Jul 20, 2012 at 12:53:53PM +0200, Paolo Bonzini wrote: > From: "Zhang, Yang Z" > > The new logic is compatible with old, and it should not block migration > from old QEMU. However, the new version cannot migrate to the old one. Do we not plan to support 1.2 -> 1.1 with -M pc-1.1? I'm no

[Qemu-devel] [PATCH 7/7] RTC: Allow to migrate from old QEMU

2012-07-20 Thread Paolo Bonzini
From: "Zhang, Yang Z" The new logic is compatible with old, and it should not block migration from old QEMU. However, the new version cannot migrate to the old one. Cc: Juan Quintela Signed-off-by: Yang Zhang Signed-off-by: Paolo Bonzini --- hw/mc146818rtc.c | 42 +