search for: private_names

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

2013 Sep 24
2
virDomainGetInfo() returns wrong domain state
...state == VIR_DOMAIN_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
...state == VIR_DOMAIN_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
...^ looks okay, 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(re...
2013 Sep 26
1
Re: [libvirt] virDomainGetInfo() returns wrong domain state
...s okay, 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(re...