summaryrefslogtreecommitdiff
path: root/include/linux/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2008-10-19 18:39:45 +0400
committerAvi Kivity <avi@redhat.com>2008-10-28 15:22:15 +0300
commitbb45e202e695dea8657bb03a01d1522c37558672 (patch)
tree529c3ca4e9947d1dc536f53d68d2eb743b4a53a9 /include/linux/kvm.h
parentdecc90162a99b4e51c534ab63f9b6fc5cb0f2596 (diff)
downloadlinux-bb45e202e695dea8657bb03a01d1522c37558672.tar.xz
KVM: Future-proof device assignment ABI
Reserve some space so we can add more data. Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r--include/linux/kvm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 797fcd781242..f18b86fa8655 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -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)