include/libvirt/libvirt.h.in, src/libvirt.c: Fix comments

which incorrectly referred to non-existent 'virDomainFlags'
type (Anton Protopopov).
This commit is contained in:
Richard W.M. Jones 2008-09-17 14:15:20 +00:00
parent 7076981f50
commit a744ddad59
4 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
Wed Sep 17 15:10:00 BST 2008 Richard W.M. Jones <rjones@redhat.com>
* 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 <rjones@redhat.com>
* src/conf.c: Improved error messages in XM conf module.

View File

@ -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 */

View File

@ -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 */

View File

@ -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()