[libvirt] [PATCH libvirt-tck] bhyve: reconnect to domains after libvirtd restart
Roman Bogorodskiy
bogorodskiy at gmail.com
Fri Jul 18 17:09:56 UTC 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140718/f6a3f9dd/attachment-0001.sig>
More information about the libvir-list
mailing list