All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 611640] [NEW] snapshot mode is broken for raw images
@ 2010-07-30 10:09 Victor Shkamerda
  2010-08-02  8:13 ` Markus Armbruster
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Victor Shkamerda @ 2010-07-30 10:09 UTC (permalink / raw)
  To: qemu-devel

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

-- 
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Qemu-devel] [Bug 611640] [NEW] snapshot mode is broken for raw images
  2010-07-30 10:09 [Qemu-devel] [Bug 611640] [NEW] snapshot mode is broken for raw images Victor Shkamerda
@ 2010-08-02  8:13 ` Markus Armbruster
  2010-09-12 17:04 ` [Qemu-devel] [Bug 611640] " Victor Shkamerda
  2011-02-20 17:14 ` Aurelien Jarno
  2 siblings, 0 replies; 4+ messages in thread
From: Markus Armbruster @ 2010-08-02  8:13 UTC (permalink / raw)
  To: Bug 611640; +Cc: Kevin Wolf, qemu-devel

Victor Shkamerda <611640@bugs.launchpad.net> writes:

> 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

git bisect points to

commit c33491978c5c4c746cc0272d5f2df50aa14d1f02
Author: Kevin Wolf <kwolf@redhat.com>
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] [Bug 611640] Re: snapshot mode is broken for raw images
  2010-07-30 10:09 [Qemu-devel] [Bug 611640] [NEW] snapshot mode is broken for raw images Victor Shkamerda
  2010-08-02  8:13 ` Markus Armbruster
@ 2010-09-12 17:04 ` Victor Shkamerda
  2011-02-20 17:14 ` Aurelien Jarno
  2 siblings, 0 replies; 4+ messages in thread
From: Victor Shkamerda @ 2010-09-12 17:04 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Fix Committed

-- 
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Qemu-devel] [Bug 611640] Re: snapshot mode is broken for raw images
  2010-07-30 10:09 [Qemu-devel] [Bug 611640] [NEW] snapshot mode is broken for raw images Victor Shkamerda
  2010-08-02  8:13 ` Markus Armbruster
  2010-09-12 17:04 ` [Qemu-devel] [Bug 611640] " Victor Shkamerda
@ 2011-02-20 17:14 ` Aurelien Jarno
  2 siblings, 0 replies; 4+ messages in thread
From: Aurelien Jarno @ 2011-02-20 17:14 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: Fix Committed => Fix Released

-- 
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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-02-20 17:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-30 10:09 [Qemu-devel] [Bug 611640] [NEW] snapshot mode is broken for raw images Victor Shkamerda
2010-08-02  8:13 ` Markus Armbruster
2010-09-12 17:04 ` [Qemu-devel] [Bug 611640] " Victor Shkamerda
2011-02-20 17:14 ` Aurelien Jarno

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.