On 03/20/2014 11:54 AM, Vikas Kokare wrote: > We are trying to get the cpu topology data (cores, sockets, threads) using > the Java binding of the libvirt API, after connecting to a hypervisor. We > are expecting the domain (vm) XML payload to contain the <cpu> element with > the <topology> sub-element, but it is not present. Whether you are using the Java bindings or the C bindings doesn't matter; in this case, the <domain> xml is not specified as listing any topology for the guest cpus. Right now, the only topology listing in our xml is when describing host capabilities. But your idea of describing guest topology has merit; are you willing to submit patches to add it? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list