Hi Users,

I am using ovirt package for RHEV development. I can able collect the 
ipaddress, os, status and name of the virtual machines.
But i want the CPU details of all VMs. I tried this below method but i stil can 
not get cpu informations. I hope this can understand.
Please help to resolve this issue.

CPU cs = vm.getCpu();
CpuTune tune = cs.getCpuTune();
List<VCpuPin> ms = tune.getVCpuPin();
for(int vc=0; vc<ms.size(); vc++)
{
VCpuPin pin = (VCpuPin)ms.get(vc);
pin.getVcpu();
}

Note: getVcpu does not giving any output.


Thanks & Regards,
Rathidevi
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to