I am trying to get the information of vcpus running on my machine and for the same I am using libvirt. I am not able to understand how to use the api virDomainGetVcpus which has arguments cpumaps and maplen.
I am using C. Please let me know if you have some insight.
Thanks.