mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-01 17:35:17 +00:00
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:
parent
7076981f50
commit
a744ddad59
@ -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>
|
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.
|
* src/conf.c: Improved error messages in XM conf module.
|
||||||
|
@ -85,7 +85,7 @@ typedef enum {
|
|||||||
typedef struct _virDomainInfo virDomainInfo;
|
typedef struct _virDomainInfo virDomainInfo;
|
||||||
|
|
||||||
struct _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 maxMem; /* the maximum memory in KBytes allowed */
|
||||||
unsigned long memory; /* the memory in KBytes used by the domain */
|
unsigned long memory; /* the memory in KBytes used by the domain */
|
||||||
unsigned short nrVirtCpu; /* the number of virtual CPUs for the domain */
|
unsigned short nrVirtCpu; /* the number of virtual CPUs for the domain */
|
||||||
|
@ -85,7 +85,7 @@ typedef enum {
|
|||||||
typedef struct _virDomainInfo virDomainInfo;
|
typedef struct _virDomainInfo virDomainInfo;
|
||||||
|
|
||||||
struct _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 maxMem; /* the maximum memory in KBytes allowed */
|
||||||
unsigned long memory; /* the memory in KBytes used by the domain */
|
unsigned long memory; /* the memory in KBytes used by the domain */
|
||||||
unsigned short nrVirtCpu; /* the number of virtual CPUs for the domain */
|
unsigned short nrVirtCpu; /* the number of virtual CPUs for the domain */
|
||||||
|
@ -1231,7 +1231,7 @@ virDomainGetConnect (virDomainPtr dom)
|
|||||||
* virDomainCreateLinux:
|
* virDomainCreateLinux:
|
||||||
* @conn: pointer to the hypervisor connection
|
* @conn: pointer to the hypervisor connection
|
||||||
* @xmlDesc: string containing an XML description of the domain
|
* @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
|
* Launch a new Linux guest domain, based on an XML description similar
|
||||||
* to the one returned by virDomainGetXMLDesc()
|
* to the one returned by virDomainGetXMLDesc()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user