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

Stefan Hajnoczi stefanha at gmail.com
Wed Sep 28 10:14:57 UTC 2011


On Tue, Sep 27, 2011 at 12:55 PM, Richard W.M. Jones <rjones at redhat.com> wrote:
> To put this all into one place:
>
> (1) An ugly new libvirt API that runs febootstrap-supermin-helper to
> create the appliance.
[...]
> I'm worried about item (1) in this list ...

This is the only instance where libvirt knows about libguestfs.  All
other steps are libguest only or involve libguestfs knowing about
libvirt.

Would it be possible introduce a "domain-builder" concept into
libvirt?  When libguestfs is installed it drops a domain-builder
configuration/script that libvirt can pick up.  Then you can say
something like virDomainBuild(name="guestfs-appliance",
builder="guestfs").

Does febootstrap-supermin-helper need to be dynamic or could
libguestfs create a /var/lib/guestfs/appliance-initramfs.gz on
install?  Then libguestfs on the client can create the appliance
domain and point at that static initramfs file path.

Stefan




More information about the libvir-list mailing list