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

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Querying number of VCPUs in a guest
From: Aravindh Puthiyaparambil <aravindh@xxxxxxxxxxxx>
Date: Tue, 24 May 2011 21:28:57 -0700
Delivery-date: Tue, 24 May 2011 21:30:03 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=virtuata.com; s=google; h=domainkey-signature:mime-version:x-originating-ip:date:message-id :subject:from:to:content-type; bh=lxiv7QKiSg/xu9nPy2IRq4KvsaxuN76ZGrptltV2DhY=; b=gDHRh9RplWkc3EJjWpHzNsx7v3SyYUJsweEG2ax/jN6VswfgebjBXQ0gIek6kydY/V pTSCQAUQ8ZZRRUdqebmY5TIYbQz5XvVUxoKjxdt0ZLIRkL2sSRkZ8Hc8iJCsMuJ3ut2C /+xPwltIzJv2b0zeFz2lhxZTHDE+BRV4wm3Sw=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Querying number of VCPUs in a guest, Aravindh Puthiyaparambil <=