mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 06:35:24 +00:00
vbox: Rewrite vboxDomainShutdown
This commit is contained in:
parent
67533a8148
commit
502c43ee44
@ -2504,3 +2504,8 @@ int vboxDomainShutdownFlags(virDomainPtr dom, unsigned int flags)
|
|||||||
vboxIIDUnalloc(&iid);
|
vboxIIDUnalloc(&iid);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int vboxDomainShutdown(virDomainPtr dom)
|
||||||
|
{
|
||||||
|
return vboxDomainShutdownFlags(dom, 0);
|
||||||
|
}
|
||||||
|
@ -933,12 +933,6 @@ vboxSocketParseAddrUtf16(vboxGlobalData *data, const PRUnichar *utf16,
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int vboxDomainShutdown(virDomainPtr dom)
|
|
||||||
{
|
|
||||||
return vboxDomainShutdownFlags(dom, 0);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static int vboxDomainReboot(virDomainPtr dom, unsigned int flags)
|
static int vboxDomainReboot(virDomainPtr dom, unsigned int flags)
|
||||||
{
|
{
|
||||||
VBOX_OBJECT_CHECK(dom->conn, int, -1);
|
VBOX_OBJECT_CHECK(dom->conn, int, -1);
|
||||||
|
@ -423,6 +423,7 @@ int vboxDomainIsUpdated(virDomainPtr dom);
|
|||||||
int vboxDomainSuspend(virDomainPtr dom);
|
int vboxDomainSuspend(virDomainPtr dom);
|
||||||
int vboxDomainResume(virDomainPtr dom);
|
int vboxDomainResume(virDomainPtr dom);
|
||||||
int vboxDomainShutdownFlags(virDomainPtr dom, unsigned int flags);
|
int vboxDomainShutdownFlags(virDomainPtr dom, unsigned int flags);
|
||||||
|
int vboxDomainShutdown(virDomainPtr dom);
|
||||||
|
|
||||||
/* Version specified functions for installing uniformed API */
|
/* Version specified functions for installing uniformed API */
|
||||||
void vbox22InstallUniformedAPI(vboxUniformedAPI *pVBoxAPI);
|
void vbox22InstallUniformedAPI(vboxUniformedAPI *pVBoxAPI);
|
||||||
|
Loading…
Reference in New Issue
Block a user