Received: from eggs.gnu.org ([2001:4830:134:3::10]:49416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vieaw-0005Pq-JX for qemu-devel@nongnu.org; Tue, 19 Nov 2013 01:15:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vieaq-0004Jy-86 for qemu-devel@nongnu.org; Tue, 19 Nov 2013 01:15:30 -0500 Received: from mail-pa0-f47.google.com ([209.85.220.47]:43264) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vieaq-0004Iz-1t for qemu-devel@nongnu.org; Tue, 19 Nov 2013 01:15:24 -0500 Received: by mail-pa0-f47.google.com with SMTP id kq14so3301982pab.20 for ; Mon, 18 Nov 2013 22:15:23 -0800 (PST) From: Christoffer Dall Date: Mon, 18 Nov 2013 22:16:32 -0800 Message-Id: <1384841796-19437-1-git-send-email-christoffer.dall@linaro.org> Subject: [Qemu-devel] [RFC PATCH v3 0/4] Create ARM KVM VGIC with device control API List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kvmarm@lists.cs.columbia.edu, Christoffer Dall , patches@linaro.org This patch series adds generic support for issuing device control related ioctls and supports creating the ARM KVM-accelerated VGIC using the device control API while maintaining backwards compatibility for older kernels. This is an RFC patch set because it relies on kernel header changes that are not yet upstream. Changelogs in the individual patches. The patch series based on qemu/master can be found here: git://git.linaro.org/people/cdall/qemu-arm.git migration/device-ctrl-v3 Christoffer Dall (4): kvm: Update headers for device control api kvm: Introduce kvm_arch_irqchip_create kvm: Common device control API functions arm: vgic device control api support hw/intc/arm_gic_kvm.c | 22 ++++++++++++++-- include/hw/intc/arm_gic_common.h | 1 + include/sysemu/kvm.h | 34 +++++++++++++++++++++++++ kvm-all.c | 50 ++++++++++++++++++++++++++++++++++-- linux-headers/asm-arm/kvm.h | 8 ++++++ linux-headers/linux/kvm.h | 5 ++++ stubs/Makefile.objs | 1 + stubs/kvm.c | 7 +++++ target-arm/kvm.c | 55 +++++++++++++++++++++++++++++++++++----- target-arm/kvm_arm.h | 17 ++++++++----- trace-events | 1 + 11 files changed, 184 insertions(+), 17 deletions(-) create mode 100644 stubs/kvm.c -- 1.8.4.3