]> xenbits.xensource.com Git - xen.git/commit
passthrough: amd: Remove domain_id from hvm_iommu
authorJulien Grall <julien.grall@linaro.org>
Wed, 14 May 2014 08:47:02 +0000 (10:47 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 14 May 2014 08:47:02 +0000 (10:47 +0200)
commite91b65382425113772445f78c1a223fc1e6b7dbf
treea6c4d87b20767492cfeccc55b9b4a30482d9bcb1
parent11dba84796d852123da9d47f63b06aedaf9eeb01
passthrough: amd: Remove domain_id from hvm_iommu

The structure hvm_iommu contains a shadow value of domain->domain_id. There
is no reason to not directly use domain->domain_id.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
xen/drivers/passthrough/amd/iommu_cmd.c
xen/drivers/passthrough/amd/iommu_map.c
xen/drivers/passthrough/amd/pci_amd_iommu.c
xen/include/xen/hvm/iommu.h