Another try with XICS-KVM. The main change is this adds "xics-common" parent for emulated XICS and XICS-KVM. And many, many small changes, mostly to address Andreas comments.
Migration from XICS to XICS-KVM and vice versa still works. Alexey Kardashevskiy (4): xics: add pre_save/post_load/cpu_setup dispatchers xics: move registration of global state to realize() xics: minor changes and cleanups xics: split to xics and xics-common David Gibson (2): target-ppc: Add helper for KVM_PPC_RTAS_DEFINE_TOKEN xics-kvm: Support for in-kernel XICS interrupt controller default-configs/ppc64-softmmu.mak | 1 + hw/intc/Makefile.objs | 1 + hw/intc/xics.c | 280 ++++++++++++++++------ hw/intc/xics_kvm.c | 479 ++++++++++++++++++++++++++++++++++++++ hw/ppc/spapr.c | 27 ++- include/hw/ppc/xics.h | 68 +++++- target-ppc/kvm.c | 14 ++ target-ppc/kvm_ppc.h | 7 + 8 files changed, 803 insertions(+), 74 deletions(-) create mode 100644 hw/intc/xics_kvm.c -- 1.8.3.2