snapshot mode is broken for raw images
Public bug reported:
The snapshot mode is not working if you use raw format for image instead of qcow2. Create a raw disk image by running "dd of=xxx.img bs=1 count=0 seek=8G". Then run "qemu -snapshot xxx.img". In monitor console run "info block". There should be qcow2 temporary image backed by the raw image. Now run "commit ide0-hd0" and after that again "info block". You should see now that there is no more image, so any operations on it will fail form now on. This is for latest HEAD in git.
** Affects: qemu
Importance: Undecided
Status: New
Signature · 9 lines
snapshot mode is broken for raw images https://bugs.launchpad.net/bugs/611640 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New Bug description: The snapshot mode is not working if you use raw format for image instead of qcow2. Create a raw disk image by running "dd of=xxx.img bs=1 count=0 seek=8G". Then run "qemu -snapshot xxx.img". In monitor console run "info block". There should be qcow2 temporary image backed by the raw image. Now run "commit ide0-hd0" and after that again "info block". You should see now that there is no more image, so any operations on it will fail form now on. This is for latest HEAD in git.
Quoted 10 lines · Victor Shkamerda
Public bug reported:
The snapshot mode is not working if you use raw format for image instead of qcow2. Create a raw disk image by running "dd of=xxx.img bs=1 count=0 seek=8G". Then run "qemu -snapshot xxx.img". In monitor console run "info block". There should be qcow2 temporary image backed by the raw image. Now run "commit ide0-hd0" and after that again "info block". You should see now that there is no more image, so any operations on it will fail form now on. This is for latest HEAD in git.
Quoted 3 lines
** Affects: qemu
Importance: Undecided
Status: New
git bisect points to
commit c33491978c5c4c746cc0272d5f2df50aa14d1f02
Author: Kevin Wolf <[email protected]> Date: Thu May 6 16:34:56 2010 +0200
block: Fix bdrv_commit
When reopening the image, don't guess the driver, but use the same driver as was used before. This is important if the format=... option was used for that image.
** Changed in: qemu
Status: New => Fix Committed
Signature · 9 lines
snapshot mode is broken for raw images https://bugs.launchpad.net/bugs/611640 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Fix Committed Bug description: The snapshot mode is not working if you use raw format for image instead of qcow2. Create a raw disk image by running "dd of=xxx.img bs=1 count=0 seek=8G". Then run "qemu -snapshot xxx.img". In monitor console run "info block". There should be qcow2 temporary image backed by the raw image. Now run "commit ide0-hd0" and after that again "info block". You should see now that there is no more image, so any operations on it will fail form now on. This is for latest HEAD in git.
** Changed in: qemu
Status: Fix Committed => Fix Released
Signature · 19 lines
You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/611640 Title: snapshot mode is broken for raw images Status in QEMU: Fix Released Bug description: The snapshot mode is not working if you use raw format for image instead of qcow2. Create a raw disk image by running "dd of=xxx.img bs=1 count=0 seek=8G". Then run "qemu -snapshot xxx.img". In monitor console run "info block". There should be qcow2 temporary image backed by the raw image. Now run "commit ide0-hd0" and after that again "info block". You should see now that there is no more image, so any operations on it will fail form now on. This is for latest HEAD in git.