search for: vm_idx

Displaying 4 results from an estimated 4 matches for "vm_idx".

Did you mean: vm_id
2013 Sep 24
2
virDomainGetInfo() returns wrong domain state
...OMAIN_SHUTOFF) { state = cidl_vm_state_defined; } else { state = cidl_vm_state_not_defined; } return state; } virDomainInfo res_util; virDomainPtr dom = virDomainLookupByName(virt, private_names[vm_idx]); res = virDomainGetInfo(dom, &res_util); vminfo[vm_idx].vm_state = vm_libvirt_state_to_vmm_state(res_util.state); Regards Ritesh Sharma
2013 Sep 25
0
Re: virDomainGetInfo() returns wrong domain state
...OMAIN_SHUTOFF) { state = cidl_vm_state_defined; } else { state = cidl_vm_state_not_defined; } return state; } virDomainInfo res_util; virDomainPtr dom = virDomainLookupByName(virt, private_names[vm_idx]); res = virDomainGetInfo(dom, &res_util); vminfo[vm_idx].vm_state = vm_libvirt_state_to_vmm_state(res_util.state); Regards Ritesh Sharma
2013 Sep 26
0
Re: [libvirt] virDomainGetInfo() returns wrong domain state
...the part below looks suspicious. I mean not from API perspective, but from data perspective. > > > > virDomainInfo res_util; > > virDomainPtr dom = virDomainLookupByName(virt, > > private_names[vm_idx]); Are you sure you're passing the correct name here? That's the only possible source of the error here. > > res = virDomainGetInfo(dom, &res_util); > > vminfo[vm_idx].vm_state = > > vm_libvirt_state_to_vmm_state(res_util....
2013 Sep 26
1
Re: [libvirt] virDomainGetInfo() returns wrong domain state
...rt below looks suspicious. I mean not from API perspective, but from data perspective. > > > > virDomainInfo res_util; > > virDomainPtr dom = virDomainLookupByName(virt, > > > private_names[vm_idx]); Are you sure you're passing the correct name here? That's the only possible source of the error here. > > res = virDomainGetInfo(dom, &res_util); > > vminfo[vm_idx].vm_state = > > vm_libvirt_state_to_vmm_state(res_util....