mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-14 23:24:23 +03:00
vbox: Rewrite vboxDomainUndefine
This commit is contained in:
parent
4eaa78be7a
commit
400bdccb2a
@ -2066,6 +2066,11 @@ int vboxDomainUndefineFlags(virDomainPtr dom, unsigned int flags)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int vboxDomainUndefine(virDomainPtr dom)
|
||||
{
|
||||
return vboxDomainUndefineFlags(dom, 0);
|
||||
}
|
||||
|
||||
static int
|
||||
vboxStartMachine(virDomainPtr dom, int maxDomID, IMachine *machine, vboxIIDUnion *iid)
|
||||
{
|
||||
|
@ -1451,12 +1451,6 @@ _vboxAttachDrivesOld(virDomainDefPtr def ATTRIBUTE_UNUSED,
|
||||
|
||||
#endif /* VBOX_API_VERSION >= 4000000 */
|
||||
|
||||
static int
|
||||
vboxDomainUndefine(virDomainPtr dom)
|
||||
{
|
||||
return vboxDomainUndefineFlags(dom, 0);
|
||||
}
|
||||
|
||||
static int vboxDomainAttachDeviceImpl(virDomainPtr dom,
|
||||
const char *xml,
|
||||
int mediaChangeOnly ATTRIBUTE_UNUSED)
|
||||
|
@ -493,6 +493,7 @@ virDomainPtr
|
||||
vboxDomainLookupByName(virConnectPtr conn, const char *name);
|
||||
virDomainPtr vboxDomainDefineXML(virConnectPtr conn, const char *xml);
|
||||
int vboxDomainUndefineFlags(virDomainPtr dom, unsigned int flags);
|
||||
int vboxDomainUndefine(virDomainPtr dom);
|
||||
int vboxDomainCreateWithFlags(virDomainPtr dom, unsigned int flags);
|
||||
int vboxDomainCreate(virDomainPtr dom);
|
||||
virDomainPtr vboxDomainCreateXML(virConnectPtr conn, const char *xml,
|
||||
|
Loading…
x
Reference in New Issue
Block a user