KVM: x86: Split the APIC from the rest of IRQCHIP.
authorSteve Rutherford <srutherford@google.com>
Thu, 30 Jul 2015 06:21:40 +0000 (23:21 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Oct 2015 13:06:26 +0000 (15:06 +0200)
commit49df6397edfc5a8ba8ca813b51fb9729d8e94b40
treeb5cb29a28fff01c9c85c4f02961164532fa241b2
parent4ca7dd8ce4b24e18f94eed90e80c6eb80fb48c9a
KVM: x86: Split the APIC from the rest of IRQCHIP.

First patch in a series which enables the relocation of the
PIC/IOAPIC to userspace.

Adds capability KVM_CAP_SPLIT_IRQCHIP;

KVM_CAP_SPLIT_IRQCHIP enables the construction of LAPICs without the
rest of the irqchip.

Compile tested for x86.

Signed-off-by: Steve Rutherford <srutherford@google.com>
Suggested-by: Andrew Honig <ahonig@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Documentation/virtual/kvm/api.txt
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/i8254.c
arch/x86/kvm/ioapic.h
arch/x86/kvm/irq.h
arch/x86/kvm/irq_comm.c
arch/x86/kvm/lapic.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h
include/uapi/linux/kvm.h