Avi/Marcelo Please include this in a branch in qemu-kvm, for future inclusion in qemu.git
This is basically the same thing that was sitting in staging for weeks, just with a build bug fix on non-x86 hosts. Glauber Costa (9): introduce VMSTATE_U64 Provide ioapic-kvm provide apic_set_irq_delivered provide i8259-kvm Don't call apic functions directly from kvm code export kvm_put_mp_state provide apic-kvm Initialize in-kernel irqchip Do GSI routing Makefile.target | 2 + hw/apic-kvm.c | 157 ++++++++++++++++++++++++++++++++++++++++++++ hw/apic.c | 5 ++ hw/hw.h | 24 +++++++ hw/i8259-kvm.c | 112 +++++++++++++++++++++++++++++++ hw/ioapic-kvm.c | 89 +++++++++++++++++++++++++ hw/pc.c | 21 +++++- hw/pc.h | 6 ++ kvm-all.c | 47 +++++++++++++- kvm.h | 16 +++++ savevm.c | 23 +++++++ target-i386/cpu.h | 9 +++ target-i386/kvm.c | 188 +++++++++++++++++++++++++++++++++++++++++++++++++++-- target-ppc/kvm.c | 5 ++ 14 files changed, 693 insertions(+), 11 deletions(-) create mode 100644 hw/apic-kvm.c create mode 100644 hw/i8259-kvm.c create mode 100644 hw/ioapic-kvm.c