Skip to contentSkip to conversation

Quieten the warning about paging domctls called on domains with no vcpus

PATCH New Tim Deegan 1 participant 1 message Jun 2, 2010

lore
Share & tools
lore

Tim Deegan

author
#0 lore raw

PATCH 1/1 Quieten the warning about paging domctls called on domains with no vcpus

Xapi tends to trigger this a lot by looking up the shadow memory allocation of domains that aren't quite built yet.

# HG changeset patch
# User Tim Deegan <[email protected]>
# Date 1275473738 -3600
# Node ID f070bf3a3d163d46139795b1e4685ad69b46fce2
# Parent b12236c2562965120e0209109a724dfac96a3d2d
Quieten the warning about paging domctls called on domains with no vcpus. Xapi tends to trigger this a lot by looking up the shadow memory allocation of domains that aren't quite built yet.

xen/arch/x86/mm/paging.c +2 -2
diff -r b12236c25629 -r f070bf3a3d16 xen/arch/x86/mm/paging.c
@@ -684,8 +684,8 @@
 
     if ( unlikely(d->vcpu == NULL) || unlikely(d->vcpu[0] == NULL) )
     {
-        PAGING_ERROR("Paging op on a domain (%u) with no vcpus\n",
-                     d->domain_id);
+        gdprintk(XENLOG_DEBUG, "Paging op on a domain (%u) with no vcpus\n",
+                 d->domain_id);
         return -EINVAL;
     }
 

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel