[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-4.1-testing] Passthrough: fix iommu_use_hap_pt() to use hap_enabled()
# HG changeset patch # User Tim Deegan <tim@xxxxxxx> # Date 1314093267 -3600 # Node ID 19c47a4d7d370b42198b6e8d04644436cd0edb33 # Parent 778723e052d5a67b4e44c8890af7e6cabb89343f Passthrough: fix iommu_use_hap_pt() to use hap_enabled() In line with 22924:86000076dcee, paging_mode_hap(d) shouldn't be used in HAP internals that are called during HAP setup. Signed-off-by: Tim Deegan <tim@xxxxxxx> xen-unstable changeset: 23789:1b77cf8305df xen-unstable date: Tue Aug 23 10:54:27 2011 +0100 --- diff -r 778723e052d5 -r 19c47a4d7d37 xen/include/xen/iommu.h --- a/xen/include/xen/iommu.h Tue Aug 23 10:43:25 2011 +0100 +++ b/xen/include/xen/iommu.h Tue Aug 23 10:54:27 2011 +0100 @@ -35,7 +35,7 @@ extern bool_t amd_iommu_perdev_intremap; /* Does this domain have a P2M table we can use as its IOMMU pagetable? */ -#define iommu_use_hap_pt(d) (paging_mode_hap(d) && iommu_hap_pt_share) +#define iommu_use_hap_pt(d) (hap_enabled(d) && iommu_hap_pt_share) extern struct rangeset *mmio_ro_ranges; _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |