Re: [Qemu-devel] [PATCH 0/5] migration: ensure hotplug and migration work together
On Fri, Apr 15, 2016 at 01:33:00PM -0700, Jianjun Duan wrote: > To make guest device (PCI, CPU and memory) hotplug work together > with guest migration, spapr drc state needs be transmitted in > migration. This patch defines the VMStateDescription struct for > spapr drc state to enable it. > > To fix the potential racing between hotplug events on guest and > guest migration, ccs_list and pending_events of spapr state need be > transmitted in migration. This patch also takes care of it. > Especially, temporary cache is used for each of them to enable the > transmission. Hmm, so this will certainly have to be for 2.7 at this stage. I have some concerns that I'll comment on in the individual patches. -- David Gibson| I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson signature.asc Description: PGP signature
[Qemu-devel] [PATCH 0/5] migration: ensure hotplug and migration work together
To make guest device (PCI, CPU and memory) hotplug work together with guest migration, spapr drc state needs be transmitted in migration. This patch defines the VMStateDescription struct for spapr drc state to enable it. To fix the potential racing between hotplug events on guest and guest migration, ccs_list and pending_events of spapr state need be transmitted in migration. This patch also takes care of it. Especially, temporary cache is used for each of them to enable the transmission. Alexey Kardashevskiy (1): vmstate: Define VARRAY with VMS_ALLOC Jianjun Duan (4): spapr: ensure device trees are always associated with DRC Migration: Defined VMStateDescription struct for spapr_drc Migration: migrate ccs_list in spapr state Migration: migrate pending_events of spapr state hw/ppc/spapr.c | 129 hw/ppc/spapr_drc.c | 15 ++ hw/ppc/spapr_events.c | 24 + hw/ppc/spapr_pci.c | 12 ++--- hw/ppc/spapr_rtas.c | 2 + include/hw/ppc/spapr.h | 25 - include/migration/vmstate.h | 18 ++- 7 files changed, 196 insertions(+), 29 deletions(-) -- 1.9.1