This is some cleanup. Please, comment. Thanks! Changes: v7: * cleaned up a bit of QOM use
v6: * removed kvmppc_fixup_cpu() v5: * cleanup * removed cpustate::kvm_cpu_id * split into 2 patches - new PPC API and the usage of the API Alexey Kardashevskiy (2): target-ppc: add PowerPCCPU::cpu_dt_id target-ppc: spapr: e500: fix to use cpu_dt_id hw/intc/openpic_kvm.c | 2 +- hw/intc/xics.c | 15 +++++++++++++-- hw/intc/xics_kvm.c | 10 +++++----- hw/ppc/e500.c | 7 +++++-- hw/ppc/ppc.c | 22 ++++++++++++++++++++++ hw/ppc/spapr.c | 9 +++++---- hw/ppc/spapr_hcall.c | 6 +++--- hw/ppc/spapr_rtas.c | 14 +++++++------- target-ppc/cpu-qom.h | 2 ++ target-ppc/cpu.h | 18 ++++++++++++++++++ target-ppc/kvm.c | 15 +-------------- target-ppc/kvm_ppc.h | 6 ------ target-ppc/translate_init.c | 11 +++++------ 13 files changed, 87 insertions(+), 50 deletions(-) -- 1.8.4.rc4