]> xenbits.xensource.com Git - xen.git/commitdiff
x86: Quieten the warning about paging domctls called on domains with no vcpus
authorKeir Fraser <keir.fraser@citrix.com>
Fri, 4 Jun 2010 09:02:51 +0000 (10:02 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Fri, 4 Jun 2010 09:02:51 +0000 (10:02 +0100)
Xapi tends to trigger this a lot by looking up the shadow memory
allocation of domains that aren't quite built yet.

Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/mm/paging.c

index e1a4716b21a32a6da55cdf972ce8825145a5a23d..2cadef8e94de04969c2ea015f9d58a4ed99560ea 100644 (file)
@@ -684,8 +684,8 @@ int paging_domctl(struct domain *d, xen_domctl_shadow_op_t *sc,
 
     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;
     }