mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
virDomainDefineXML, and a few additional cleanups
* include/libvirt/libvirt.h[.in] include/libvirt/virterror.h qemud/remote* src/driver.h src/libvirt.c src/libvirt_sym.version src/lxc_driver.c src/openvz_driver.c src/proxy_internal.c src/qemu_driver.c src/remote_internal.c src/test.c src/virsh.c src/xen_internal.c src/xen_unified.c src/xen_unified.h src/xend_internal.c src/xend_internal.h src/xm_internal.c src/xs_internal.c docs/*: cleanup virDomainCreateLinux into virDomainDefineXML, and a few additional cleanups Daniel
This commit is contained in:
@@ -437,7 +437,7 @@ virConnectPtr virDomainGetConnect (virDomainPtr domain);
|
||||
/*
|
||||
* Domain creation and destruction
|
||||
*/
|
||||
virDomainPtr virDomainCreateLinux (virConnectPtr conn,
|
||||
virDomainPtr virDomainCreateXML (virConnectPtr conn,
|
||||
const char *xmlDesc,
|
||||
unsigned int flags);
|
||||
virDomainPtr virDomainLookupByName (virConnectPtr conn,
|
||||
@@ -987,6 +987,12 @@ char * virStorageVolGetXMLDesc (virStorageVolPtr pool,
|
||||
|
||||
char * virStorageVolGetPath (virStorageVolPtr vol);
|
||||
|
||||
/*
|
||||
* Deprecated calls
|
||||
*/
|
||||
virDomainPtr virDomainCreateLinux (virConnectPtr conn,
|
||||
const char *xmlDesc,
|
||||
unsigned int flags);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -437,7 +437,7 @@ virConnectPtr virDomainGetConnect (virDomainPtr domain);
|
||||
/*
|
||||
* Domain creation and destruction
|
||||
*/
|
||||
virDomainPtr virDomainCreateLinux (virConnectPtr conn,
|
||||
virDomainPtr virDomainCreateXML (virConnectPtr conn,
|
||||
const char *xmlDesc,
|
||||
unsigned int flags);
|
||||
virDomainPtr virDomainLookupByName (virConnectPtr conn,
|
||||
@@ -987,6 +987,12 @@ char * virStorageVolGetXMLDesc (virStorageVolPtr pool,
|
||||
|
||||
char * virStorageVolGetPath (virStorageVolPtr vol);
|
||||
|
||||
/*
|
||||
* Deprecated calls
|
||||
*/
|
||||
virDomainPtr virDomainCreateLinux (virConnectPtr conn,
|
||||
const char *xmlDesc,
|
||||
unsigned int flags);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -78,15 +78,17 @@ struct _virError {
|
||||
int domain; /* What part of the library raised this error */
|
||||
char *message;/* human-readable informative error message */
|
||||
virErrorLevel level;/* how consequent is the error */
|
||||
virConnectPtr conn VIR_DEPRECATED; /* connection if available,
|
||||
virConnectPtr conn VIR_DEPRECATED; /* connection if available, deprecated
|
||||
see note above */
|
||||
virDomainPtr dom VIR_DEPRECATED; /* domain if available, see note above */
|
||||
virDomainPtr dom VIR_DEPRECATED; /* domain if available, deprecated
|
||||
see note above */
|
||||
char *str1; /* extra string information */
|
||||
char *str2; /* extra string information */
|
||||
char *str3; /* extra string information */
|
||||
int int1; /* extra number information */
|
||||
int int2; /* extra number information */
|
||||
virNetworkPtr net VIR_DEPRECATED; /* network if available, see note above */
|
||||
virNetworkPtr net VIR_DEPRECATED; /* network if available, deprecated
|
||||
see note above */
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user