From: Tim Deegan Subject: [PATCH] Quieten the warning about paging domctls called on domains with no vcpus Date: Wed, 2 Jun 2010 11:19:00 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3222061279710119705==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============3222061279710119705== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 --===============3222061279710119705== Content-Type: text/x-patch; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen-unstable.hg.patch" # HG changeset patch # User Tim Deegan # 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. Signed-off-by: Tim Deegan diff -r b12236c25629 -r f070bf3a3d16 xen/arch/x86/mm/paging.c --- a/xen/arch/x86/mm/paging.c Wed Jun 02 11:15:31 2010 +0100 +++ b/xen/arch/x86/mm/paging.c Wed Jun 02 11:15:38 2010 +0100 @@ -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; } --===============3222061279710119705== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============3222061279710119705==--