projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
960265f
)
x86/p2m-pt: ignore pt-share flag for shadow mode guests
author
Jan Beulich
<jbeulich@suse.com>
Tue, 29 Sep 2015 11:56:03 +0000
(13:56 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Tue, 29 Sep 2015 11:56:03 +0000
(13:56 +0200)
There is no page table sharing in shadow mode.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
xen/arch/x86/mm/p2m-pt.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm/p2m-pt.c
b/xen/arch/x86/mm/p2m-pt.c
index 5be6212e3068b0dd34f16a918720aa93cb6abac1..e61d5033d38e6270eb29ebae1f08e2803a568adf 100644
(file)
--- a/
xen/arch/x86/mm/p2m-pt.c
+++ b/
xen/arch/x86/mm/p2m-pt.c
@@
-647,7
+647,7
@@
p2m_pt_set_entry(struct p2m_domain *p2m, unsigned long gfn, mfn_t mfn,
if ( iommu_enabled && need_iommu(p2m->domain) )
{
- if ( iommu_
hap_pt_share
)
+ if ( iommu_
use_hap_pt(p2m->domain)
)
{
if ( old_mfn && (old_mfn != mfn_x(mfn)) )
amd_iommu_flush_pages(p2m->domain, gfn, page_order);