This is a first version of the kvmtool changes needed for GICv3 emulation. Allows testing of the GICv3 emulation code and allows creating guests with more than 8 VCPUs (given that in the host CONFIG_KVM_ARM_MAX_VCPUS and in the guest CONFIG_NR_CPUS have been raised accordingly). Use --gicv3 to create a GICv3 IRQ chip in the guest. This goes on top of Marc's kvmtool-vgic-dyn branch on kernel.org: https://git.kernel.org/cgit/linux/kernel/git/maz/arm-platforms.git/log/?h=kvm-arm64/kvmtool-vgic-dyn This is not meant for merging right now, as it eventually needs to be rebased on a more recent kvmtool version first. Cheers, Andre Andre Przywara (4): kvmtool: public header definitions from GICv3 emulation patch series kvmtool: prepare for instantiating different IRQ chip devices kvmtool: add support for supplying GICv3 redistributor addresses kvmtool: add command line parameter to instantiate a vGICv3 arch/arm64/include/uapi/asm/kvm.h | 6 ++ include/uapi/linux/kvm.h | 1 + tools/kvm/arm/aarch64/arm-cpu.c | 5 +- tools/kvm/arm/aarch64/include/kvm/kvm-arch.h | 6 ++ .../kvm/arm/aarch64/include/kvm/kvm-config-arch.h | 4 +- tools/kvm/arm/gic.c | 101 +++++++++++++++++--- tools/kvm/arm/include/arm-common/gic.h | 4 +- tools/kvm/arm/include/arm-common/kvm-arch.h | 11 ++- tools/kvm/arm/include/arm-common/kvm-config-arch.h | 1 + tools/kvm/arm/kvm-cpu.c | 4 +- tools/kvm/arm/kvm.c | 4 +- tools/kvm/virtio/mmio.c | 2 +- 12 files changed, 123 insertions(+), 26 deletions(-) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html