[libvirt] libguestfs integration: rich disk access for libvirt applications

Daniel P. Berrange berrange at redhat.com
Tue Sep 27 12:00:27 UTC 2011


On Tue, Sep 27, 2011 at 12:55:19PM +0100, Richard W.M. Jones wrote:
> To put this all into one place:
> 
> (1) An ugly new libvirt API that runs febootstrap-supermin-helper to
> create the appliance.
> 
> (2) Modify guestfs_add_domain to launch a transient domain using
> virDomainCreate.  (Forget about the live case for the moment).
> 
> (3) A new libvirt API to open and forward a virtio-serial channel.
> This seems generally a useful thing.
> 
>   int virDomainOpenChannel(virStreamPtr, const char *channelid);
> 
> (4) libguestfs somehow has to access a virStreamPtr.  We can work this
> one out.
> 
> (5) libvirt will autoclose the domain for us when we close the
> virConnectPtr.

This all sounds like a good plan to aim for.


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 libvir-list mailing list