This sixth set of DRC cleanup patches (to be applied on top of the patches from part V) is a complete rework of DRC state management. We stop tracking some unnecessary things, and change the basic state representation to a simpler and more robust model.
Most of the patches in this set "break" migration from earlier git snapshots, but not from any released qemu version. The previous migration stream format had multiple problems, so better to fix them now, before 2.10 is out. David Gibson (5): spapr: Remove 'awaiting_allocation' DRC flag spapr: Refactor spapr_drc_detach() spapr: Cleanups relating to DRC awaiting_release field spapr: Consolidate DRC state variables spapr: Remove sPAPRConfigureConnectorState sub-structure hw/ppc/spapr.c | 9 +- hw/ppc/spapr_drc.c | 321 +++++++++++++++++++++------------------------ hw/ppc/spapr_pci.c | 13 +- hw/ppc/trace-events | 3 +- include/hw/ppc/spapr_drc.h | 53 +++++--- 5 files changed, 187 insertions(+), 212 deletions(-) -- 2.9.4