Re: [Qemu-devel] [PATCH v3 3/7] qom/cpu: move apic vmstate register into x86_cpu_apic_realize

2015-01-29 Thread Igor Mammedov
On Wed, 14 Jan 2015 15:27:26 +0800 Zhu Guihua wrote: > From: Gu Zheng > > move apic vmstate register into x86_cpu_apic_realize, and use > cc->get_arch_id as the instance id to avoid using the auto-id which will > break the migration if we add device not in order. the same migration issue as in

[Qemu-devel] [PATCH v3 3/7] qom/cpu: move apic vmstate register into x86_cpu_apic_realize

2015-01-13 Thread Zhu Guihua
From: Gu Zheng move apic vmstate register into x86_cpu_apic_realize, and use cc->get_arch_id as the instance id to avoid using the auto-id which will break the migration if we add device not in order. Signed-off-by: Gu Zheng Signed-off-by: Zhu Guihua --- hw/intc/apic_common.c | 3 +-