mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 13:05:27 +00:00
vbox: Rewrite vboxDomainDestroy
This commit is contained in:
parent
25d807d42a
commit
40b733e7e2
@ -2598,3 +2598,8 @@ int vboxDomainDestroyFlags(virDomainPtr dom, unsigned int flags)
|
||||
vboxIIDUnalloc(&iid);
|
||||
return ret;
|
||||
}
|
||||
|
||||
int vboxDomainDestroy(virDomainPtr dom)
|
||||
{
|
||||
return vboxDomainDestroyFlags(dom, 0);
|
||||
}
|
||||
|
@ -933,12 +933,6 @@ vboxSocketParseAddrUtf16(vboxGlobalData *data, const PRUnichar *utf16,
|
||||
return result;
|
||||
}
|
||||
|
||||
static int
|
||||
vboxDomainDestroy(virDomainPtr dom)
|
||||
{
|
||||
return vboxDomainDestroyFlags(dom, 0);
|
||||
}
|
||||
|
||||
static char *vboxDomainGetOSType(virDomainPtr dom ATTRIBUTE_UNUSED) {
|
||||
/* Returning "hvm" always as suggested on list, cause
|
||||
* this functions seems to be badly named and it
|
||||
|
@ -428,6 +428,7 @@ int vboxDomainShutdownFlags(virDomainPtr dom, unsigned int flags);
|
||||
int vboxDomainShutdown(virDomainPtr dom);
|
||||
int vboxDomainReboot(virDomainPtr dom, unsigned int flags);
|
||||
int vboxDomainDestroyFlags(virDomainPtr dom, unsigned int flags);
|
||||
int vboxDomainDestroy(virDomainPtr dom);
|
||||
|
||||
/* Version specified functions for installing uniformed API */
|
||||
void vbox22InstallUniformedAPI(vboxUniformedAPI *pVBoxAPI);
|
||||
|
Loading…
x
Reference in New Issue
Block a user