You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to avoid exposing too many options for qmp.Monitor types that interact with libvirt, we may be able to mask them all behind a new parameter in the qmp.NewLibvirtMonitor constructor.
The shell driver is already implemented, and the native RPC driver is well underway. The cgo driver could be added in a future PR, and guarded with build tags to make it a no-op unless compiled with the correct tags.
The text was updated successfully, but these errors were encountered:
mdlayher
changed the title
Allow qmp.NewLibvirtMonitor to utilize multiple libvirt "drivers"
qmp: allow NewLibvirtMonitor to utilize multiple libvirt "drivers"
May 3, 2016
In order to avoid exposing too many options for
qmp.Monitor
types that interact with libvirt, we may be able to mask them all behind a new parameter in theqmp.NewLibvirtMonitor
constructor.Currently, the constructor looks like:
The proposed constructor could be something like:
Where
driver
could be one of the following:The shell driver is already implemented, and the native RPC driver is well underway. The cgo driver could be added in a future PR, and guarded with build tags to make it a no-op unless compiled with the correct tags.
The text was updated successfully, but these errors were encountered: