|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Disable pagetable pinning for shadow-mode-refcount guest
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 066ac36725f3993967425f4d5114605fab8e96c2
# Parent f84d5cdd9895206af83fbe7798f026b140e7b68f
Disable pagetable pinning for shadow-mode-refcount guests.
Signed-off-by: Steven Smith <sos22@xxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
diff -r f84d5cdd9895 -r 066ac36725f3 xen/arch/x86/mm.c
--- a/xen/arch/x86/mm.c Thu Feb 23 13:43:45 2006
+++ b/xen/arch/x86/mm.c Thu Feb 23 13:50:00 2006
@@ -1776,7 +1776,7 @@
pin_page:
if ( shadow_mode_refcounts(FOREIGNDOM) )
- type = PGT_writable_page;
+ break;
okay = get_page_and_type_from_pagenr(mfn, type, FOREIGNDOM);
if ( unlikely(!okay) )
@@ -1811,6 +1811,9 @@
goto pin_page;
case MMUEXT_UNPIN_TABLE:
+ if ( shadow_mode_refcounts(d) )
+ break;
+
if ( unlikely(!(okay = get_page_from_pagenr(mfn, d))) )
{
MEM_LOG("Mfn %lx bad domain (dom=%p)",
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Disable pagetable pinning for shadow-mode-refcount guests.,
Xen patchbot -unstable <=
|
|
|
|
|