mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
test_driver: implement virDomainCreateXMLWithFile
This should just forward the call to testDomainCreateXML since we can't do anything with the provided file descriptors in the test driver. Signed-off-by: Ilias Stamatis <stamatis.iliass@gmail.com>
This commit is contained in:
parent
dace3ed383
commit
c466816ee2
@ -1684,6 +1684,17 @@ testDomainCreateXML(virConnectPtr conn, const char *xml,
|
||||
}
|
||||
|
||||
|
||||
static virDomainPtr
|
||||
testDomainCreateXMLWithFiles(virConnectPtr conn,
|
||||
const char *xml,
|
||||
unsigned int nfiles ATTRIBUTE_UNUSED,
|
||||
int *files ATTRIBUTE_UNUSED,
|
||||
unsigned int flags)
|
||||
{
|
||||
return testDomainCreateXML(conn, xml, flags);
|
||||
}
|
||||
|
||||
|
||||
static virDomainPtr testDomainLookupByID(virConnectPtr conn,
|
||||
int id)
|
||||
{
|
||||
@ -8614,6 +8625,7 @@ static virHypervisorDriver testHypervisorDriver = {
|
||||
.connectNumOfDomains = testConnectNumOfDomains, /* 0.1.1 */
|
||||
.connectListAllDomains = testConnectListAllDomains, /* 0.9.13 */
|
||||
.domainCreateXML = testDomainCreateXML, /* 0.1.4 */
|
||||
.domainCreateXMLWithFiles = testDomainCreateXMLWithFiles, /* 5.7.0 */
|
||||
.domainLookupByID = testDomainLookupByID, /* 0.1.1 */
|
||||
.domainLookupByUUID = testDomainLookupByUUID, /* 0.1.1 */
|
||||
.domainLookupByName = testDomainLookupByName, /* 0.1.1 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user