[Libguestfs] [PATCH v2] launch: add support for autodetection of appliance image format

Richard W.M. Jones rjones at redhat.com
Thu Feb 6 16:29:18 UTC 2020


On Thu, Feb 06, 2020 at 04:16:46PM +0000, Richard W.M. Jones wrote:
> On Tue, Jun 27, 2017 at 07:42:20PM +0300, Pavel Butsykin wrote:
> > This feature allows you to use different image formats for the fixed
> > appliance. The raw format is used by default.
> 
> I wonder if you're stil using this feature?
> 
> Unfortunately because of a recent change in libvirt it is no longer
> possible to have a backing file where libvirt will autodetect the
> format.  See:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1798148#c3
> 
> Therefore the only way to actually do this now would be either for
> libguestfs to detect the format (there is an API for this:
> guestfs_disk_format), or else to hard code the format in the
> ./configure option.
> 
> In any case I will need to revert this until we can think of something
> else (if you still need the feature) because it will simply break with
> libvirt >= 6.0.

Actually I can think of a way where we wouldn't need to revert this.
However I'm still interested in whether you are using this feature or
not.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list