[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
- 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=
- 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