From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aravindh Puthiyaparambil Subject: Querying number of VCPUs in a guest Date: Tue, 24 May 2011 21:28:57 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0414271066==" 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 --===============0414271066== Content-Type: multipart/alternative; boundary=000e0cd15222987c0904a41224f0 --000e0cd15222987c0904a41224f0 Content-Type: text/plain; charset=ISO-8859-1 Say I have a guest configuration file specifying that the guest has 4 VCPUs. I then issue a "xl create dom -p" command. "xl list" now shows that the domain has only 1 VCPU. At this point, is there anything in libxc land that can tell me the VPCUs the guest has as per the configuration. I tried xc_domain_getinfolist and xc_domain_getinfo and looked at nr_online_vcpus and max_vcpu_id but like their names reflect they don't return the information I am looking for. Is there another way to get this info? Thanks, Aravindh --000e0cd15222987c0904a41224f0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Say I have a guest configuration file specifying that the guest has 4 VCPUs= . I then issue a "xl create dom -p" command. "xl list" = now shows that the domain has only 1 VCPU. At this point, is there anything= in libxc land that can tell me the VPCUs the guest has as per the configur= ation. I tried=A0xc_domain_getinfolist and=A0xc_domain_getinfo and looked a= t=A0nr_online_vcpus and max_vcpu_id but like their names reflect they don&#= 39;t return the information I am looking for. Is there another way to get t= his info?

Thanks,
Aravindh

--000e0cd15222987c0904a41224f0-- --===============0414271066== 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 --===============0414271066==--