diff --git a/ChangeLog b/ChangeLog index 428c601378..92238b884f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Sep 17 15:10:00 BST 2008 Richard W.M. Jones + + * include/libvirt/libvirt.h.in, src/libvirt.c: Fix comments + which incorrectly referred to non-existent 'virDomainFlags' + type (Anton Protopopov). + Wed Sep 17 15:08:00 BST 2008 Richard W.M. Jones * src/conf.c: Improved error messages in XM conf module. diff --git a/include/libvirt/libvirt.h b/include/libvirt/libvirt.h index 7597c7fd9c..052cf9800b 100644 --- a/include/libvirt/libvirt.h +++ b/include/libvirt/libvirt.h @@ -85,7 +85,7 @@ typedef enum { typedef struct _virDomainInfo virDomainInfo; struct _virDomainInfo { - unsigned char state; /* the running state, one of virDomainFlags */ + unsigned char state; /* the running state, one of virDomainState */ unsigned long maxMem; /* the maximum memory in KBytes allowed */ unsigned long memory; /* the memory in KBytes used by the domain */ unsigned short nrVirtCpu; /* the number of virtual CPUs for the domain */ diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index b91d729ffb..24b56802e0 100644 --- a/include/libvirt/libvirt.h.in +++ b/include/libvirt/libvirt.h.in @@ -85,7 +85,7 @@ typedef enum { typedef struct _virDomainInfo virDomainInfo; struct _virDomainInfo { - unsigned char state; /* the running state, one of virDomainFlags */ + unsigned char state; /* the running state, one of virDomainState */ unsigned long maxMem; /* the maximum memory in KBytes allowed */ unsigned long memory; /* the memory in KBytes used by the domain */ unsigned short nrVirtCpu; /* the number of virtual CPUs for the domain */ diff --git a/src/libvirt.c b/src/libvirt.c index 54ed8cf3ba..ed98323a88 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -1231,7 +1231,7 @@ virDomainGetConnect (virDomainPtr dom) * virDomainCreateLinux: * @conn: pointer to the hypervisor connection * @xmlDesc: string containing an XML description of the domain - * @flags: an optional set of virDomainFlags + * @flags: callers should always pass 0 * * Launch a new Linux guest domain, based on an XML description similar * to the one returned by virDomainGetXMLDesc()