[RFC PATCH v2 0/6] device control and in-kernel MPIC

Scott Wood
2013-04-01T22:47:47Z

v2 addresses some requested changes, such as the use of a file descriptor
instead of an ad-hoc handle array, and the use of an enableable
IRQ-type-specific capability to bind the vcpu to a particular MPIC device
(among other things, this allows the notifier patch to go away).

Some other requested improvements, such as support for the standard
KVM_IRQ_LINE interface and splitting up the "in-kernel MPIC emulation"
patch, will be addressed in a later revision.

Scott Wood (6):
kvm: add device control API
kvm/ppc/mpic: import hw/openpic.c from QEMU
kvm/ppc/mpic: remove some obviously unneeded code
kvm/ppc/mpic: adapt to kernel style and environment
kvm/ppc/mpic: in-kernel MPIC emulation
kvm/ppc/mpic: add KVM_CAP_IRQ_MPIC

Documentation/virtual/kvm/api.txt | 78 ++
Documentation/virtual/kvm/devices/README | 1 +
Documentation/virtual/kvm/devices/mpic.txt | 37 +
arch/powerpc/include/asm/kvm_host.h | 16 +-
arch/powerpc/include/asm/kvm_ppc.h | 8 +
arch/powerpc/kvm/Kconfig | 5 +
arch/powerpc/kvm/Makefile | 2 +
arch/powerpc/kvm/booke.c | 12 +-
arch/powerpc/kvm/mpic.c | 1786 ++++++++++++++++++++++++++++
arch/powerpc/kvm/powerpc.c | 38 +-
include/linux/kvm_host.h | 2 +
include/uapi/linux/kvm.h | 37 +
virt/kvm/kvm_main.c | 40 +
13 files changed, 2052 insertions(+), 10 deletions(-)
create mode 100644 Documentation/virtual/kvm/devices/README
create mode 100644 Documentation/virtual/kvm/devices/mpic.txt
create mode 100644 arch/powerpc/kvm/mpic.c

--
1.7.9.5