Displaying 4 results from an estimated 4 matches for "cidl_vm_state_running".
2013 Sep 24
2
virDomainGetInfo() returns wrong domain state
...t_state_to_vmm_state(unsigned char libvirt_state)
{
enum cidl_vmm_vm_state state;
INFO("%s: state returned is %u\n",__FUNCTION__, libvirt_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;...
2013 Sep 25
0
Re: virDomainGetInfo() returns wrong domain state
...t_state_to_vmm_state(unsigned char libvirt_state)
{
enum cidl_vmm_vm_state state;
INFO("%s: state returned is %u\n",__FUNCTION__, libvirt_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;...
2013 Sep 26
0
Re: [libvirt] virDomainGetInfo() returns wrong domain state
...{
>
> enum cidl_vmm_vm_state state;
>
> INFO("%s: state returned is %u\n",__FUNCTION__, libvirt_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;
&...
2013 Sep 26
1
Re: [libvirt] virDomainGetInfo() returns wrong domain state
...{
>
> enum cidl_vmm_vm_state state;
>
> INFO("%s: state returned is %u\n",__FUNCTION__, libvirt_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;
&...