mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +00:00
Tue May 8 11:14:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
* src/hash.c, src/internal.h, src/xs_internal.c: Remove unused fields from internal _virDomain structure.
This commit is contained in:
parent
6723c50b5c
commit
e0e95c53fc
@ -1,3 +1,8 @@
|
||||
Tue May 8 11:14:00 BST 2007 Richard W.M. Jones <rjones@redhat.com>
|
||||
|
||||
* src/hash.c, src/internal.h, src/xs_internal.c: Remove
|
||||
unused fields from internal _virDomain structure.
|
||||
|
||||
Thu May 3 12:09:41 EST 2007 Daniel P. Berange <berrange@redhat.com>
|
||||
|
||||
* qemud/conf.c, qemud/internal.c: Read upto 8k from QEMU
|
||||
|
@ -840,10 +840,6 @@ virFreeDomain(virConnectPtr conn, virDomainPtr domain) {
|
||||
}
|
||||
domain->magic = -1;
|
||||
domain->id = -1;
|
||||
if (domain->path != NULL)
|
||||
free(domain->path);
|
||||
if (domain->xml)
|
||||
free(domain->xml);
|
||||
if (domain->name)
|
||||
free(domain->name);
|
||||
free(domain);
|
||||
|
@ -138,17 +138,6 @@ struct _virConnect {
|
||||
int flags; /* a set of connection flags */
|
||||
};
|
||||
|
||||
/**
|
||||
* virDomainFlags:
|
||||
*
|
||||
* a set of special flag values associated to the domain
|
||||
*/
|
||||
|
||||
enum virDomainFlags {
|
||||
DOMAIN_IS_SHUTDOWN = (1 << 0), /* the domain is being shutdown */
|
||||
DOMAIN_IS_DEFINED = (1 << 1) /* the domain is defined not running */
|
||||
};
|
||||
|
||||
/**
|
||||
* _virDomain:
|
||||
*
|
||||
@ -159,11 +148,8 @@ struct _virDomain {
|
||||
int uses; /* reference count */
|
||||
virConnectPtr conn; /* pointer back to the connection */
|
||||
char *name; /* the domain external name */
|
||||
char *path; /* the domain internal path */
|
||||
int id; /* the domain ID */
|
||||
int flags; /* extra flags */
|
||||
unsigned char uuid[VIR_UUID_BUFLEN]; /* the domain unique identifier */
|
||||
char *xml; /* the XML description for defined domains */
|
||||
};
|
||||
|
||||
/**
|
||||
|
@ -651,7 +651,6 @@ xenStoreDomainLookupByName(virConnectPtr conn, const char *name)
|
||||
goto done;
|
||||
}
|
||||
ret->id = id;
|
||||
ret->path = path;
|
||||
|
||||
done:
|
||||
if (xenddomain != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user