qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] qcow2 import error


From: Max Reitz
Subject: Re: [Qemu-discuss] qcow2 import error
Date: Tue, 11 Jun 2019 15:20:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0

On 11.06.19 15:11, Konstantinos Papadopoulos wrote:
> Well If I get the question correctly, you are asking about the output of
> the amended command?
> if so, please find the output below
> [root@overcloud-compute-6 nova]# qemu-img amend -f qcow2 -o compat=0.10
> aat-1.1-amend.qcow2 -p
>     (100.00/100%)
> 
> which by the way takes place spontaneously.

No, I’m asking what the "file" tool thinks of the file.  It should be
able to detect the qcow2 version. fpr example:

$ qemu-img create -f qcow2 foo.qcow2 64M
Formatting 'foo.qcow2', fmt=qcow2 size=67108864 cluster_size=65536
lazy_refcounts=off refcount_bits=16
$ file foo.qcow2
foo.qcow2: QEMU QCOW2 Image (v3), 67108864 bytes
$ qemu-img amend -f qcow2 -o compat=0.10 foo.qcow2
$ file foo.qcow2
foo.qcow2: QEMU QCOW2 Image (v2), 67108864 bytes

Note the "(v3)" vs. "(v2)".


I’m wondering whether the amend process is buggy or whether something
else is going on.

Max

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]