提交 bb45e202 编写于 作者: A Avi Kivity

KVM: Future-proof device assignment ABI

Reserve some space so we can add more data.
Signed-off-by: NAvi Kivity <avi@qumranet.com>
上级 decc9016
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册