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

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



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