Commit bb45e202 authored by Avi Kivity's avatar Avi Kivity

KVM: Future-proof device assignment ABI

Reserve some space so we can add more data.
Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent decc9016
...@@ -489,6 +489,9 @@ struct kvm_assigned_pci_dev { ...@@ -489,6 +489,9 @@ struct kvm_assigned_pci_dev {
__u32 busnr; __u32 busnr;
__u32 devfn; __u32 devfn;
__u32 flags; __u32 flags;
union {
__u32 reserved[12];
};
}; };
struct kvm_assigned_irq { struct kvm_assigned_irq {
...@@ -496,6 +499,9 @@ struct kvm_assigned_irq { ...@@ -496,6 +499,9 @@ struct kvm_assigned_irq {
__u32 host_irq; __u32 host_irq;
__u32 guest_irq; __u32 guest_irq;
__u32 flags; __u32 flags;
union {
__u32 reserved[12];
};
}; };
#define KVM_DEV_ASSIGN_ENABLE_IOMMU (1 << 0) #define KVM_DEV_ASSIGN_ENABLE_IOMMU (1 << 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment