diff options
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r-- | include/linux/kvm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index 44fd7fa0af2b..bb283c388a24 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h | |||
@@ -507,10 +507,17 @@ struct kvm_assigned_irq { | |||
507 | __u32 guest_irq; | 507 | __u32 guest_irq; |
508 | __u32 flags; | 508 | __u32 flags; |
509 | union { | 509 | union { |
510 | struct { | ||
511 | __u32 addr_lo; | ||
512 | __u32 addr_hi; | ||
513 | __u32 data; | ||
514 | } guest_msi; | ||
510 | __u32 reserved[12]; | 515 | __u32 reserved[12]; |
511 | }; | 516 | }; |
512 | }; | 517 | }; |
513 | 518 | ||
514 | #define KVM_DEV_ASSIGN_ENABLE_IOMMU (1 << 0) | 519 | #define KVM_DEV_ASSIGN_ENABLE_IOMMU (1 << 0) |
515 | 520 | ||
521 | #define KVM_DEV_IRQ_ASSIGN_ENABLE_MSI (1 << 0) | ||
522 | |||
516 | #endif | 523 | #endif |