[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.4-testing] Disable memory mapping warnings when stub domain is used.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1266864691 0
# Node ID e96ed5ebfdf6d32dd3dc5d55a587df335d60bb8f
# Parent  ea8425a5313c45be39a7c852e864634d64c75b21
Disable memory mapping warnings when stub domain is used.

Signed-off-by: Daniel Kiper <dkiper@xxxxxxxxxxxx>
xen-unstable changeset:   20966:50f7b55b69fc
xen-unstable date:        Mon Feb 22 18:46:09 2010 +0000
---
 xen/arch/x86/mm/shadow/common.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -r ea8425a5313c -r e96ed5ebfdf6 xen/arch/x86/mm/shadow/common.c
--- a/xen/arch/x86/mm/shadow/common.c   Mon Feb 22 18:50:56 2010 +0000
+++ b/xen/arch/x86/mm/shadow/common.c   Mon Feb 22 18:51:31 2010 +0000
@@ -2584,9 +2584,11 @@ int sh_remove_all_mappings(struct vcpu *
     {
         /* Don't complain if we're in HVM and there are some extra mappings: 
          * The qemu helper process has an untyped mapping of this dom's RAM 
-         * and the HVM restore program takes another. */
+         * and the HVM restore program takes another. Additionally, if stub
+         * domain is active then it also has an untyped mapping of original
+         * domain's RAM. */
         if ( !(shadow_mode_external(v->domain)
-               && (page->count_info & PGC_count_mask) <= 3
+               && (page->count_info & PGC_count_mask) <= 4
                && (page->u.inuse.type_info & PGT_count_mask) == 0) )
         {
             SHADOW_ERROR("can't find all mappings of mfn %lx: "

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.