diff options
author | Jan Beulich <jbeulich@suse.com> | 2013-01-07 12:49:24 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-01-07 12:49:24 +0100 |
commit | 28dff37a135710ece0d745b153a0f17d9b3c0e05 (patch) | |
tree | c3832353ebb274ff61fb89d6ef703dcb288ec237 /xen/include/xen/iommu.h | |
parent | dca9a796edd522591faa2f69c345110243fa2d93 (diff) | |
download | xen-28dff37a135710ece0d745b153a0f17d9b3c0e05.tar.gz xen-28dff37a135710ece0d745b153a0f17d9b3c0e05.tar.bz2 xen-28dff37a135710ece0d745b153a0f17d9b3c0e05.zip |
IOMMU: adjust (re)assign operation parameters
... to use a (struct pci_dev *, devfn) pair.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: "Zhang, Xiantao" <xiantao.zhang@intel.com>
Diffstat (limited to 'xen/include/xen/iommu.h')
-rw-r--r-- | xen/include/xen/iommu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h index d47713759c..30eec551bc 100644 --- a/xen/include/xen/iommu.h +++ b/xen/include/xen/iommu.h @@ -97,13 +97,13 @@ struct iommu_ops { int (*add_device)(struct pci_dev *pdev); int (*enable_device)(struct pci_dev *pdev); int (*remove_device)(struct pci_dev *pdev); - int (*assign_device)(struct domain *d, u16 seg, u8 bus, u8 devfn); + int (*assign_device)(struct domain *, u8 devfn, struct pci_dev *); void (*teardown)(struct domain *d); int (*map_page)(struct domain *d, unsigned long gfn, unsigned long mfn, unsigned int flags); int (*unmap_page)(struct domain *d, unsigned long gfn); int (*reassign_device)(struct domain *s, struct domain *t, - u16 seg, u8 bus, u8 devfn); + u8 devfn, struct pci_dev *); int (*get_device_group_id)(u16 seg, u8 bus, u8 devfn); void (*update_ire_from_apic)(unsigned int apic, unsigned int reg, unsigned int value); void (*update_ire_from_msi)(struct msi_desc *msi_desc, struct msi_msg *msg); |