]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
KVM: Future-proof device assignment ABI
authorAvi Kivity <avi@redhat.com>
Sun, 19 Oct 2008 14:39:45 +0000 (16:39 +0200)
committerAvi Kivity <avi@redhat.com>
Tue, 28 Oct 2008 12:22:15 +0000 (14:22 +0200)
Reserve some space so we can add more data.

Signed-off-by: Avi Kivity <avi@qumranet.com>
include/linux/kvm.h

index 797fcd7812420596f10f4a768b6641e6277455dc..f18b86fa86553ba02ef8cb2df0b61ac116c4fdf5 100644 (file)
@@ -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)