[PATCH 4/4] util: qcow2GetExtensions: Remove support for 'data file' extension

Eric Blake eblake at redhat.com
Fri Apr 24 14:52:00 UTC 2020


On 4/24/20 4:24 AM, Peter Krempa wrote:
> The implementation was never finished in libvirt. Remove it.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   src/util/virstoragefile.c | 19 ++-----------------
>   1 file changed, 2 insertions(+), 17 deletions(-)

Shouldn't we at least recognize if there is a qcow2 file with the 
extension header set, at which point we can error out and tell the user 
their image is unsupported, rather than trying to use it without the 
data file?

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org




More information about the libvir-list mailing list