diff options
author | Steve Rutherford <srutherford@google.com> | 2015-07-29 23:21:40 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-10-01 15:06:26 +0200 |
commit | 49df6397edfc5a8ba8ca813b51fb9729d8e94b40 (patch) | |
tree | b5cb29a28fff01c9c85c4f02961164532fa241b2 /arch/x86/include | |
parent | 4ca7dd8ce4b24e18f94eed90e80c6eb80fb48c9a (diff) | |
download | op-kernel-dev-49df6397edfc5a8ba8ca813b51fb9729d8e94b40.zip op-kernel-dev-49df6397edfc5a8ba8ca813b51fb9729d8e94b40.tar.gz |
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>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_host.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h index a0ef289..befcf55 100644 --- a/arch/x86/include/asm/kvm_host.h +++ b/arch/x86/include/asm/kvm_host.h @@ -684,6 +684,8 @@ struct kvm_arch { u32 bsp_vcpu_id; u64 disabled_quirks; + + bool irqchip_split; }; struct kvm_vm_stat { |