similar to: virDomainGetInfo() returns wrong domain state

Displaying 4 results from an estimated 4 matches similar to: "virDomainGetInfo() returns wrong domain state"

2013 Sep 26
1
Re: [libvirt] virDomainGetInfo() returns wrong domain state
Yes, I am sure because other information pulled are correct. And the same way we have used libvirt APIs to extract other informations at different places. My question is if VM is in shut-off state does it mean running ? IF not, what is the correct state for this VM. I am wondering why the state is 'unsigned char' in virDomainGetInfo, why it could not be 'enum' as it is returning
2013 Sep 25
0
Re: virDomainGetInfo() returns wrong domain state
Hi Libvirt support team, Could you please help me with below query. Regards Ritesh Sharma From: Panday Ritesh Sharma (rpanday) Sent: Tuesday, September 24, 2013 8:22 PM To: 'libvir-list@redhat.com'; 'libvirt-users@redhat.com'; Vinay Shankarkumar (vinays) Cc: Basavaraj Bendigeri (bbendige); q-se-dev(mailer list) Subject: virDomainGetInfo() returns wrong domain state Hi Team, I
2013 Sep 26
0
Re: [libvirt] virDomainGetInfo() returns wrong domain state
On 24.09.2013 16:51, Panday Ritesh Sharma (rpanday) wrote: > > > Hi Team, > > I have written below code to get the VM state at run time. I found, > though the VM is in shut-off state, when I use the function > virDomainGetInfo(); I get state as running. Could you please let me > know what wrong I am doing. To know the actual VM state I used ‘virsh > list’ and it
2013 Feb 28
0
With no luck with virDomainGetInfo and virDomainMemoryStats for memory usage of a running vm
Hi, all I am trying to get used memory of a running vm using libvirt and then to calculate the memory usage, but with no luck. 1.The used memory returned by virDomainGetInfo is equal to max memory with no virtio balloon driver set. When using virtio balloon driver and setting currentMemory less than memory in the xml, the used memory returned by virDomainGetInfo is nearly equal to