aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/ioapic.h
diff options
context:
space:
mode:
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 {
44 DECLARE_BITMAP(dest_map, KVM_MAX_VCPUS); 44 DECLARE_BITMAP(dest_map, KVM_MAX_VCPUS);
45}; 45};
46 46
47union kvm_ioapic_redirect_entry {
48 u64 bits;
49 struct {
50 u8 vector;
51 u8 delivery_mode:3;
52 u8 dest_mode:1;
53 u8 delivery_status:1;
54 u8 polarity:1;
55 u8 remote_irr:1;
56 u8 trig_mode:1;
57 u8 mask:1;
58 u8 reserve:7;
59 u8 reserved[4];
60 u8 dest_id;
61 } fields;
62};
63
47struct kvm_ioapic { 64struct kvm_ioapic {
48 u64 base_address; 65 u64 base_address;
49 u32 ioregsel; 66 u32 ioregsel;