aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Deegan <tim@xen.org>2011-08-26 13:24:48 +0100
committerTim Deegan <tim@xen.org>2011-08-26 13:24:48 +0100
commiteacb075f65ca88c0ef17d672527733257ba96589 (patch)
tree48afacc5ecaeb17ad9b60cd75f31e09546e27448
parent13b5915eacaf42bb00f04aeba907f5d91d5a3e14 (diff)
downloadxen-eacb075f65ca88c0ef17d672527733257ba96589.tar.gz
xen-eacb075f65ca88c0ef17d672527733257ba96589.tar.bz2
xen-eacb075f65ca88c0ef17d672527733257ba96589.zip
x86/mm: Add iommu=sharept parameter for compatibility with 4.2
Signed-off-by: Tim Deegan <tim@xen.org>
-rw-r--r--xen/drivers/passthrough/iommu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/drivers/passthrough/iommu.c b/xen/drivers/passthrough/iommu.c
index 13eece0277..9ac0d4e081 100644
--- a/xen/drivers/passthrough/iommu.c
+++ b/xen/drivers/passthrough/iommu.c
@@ -82,6 +82,8 @@ static void __init parse_iommu_param(char *s)
iommu_passthrough = 1;
else if ( !strcmp(s, "dom0-strict") )
iommu_dom0_strict = 1;
+ else if ( !strcmp(s, "sharept") )
+ iommu_hap_pt_share = 1;
s = ss + 1;
} while ( ss );