]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
include/libvirt/libvirt.h.in, src/libvirt.c: Fix comments
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 17 Sep 2008 14:15:20 +0000 (14:15 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 17 Sep 2008 14:15:20 +0000 (14:15 +0000)
which incorrectly referred to non-existent 'virDomainFlags'
type (Anton Protopopov).

ChangeLog
include/libvirt/libvirt.h
include/libvirt/libvirt.h.in
src/libvirt.c

index 428c601378a08eb5111e15496f5bcf307f44428a..92238b884fe9e35b0a7ef3c11f02bc7e91530a7a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
index 7597c7fd9cefae805ef824cccc710cb5952082ac..052cf9800b7f3107f6e6d4cc2bec3c36fff443ba 100644 (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 */
index b91d729ffb1330e9c9874dead0272dfa8c84a948..24b56802e0b378ef8336bacb7258d724ee3066b5 100644 (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 */
index 54ed8cf3ba28baccc0b0b60f090a0ea4c3df3613..ed98323a88d1f792ff095cde519a42b95678b1ae 100644 (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()