[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Querying number of VCPUs in a guest


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Aravindh Puthiyaparambil <aravindh@xxxxxxxxxxxx>
  • Date: Tue, 24 May 2011 21:28:57 -0700
  • Delivery-date: Tue, 24 May 2011 21:30:03 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=virtuata.com; s=google; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type; b=hZJ3qQ5YX80O+eho6Nfbo2jPxYJ+VzKRz5z4L9JZ3HYH1rR9ZWvDV4T+aG7P51jpG/ +DULjOaNcACr8dzbKNTJq9Zl5EFqYOaLstMfSEOiGaiRJEDsMpAiqWrniO2++0YVqjed aIhRvdAyBzNrHpgecQ0c43G1EBt3ER+hagmpc=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.