mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
KVM: Future-proof device assignment ABI
Reserve some space so we can add more data. Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
parent
decc90162a
commit
bb45e202e6
1 changed files with 6 additions and 0 deletions
|
@ -489,6 +489,9 @@ struct kvm_assigned_pci_dev {
|
|||
__u32 busnr;
|
||||
__u32 devfn;
|
||||
__u32 flags;
|
||||
union {
|
||||
__u32 reserved[12];
|
||||
};
|
||||
};
|
||||
|
||||
struct kvm_assigned_irq {
|
||||
|
@ -496,6 +499,9 @@ struct kvm_assigned_irq {
|
|||
__u32 host_irq;
|
||||
__u32 guest_irq;
|
||||
__u32 flags;
|
||||
union {
|
||||
__u32 reserved[12];
|
||||
};
|
||||
};
|
||||
|
||||
#define KVM_DEV_ASSIGN_ENABLE_IOMMU (1 << 0)
|
||||
|
|
Loading…
Reference in a new issue