[libvirt] Bugfix for failing to reconnect to vbox:///session

Pritesh Kothari Pritesh.Kothari at Sun.COM
Mon Jul 20 08:04:31 UTC 2009


> I don't think this is quite correct. We call VBoxCGlueInit()
> in the vboxRegister() function, which is run when libvirt first
> initializes the whole library.
>
> The real bug is the vboxClose() method which calls vboxUninitialize()
> which is then calling VBoxCGlueTerm(). So if you have many virConectPtr
> objects open, the first one you call virConnectClose on will
> shutdown the entire vbox library, breaking all the other virConnectPtr
> instances you have active.
>
> IMHO, we should simply delete VBoxCGlueTerm() completely.

Right the VBoxCGlueTerm() is causing the whole problem.
Resending the patch with changes as suggested above.

Regards,
Pritesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vbox_2009_07_20.patch
Type: text/x-patch
Size: 701 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090720/c47ff2e8/attachment-0001.bin>


More information about the libvir-list mailing list