Ján Tomko wrote:
On 06/29/2014 06:06 PM, Roman Bogorodskiy wrote:
> Try to reconnect to the running domains after libvirtd restart. To
> achieve that, do:
...
> @@ -1207,9 +1218,16 @@ bhyveStateInitialize(bool priveleged
ATTRIBUTE_UNUSED,
> NULL, NULL) < 0)
> goto cleanup;
>
> + conn = virConnectOpen("bhyve:///system");
The connection does not seem to be used anywhere.
QEMU driver uses it for:
qemuTranslateDiskSourcePool
qemuProcessFiltersInstantiate
qemuProcessRecoverJob
Neither of which is done in the bhyve driver.
ACK with the conn removed.
Removed 'conn' and pushed; thanks!
Roman Bogorodskiy