提交 fa23f9fc 编写于 作者: D Doug Goldstein

VMware: Do version detection earlier

Do VMware version detection earlier as future patches will need the
version information to populate capabilities correctly.
上级 9e7cfcb7
......@@ -166,6 +166,9 @@ vmwareConnectOpen(virConnectPtr conn,
goto cleanup;
}
if (vmwareExtractVersion(driver) < 0)
goto cleanup;
if (!(driver->domains = virDomainObjListNew()))
goto cleanup;
......@@ -178,9 +181,6 @@ vmwareConnectOpen(virConnectPtr conn,
if (vmwareLoadDomains(driver) < 0)
goto cleanup;
if (vmwareExtractVersion(driver) < 0)
goto cleanup;
conn->privateData = driver;
return VIR_DRV_OPEN_SUCCESS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册