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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1266864369 0
# Node ID 50f7b55b69fc962fdbcc33a0e9ad0e197a385b3a
# Parent  2e7dc3421a523dc64981861ffcd77a968931871f
Disable memory mapping warnings when stub domain is used.

Signed-off-by: Daniel Kiper <dkiper@xxxxxxxxxxxx>
---
 xen/arch/x86/mm/shadow/common.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff -r 2e7dc3421a52 -r 50f7b55b69fc xen/arch/x86/mm/shadow/common.c
--- a/xen/arch/x86/mm/shadow/common.c   Mon Feb 22 18:42:50 2010 +0000
+++ b/xen/arch/x86/mm/shadow/common.c   Mon Feb 22 18:46:09 2010 +0000
@@ -2607,9 +2607,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®.