On Tue, Sep 27, 2011 at 12:55 PM, Richard W.M. Jones <rjo...@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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to