projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50fe6e7
)
pvh dom0: allow get_pg_owner for translated domains if pvh
author
Mukesh Rathor
<mukesh.rathor@oracle.com>
Mon, 2 Jun 2014 08:31:49 +0000
(10:31 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Mon, 2 Jun 2014 08:31:49 +0000
(10:31 +0200)
When creating a PV guest, toolstack on pvh dom0 will do_mmuext_op
to pin guest tables. do_mmuext_op calls get_pg_owner, which must allow
foreign mappings for pvh.
Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
xen/arch/x86/mm.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/mm.c
b/xen/arch/x86/mm.c
index dd8d98c07adb1987cff08245440a2d2ab0cd1893..2543916c688407c87c283ea78b42f60c1e9a4b1f 100644
(file)
--- a/
xen/arch/x86/mm.c
+++ b/
xen/arch/x86/mm.c
@@
-2811,7
+2811,7
@@
static struct domain *get_pg_owner(domid_t domid)
goto out;
}
- if ( unlikely(paging_mode_translate(curr)) )
+ if (
!is_pvh_domain(curr) &&
unlikely(paging_mode_translate(curr)) )
{
MEM_LOG("Cannot mix foreign mappings with translated domains");
goto out;