提交 47b7f661 编写于 作者: D Daniel P. Berrange

Remove use of storagePrivateData/networkPrivateData from vbox

The vbox driver can use the main hypervisor private data and
so does not need to use the storage/network private data fields.
上级 7b1ba956
......@@ -102,17 +102,17 @@ vboxNetworkOpen(virConnectPtr conn,
goto cleanup;
VIR_DEBUG("network initialized");
/* conn->networkPrivateData = some network specific data */
return VIR_DRV_OPEN_SUCCESS;
cleanup:
return VIR_DRV_OPEN_DECLINED;
}
static int vboxNetworkClose(virConnectPtr conn)
static int vboxNetworkClose(virConnectPtr conn ATTRIBUTE_UNUSED)
{
VIR_DEBUG("network uninitialized");
conn->networkPrivateData = NULL;
return 0;
}
......
......@@ -58,14 +58,14 @@ vboxStorageOpen(virConnectPtr conn,
return VIR_DRV_OPEN_ERROR;
VIR_DEBUG("vbox storage initialized");
/* conn->storagePrivateData = some storage specific data */
return VIR_DRV_OPEN_SUCCESS;
}
static int vboxStorageClose(virConnectPtr conn)
static int vboxStorageClose(virConnectPtr conn ATTRIBUTE_UNUSED)
{
VIR_DEBUG("vbox storage uninitialized");
conn->storagePrivateData = NULL;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册