These are the two patches to QEMU which are needed for GIC support and which I haven't sent to qemu-devel. I'm posting them to this list purely for code-review purposes, since they (and the refactoring patches they depend on) are already in qemu-devel. Peter Maydell (2): hw/arm_gic: Add presave/postload hooks hw/kvm/arm_gic: Implement support for KVM in-kernel ARM GIC Makefile.target | 1 + hw/a15mpcore.c | 8 ++- hw/arm_gic_common.c | 10 +++ hw/arm_gic_internal.h | 2 + hw/kvm/arm_gic.c | 154 +++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 174 insertions(+), 1 deletions(-) create mode 100644 hw/kvm/arm_gic.c