From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvkfV-0003QM-AN for qemu-devel@nongnu.org; Fri, 22 May 2015 06:59:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YvkfQ-0000tt-Di for qemu-devel@nongnu.org; Fri, 22 May 2015 06:59:09 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:61165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YvkfQ-0000tR-7p for qemu-devel@nongnu.org; Fri, 22 May 2015 06:59:04 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NOQ009R8ZUCPX10@mailout2.w1.samsung.com> for qemu-devel@nongnu.org; Fri, 22 May 2015 11:59:00 +0100 (BST) From: Pavel Fedin Date: Fri, 22 May 2015 13:58:40 +0300 Message-id: Subject: [Qemu-devel] [PATCH RFC 0/4] vGICv3 support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Shlomo Pongratz , Pavel Fedin , Ashok Kumar , Eric Auger This is my alternative to Ashok's vGICv3 patch (https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg03021.html), which i am currently working on. It addresses vGIC capability verification issue (kvm_irqchip_create() / kvm_arch_irqchip_create()), as well as offers better code structure (v3 code separated from v2). This patchset applies on top of this: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg00943.html. Note that GIC type selection still relies on machine name (virt-v3 vs virt), and not on machine option. Since libvirt has recently introduced support for extra options, i have absolutely nothing against Ashok's approach. I just did not change this yet because it would affect my testing environment. The aim of this RFC is to focus on vGICv3 implementation and related changes. And yes, i agree that v2 and v3 now have some copypasted code, and this is TBD. Pavel Fedin (4): Add virt-v3 machine that uses GIC-500 Set kernel_irqchip_type for other ARM boards which use GIC First bits of vGICv3 support: Initial implementation of vGICv3. hw/arm/exynos4_boards.c | 1 + hw/arm/realview.c | 1 + hw/arm/vexpress.c | 1 + hw/arm/virt.c | 148 ++++++++++++++++++++----- hw/intc/Makefile.objs | 1 + hw/intc/arm_gicv3_kvm.c | 283 ++++++++++++++++++++++++++++++++++++++++++++++++ include/hw/boards.h | 1 + include/sysemu/kvm.h | 3 +- kvm-all.c | 2 +- stubs/kvm.c | 2 +- target-arm/kvm.c | 8 +- 11 files changed, 419 insertions(+), 32 deletions(-) create mode 100644 hw/intc/arm_gicv3_kvm.c -- 1.9.5.msysgit.0