Hi,

I have been trying to find out CPU topology using libvirt.
I understand that I can find out the number of cores/sockets/
threads etc through getCapabilities() function. What I am wondering
is that is there any function that can provide me the exact topology
like how many sockets, how many sockets per core and number of
threads per core, if applicable or may be info about numa cells. 
Is there any mechanism to achieve this?

Thanks,
 
~Peeyush Gupta