mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 12:35:17 +00:00
vbox: Rewrite vboxNetworkClose
This commit is contained in:
parent
cd7a5d8994
commit
9e0637997f
@ -58,3 +58,10 @@ virDrvOpenStatus vboxNetworkOpen(virConnectPtr conn,
|
||||
cleanup:
|
||||
return VIR_DRV_OPEN_DECLINED;
|
||||
}
|
||||
|
||||
int vboxNetworkClose(virConnectPtr conn)
|
||||
{
|
||||
VIR_DEBUG("network uninitialized");
|
||||
conn->networkPrivateData = NULL;
|
||||
return 0;
|
||||
}
|
||||
|
@ -2059,12 +2059,6 @@ _registerDomainEvent(virDriverPtr driver)
|
||||
/**
|
||||
* The Network Functions here on
|
||||
*/
|
||||
static int vboxNetworkClose(virConnectPtr conn)
|
||||
{
|
||||
VIR_DEBUG("network uninitialized");
|
||||
conn->networkPrivateData = NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int vboxConnectNumOfNetworks(virConnectPtr conn)
|
||||
{
|
||||
|
@ -537,6 +537,7 @@ virDomainPtr vboxDomainLookupByUUID(virConnectPtr conn,
|
||||
virDrvOpenStatus vboxNetworkOpen(virConnectPtr conn,
|
||||
virConnectAuthPtr auth,
|
||||
unsigned int flags);
|
||||
int vboxNetworkClose(virConnectPtr conn);
|
||||
|
||||
/* Version specified functions for installing uniformed API */
|
||||
void vbox22InstallUniformedAPI(vboxUniformedAPI *pVBoxAPI);
|
||||
|
Loading…
x
Reference in New Issue
Block a user