[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Passthrough: fix iommu_use_hap_pt() to use hap_enabled()
# HG changeset patch # User Tim Deegan <tim@xxxxxxx> # Date 1314093267 -3600 # Node ID 1b77cf8305df0fa27acd0701f6dfbf5acbffb238 # Parent 9d2a8912597dba29e57a3e4db0a98f1f6c73168d 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> --- diff -r 9d2a8912597d -r 1b77cf8305df 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 |