From: Keir Fraser Date: Fri, 4 Jun 2010 09:02:51 +0000 (+0100) Subject: x86: Quieten the warning about paging domctls called on domains with no vcpus X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~12030 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2832d9e24c110bd1192972662c3b98ee06cc71ed;p=xen.git x86: 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. Signed-off-by: Tim Deegan --- diff --git a/xen/arch/x86/mm/paging.c b/xen/arch/x86/mm/paging.c index e1a4716b21..2cadef8e94 100644 --- a/xen/arch/x86/mm/paging.c +++ b/xen/arch/x86/mm/paging.c @@ -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; }