aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-06-04 10:49:43 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-06-04 10:49:43 +0100
commitbc3945db557e9c72a15876b3c38f5a36a7acdece (patch)
tree64f9a09a475f6953ebedcac2588d654803a6c743
parent9625540b29b0bebdc5e5900381f641211582aaa4 (diff)
downloadxen-bc3945db557e9c72a15876b3c38f5a36a7acdece.tar.gz
xen-bc3945db557e9c72a15876b3c38f5a36a7acdece.tar.bz2
xen-bc3945db557e9c72a15876b3c38f5a36a7acdece.zip
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 <Tim.Deegan@citrix.com> xen-unstable changeset: 21513:99761f54183d xen-unstable date: Fri Jun 04 10:02:51 2010 +0100
-rw-r--r--xen/arch/x86/mm/paging.c4
1 files changed, 2 insertions, 2 deletions
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;
}