From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kip Macy Subject: Re: How to query the number of vcpus? Date: Fri, 29 Apr 2005 13:24:08 -0700 Message-ID: References: <20050429201815.GA7415@us.ibm.com> Reply-To: Kip Macy Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20050429201815.GA7415@us.ibm.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ryan Harper Cc: xen-devel List-Id: xen-devel@lists.xenproject.org Thanks. I need this for coredump and debugging on SMP domains.=20 I didn't feel like querying successively higher exec_domains until a call failed ;-) -Kip =20 On 4/29/05, Ryan Harper wrote: > * Kip Macy [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. >=20 > 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. >=20 > 1. http://lists.xensource.com/archives/html/xen-devel/2005-04/msg00412.h= tml > 2. http://lists.xensource.com/archives/html/xen-devel/2005-04/msg00890.h= tml >=20 > -- > Ryan Harper > Software Engineer; Linux Technology Center > IBM Corp., Austin, Tx > (512) 838-9253 T/L: 678-9253 > ryanh@us.ibm.com >