提交 9e063799 编写于 作者: T Taowei 提交者: Michal Privoznik

vbox: Rewrite vboxNetworkClose

上级 cd7a5d89
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册