summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/ioapic.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2014-12-17 18:17:20 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2014-12-18 09:39:51 +0100
commitcb5281a57214581902ac06fb83f0d6ea2d440318 (patch)
tree819130dc3c459a5fcc324494eecc81960cf90e2b /arch/x86/kvm/ioapic.h
parentMerge tag 'kvm-arm-for-3.19-take2' of git://git.kernel.org/pub/scm/linux/kern... (diff)
downloadlinux-cb5281a57214581902ac06fb83f0d6ea2d440318.tar.xz
linux-cb5281a57214581902ac06fb83f0d6ea2d440318.zip
KVM: move APIC types to arch/x86/
They are not used anymore by IA64, move them away. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/ioapic.h')
-rw-r--r--arch/x86/kvm/ioapic.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/x86/kvm/ioapic.h b/arch/x86/kvm/ioapic.h
index deac8d509f2a..3c9195535ffc 100644
--- a/arch/x86/kvm/ioapic.h
+++ b/arch/x86/kvm/ioapic.h
@@ -44,6 +44,23 @@ struct rtc_status {
DECLARE_BITMAP(dest_map, KVM_MAX_VCPUS);
};
+union kvm_ioapic_redirect_entry {
+ u64 bits;
+ struct {
+ u8 vector;
+ u8 delivery_mode:3;
+ u8 dest_mode:1;
+ u8 delivery_status:1;
+ u8 polarity:1;
+ u8 remote_irr:1;
+ u8 trig_mode:1;
+ u8 mask:1;
+ u8 reserve:7;
+ u8 reserved[4];
+ u8 dest_id;
+ } fields;
+};
+
struct kvm_ioapic {
u64 base_address;
u32 ioregsel;