[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [QEMU RFC PATCH v2 0/6] Migration: ensure hotplug and migrati

From: Jianjun Duan
Subject: [Qemu-ppc] [QEMU RFC PATCH v2 0/6] Migration: ensure hotplug and migration work together
Date: Tue, 24 May 2016 10:55:03 -0700

v2: - Introduce a general approach to migrate QTAILQ in qemu/queue.h.
    - Migrate signalled field in the DRC state.
    - Put the newly added migrating fields in subsections so that backward 
migration is not broken.  
    - Set detach_cb field right after migration so that a migrated hot-unplug 
event could finish its course.

v1: - Inital version.
(link: https://lists.nongnu.org/archive/html/qemu-devel/2016-04/msg02601.html)

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. 

Alexey Kardashevskiy (1):
  vmstate: Define VARRAY with VMS_ALLOC

Jianjun Duan (5):
  spapr: ensure device trees are always associated with DRC
  Migration: Defined VMStateDescription struct for spapr_drc
  Migration: migrate QTAILQ
  Migration: migrate ccs_list in spapr state
  Migration: migrate pending_events of spapr state

 hw/ppc/spapr.c              | 92 ++++++++++++++++++++++++++++++++++++++++-----
 hw/ppc/spapr_drc.c          | 61 ++++++++++++++++++++++++++++++
 hw/ppc/spapr_events.c       | 22 ++++++-----
 hw/ppc/spapr_pci.c          | 34 +++++++++++++----
 include/hw/ppc/spapr.h      |  3 +-
 include/hw/ppc/spapr_drc.h  |  9 +++++
 include/migration/vmstate.h | 69 ++++++++++++++++++++++++++++++++++
 include/qemu/queue.h        | 38 +++++++++++++++++++
 migration/vmstate.c         | 84 +++++++++++++++++++++++++++++++++++++++++
 9 files changed, 385 insertions(+), 27 deletions(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]