Having merged my first batch of cleanups for the DRC code, this series contains a second batch.
This adds the long-discussed QOM subtypes for different PAPR DRC types. It still only makes partial use of the QOM type structure, but it's a start. It also removes the artificial separation between configure-connector and DRC state, which simplifies a number of things. David Gibson (5): spapr: Introduce DRC subclasses spapr: Clean up spapr_dr_connector_by_*() spapr: Move configure-connector state into DRC spapr: Eliminate spapr_drc_get_type_str() spapr: Remove some non-useful properties on DRC objects hw/ppc/spapr.c | 37 +++--- hw/ppc/spapr_drc.c | 275 +++++++++++++++++++-------------------------- hw/ppc/spapr_events.c | 2 +- hw/ppc/spapr_pci.c | 9 +- include/hw/ppc/spapr.h | 14 --- include/hw/ppc/spapr_drc.h | 60 +++++++++- 6 files changed, 189 insertions(+), 208 deletions(-) -- 2.9.4