mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-02 09:55:18 +00:00
LXC: update comments of lxcDomainCreateXMLWithFiles() and lxcDomainCreateXML()
The comments for lxcDomainCreateXMLWithFiles are out of date. So update them. And add comments for lxcDomainCreateXML Signed-off-by: Wang Rui <moon.wangrui@huawei.com> Signed-off-by: Yue wenyuan <yuewenyuan@huawei.com> Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
7e157858b4
commit
636d66e628
@ -1126,14 +1126,16 @@ static int lxcDomainCreateWithFlags(virDomainPtr dom,
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* lxcDomainCreateXML:
|
* lxcDomainCreateXMLWithFiles:
|
||||||
* @conn: pointer to connection
|
* @conn: pointer to connection
|
||||||
* @xml: XML definition of domain
|
* @xml: XML definition of domain
|
||||||
* @flags: Must be 0 for now
|
* @nfiles: number of file descriptors passed
|
||||||
|
* @files: list of file descriptors passed
|
||||||
|
* @flags: bitwise-OR of supported virDomainCreateFlags
|
||||||
*
|
*
|
||||||
* Creates a domain based on xml and starts it
|
* Creates a domain based on xml and starts it
|
||||||
*
|
*
|
||||||
* Returns 0 on success or -1 in case of error
|
* Returns a new domain object or NULL in case of failure.
|
||||||
*/
|
*/
|
||||||
static virDomainPtr
|
static virDomainPtr
|
||||||
lxcDomainCreateXMLWithFiles(virConnectPtr conn,
|
lxcDomainCreateXMLWithFiles(virConnectPtr conn,
|
||||||
@ -1213,7 +1215,16 @@ lxcDomainCreateXMLWithFiles(virConnectPtr conn,
|
|||||||
return dom;
|
return dom;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* lxcDomainCreateXML:
|
||||||
|
* @conn: pointer to connection
|
||||||
|
* @xml: XML definition of domain
|
||||||
|
* @flags: bitwise-OR of supported virDomainCreateFlags
|
||||||
|
*
|
||||||
|
* Creates a domain based on xml and starts it
|
||||||
|
*
|
||||||
|
* Returns a new domain object or NULL in case of failure.
|
||||||
|
*/
|
||||||
static virDomainPtr
|
static virDomainPtr
|
||||||
lxcDomainCreateXML(virConnectPtr conn,
|
lxcDomainCreateXML(virConnectPtr conn,
|
||||||
const char *xml,
|
const char *xml,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user