WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] How to query the number of vcpus?

To: Ryan Harper <ryanh@xxxxxxxxxx>
Subject: Re: [Xen-devel] How to query the number of vcpus?
From: Kip Macy <kip.macy@xxxxxxxxx>
Date: Fri, 29 Apr 2005 13:24:08 -0700
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 29 Apr 2005 20:23:50 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YluwoCG9fHeETGAdgkSm9xH16XShlr5ZA26vLBynaAnxF635gxMmBFbjUNQDtG4/j6uNz5g/CPIdtOd2QAlK/cCXUMQsGCIfYuTlkp13g8btphal71rqh+0uirBQHbRf5+oQaIHbujKTq3q7Uk58rNJudaCXqQZfHYEB0qiqRJ0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20050429201815.GA7415@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <b1fa291705042913082e5d2c26@xxxxxxxxxxxxxx> <20050429201815.GA7415@xxxxxxxxxx>
Reply-to: Kip Macy <kip.macy@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thanks. I need this for coredump and debugging on SMP domains. 

I didn't feel like querying successively higher exec_domains until a
call failed ;-)

               -Kip
     
On 4/29/05, Ryan Harper <ryanh@xxxxxxxxxx> wrote:
> * Kip Macy <kip.macy@xxxxxxxxx> [2005-04-29 15:09]:
> > What is the right way to query how many vcpus a guest is using? As I
> > mentioned earlier it would seem to fall under the heading of
> > GETDOMAININFO, but that obviously doesn't work.
> 
> I posted a [1]patch a while back that surfaced that info in the
> GETDOMAININFO call.  I'm still working more into that patch to support
> a cpumap which designate which physical cpus a vcpu may use, the current
> form of that patch is [2]here.
> 
> 1.  http://lists.xensource.com/archives/html/xen-devel/2005-04/msg00412.html
> 2.  http://lists.xensource.com/archives/html/xen-devel/2005-04/msg00890.html
> 
> --
> Ryan Harper
> Software Engineer; Linux Technology Center
> IBM Corp., Austin, Tx
> (512) 838-9253   T/L: 678-9253
> ryanh@xxxxxxxxxx
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel