search for: cidl_vm_state_paused

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

2013 Sep 24
2
virDomainGetInfo() returns wrong domain state
...bvirt_state); <<<<<<<<<<<<<<<<<< if (libvirt_state == VIR_DOMAIN_RUNNING) { state = cidl_vm_state_running; } else if ((libvirt_state == VIR_DOMAIN_PAUSED) || (libvirt_state == VIR_DOMAIN_BLOCKED)) { state = cidl_vm_state_paused; } else if (libvirt_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,...
2013 Sep 25
0
Re: virDomainGetInfo() returns wrong domain state
...bvirt_state); <<<<<<<<<<<<<<<<<< if (libvirt_state == VIR_DOMAIN_RUNNING) { state = cidl_vm_state_running; } else if ((libvirt_state == VIR_DOMAIN_PAUSED) || (libvirt_state == VIR_DOMAIN_BLOCKED)) { state = cidl_vm_state_paused; } else if (libvirt_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,...
2013 Sep 26
0
Re: [libvirt] virDomainGetInfo() returns wrong domain state
...lt;<<<<<<< > > if (libvirt_state == VIR_DOMAIN_RUNNING) { > > state = cidl_vm_state_running; > > } else if ((libvirt_state == VIR_DOMAIN_PAUSED) || > > (libvirt_state == VIR_DOMAIN_BLOCKED)) { > > state = cidl_vm_state_paused; > > } else if (libvirt_state == VIR_DOMAIN_SHUTOFF) { > > state = cidl_vm_state_defined; > > } else { > > state = cidl_vm_state_not_defined; > > } > > return state; > > } While this part ^^^ looks okay, the part belo...
2013 Sep 26
1
Re: [libvirt] virDomainGetInfo() returns wrong domain state
...lt;<<<<<<< > > if (libvirt_state == VIR_DOMAIN_RUNNING) { > > state = cidl_vm_state_running; > > } else if ((libvirt_state == VIR_DOMAIN_PAUSED) || > > (libvirt_state == VIR_DOMAIN_BLOCKED)) { > > state = cidl_vm_state_paused; > > } else if (libvirt_state == VIR_DOMAIN_SHUTOFF) { > > state = cidl_vm_state_defined; > > } else { > > state = cidl_vm_state_not_defined; > > } > > return state; > > } While this part ^^^ looks okay, the part belo...