[virt-tools-list] Plugins for virt-manager

Daniel P. Berrange berrange at redhat.com
Fri Sep 16 16:06:00 UTC 2016


On Fri, Sep 16, 2016 at 10:56:37AM -0500, David Ashley wrote:
> Does virt-manager support plugins? I have looked through the source code and
> can not find any supporting mechanism for this functionality. I have an idea
> for extending virt-manager but it would involve functionality that would
> only be useful for some users. I would hate to impose the overhead for this
> new functionality for all users so I think it should be implemented as a
> plugin.
> 
> I can add the plugin code to virt-manager once an architecture has been
> established. Obviously a lot of input would be needed to get this right.
> Would others be interested in contributing (ideas, code, testing, etc.) to
> this? Or is this even the correct way to add new functionality to
> virt-manager? is there a better way?
> 
> Discussion anyone?

The natural approach to plugins for any GTK app these days is to integrate
with libpeas. It would not relaly be all that much work. The harder thing
is deciding what kind of API gaurantees to provide plugin authors. eg will
changes in virt-manager break plugins on every release :-)


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the virt-tools-list mailing list