Skip to content

Commit

Permalink
KVM: Future-proof device assignment ABI
Browse files Browse the repository at this point in the history
Reserve some space so we can add more data.

Signed-off-by: Avi Kivity <avi@qumranet.com>
  • Loading branch information
Avi Kivity committed Oct 28, 2008
1 parent decc901 commit bb45e20
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/linux/kvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -489,13 +489,19 @@ struct kvm_assigned_pci_dev {
__u32 busnr;
__u32 devfn;
__u32 flags;
union {
__u32 reserved[12];
};
};

struct kvm_assigned_irq {
__u32 assigned_dev_id;
__u32 host_irq;
__u32 guest_irq;
__u32 flags;
union {
__u32 reserved[12];
};
};

#define KVM_DEV_ASSIGN_ENABLE_IOMMU (1 << 0)
Expand Down

0 comments on commit bb45e20

Please sign in to comment.