qemu-block
[Top][All Lists]
Advanced

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

Re: -blockdev vs -snapshot bug


From: Philippe Mathieu-Daudé
Subject: Re: -blockdev vs -snapshot bug
Date: Tue, 31 May 2022 10:30:28 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.9.1

Cc'ing qemu-block@

On 13/5/22 20:54, Michael Tokarev wrote:
Hi!

Now here's something.. interesting.

I tested -blockdev here with a real image.  This way:

qemu-system-x86_64 ... -snapshot \
  -blockdev qcow2,node-name=q,file.driver=file,file.filename=w.qcow2 \
  -device ide-hd,drive=q

I always use -snapshot when testing something, not to damage the image.

And to my great surprise, the above command *did* damage my image.

It looks like -snapshot is entirely ignored by -blockdev.

This is quite a serious issue, to me anyway, - it is seriously
unexpected.

If it is intentional, I think an error should be thrown back
because the expectation is definitely different.

Or am I doing it wrong?

Thanks,

/mjt





reply via email to

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