From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPHfi-0001tz-8h for qemu-devel@nongnu.org; Thu, 26 Sep 2013 15:56:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPHfb-00064g-03 for qemu-devel@nongnu.org; Thu, 26 Sep 2013 15:56:22 -0400 Received: from mail-pd0-f177.google.com ([209.85.192.177]:36696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPHfa-00064Z-QF for qemu-devel@nongnu.org; Thu, 26 Sep 2013 15:56:14 -0400 Received: by mail-pd0-f177.google.com with SMTP id y10so1602856pdj.36 for ; Thu, 26 Sep 2013 12:56:12 -0700 (PDT) From: Christoffer Dall Date: Thu, 26 Sep 2013 12:56:09 -0700 Message-Id: <1380225373-22132-1-git-send-email-christoffer.dall@linaro.org> Subject: [Qemu-devel] [RFC PATCH v2 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. 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 +++++++++++++++-- hw/intc/gic_internal.h | 1 + include/sysemu/kvm.h | 34 ++++++++++++++++++++++++++ kvm-all.c | 50 +++++++++++++++++++++++++++++++++++++-- linux-headers/asm-arm/kvm.h | 8 +++++++ linux-headers/linux/kvm.h | 1 + stubs/Makefile.objs | 1 + stubs/kvm.c | 7 ++++++ target-arm/kvm.c | 55 +++++++++++++++++++++++++++++++++++++------ target-arm/kvm_arm.h | 18 +++++++++----- trace-events | 1 + 11 files changed, 181 insertions(+), 17 deletions(-) create mode 100644 stubs/kvm.c -- 1.7.10.4