Fix VIR_DOMAIN_NONE into VIR_DOMAIN_NOSTATE

* src/xen_internal.c: fix an erronous use of VIR_DOMAIN_NONE instead
  of VIR_DOMAIN_NOSTATE (both defined as 0, no regression)
Daniel
This commit is contained in:
Daniel Veillard 2008-01-25 09:47:51 +00:00
parent 3f9a94bec3
commit aab826d4cc
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Fri Jan 25 10:46:32 CET 2008 Daniel Veillard <veillard@redhat.com>
* src/xen_internal.c: fix an erronous use of VIR_DOMAIN_NONE instead
of VIR_DOMAIN_NOSTATE (both defined as 0, no regression)
Thu Jan 24 18:08:28 CET 2008 Daniel Veillard <veillard@redhat.com>
* src/libvirt.c: Jay Gagnon pointed out that virDomainGetXMLDesc

View File

@ -2875,7 +2875,7 @@ xenHypervisorGetDomInfo(virConnectPtr conn, int id, virDomainInfoPtr info)
info->state = VIR_DOMAIN_RUNNING;
break;
default:
info->state = VIR_DOMAIN_NONE;
info->state = VIR_DOMAIN_NOSTATE;
}
/*