Comment 9 for bug 603802

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

Is it possible to postpone importing vboxapi until VBoxMachinesSource.initialize is called? (Then try to set VBoxMachinesSource.appleaf_content_id in the same function, I hope that works)

It would be good if we did not import vboxapi at all, especially when force_cli is configured. Remeber that in Python, importing a module is the same thing as executing a lot of code.

Also it would be cool if there is a way to unload & shut down vboxapi + daemons and call that in VBoxMachinesSource.finalize (this is called when the plugin is disabled). Of course we must only kill those daemons that we started. But that way the user can disable the plugin to solve the problem maybe(?)