qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [FIX V2] repair snapshots
@ 2014-02-13  1:51 Benoît Canet
  2014-02-13  1:51 ` [Qemu-devel] [FIX V2] block: Fix device snapshots broken by the block filter snapshots patchset Benoît Canet
  0 siblings, 1 reply; 4+ messages in thread
From: Benoît Canet @ 2014-02-13  1:51 UTC (permalink / raw)
  To: qemu-devel
  Cc: kwolf, Benoît Canet, famz, jcody, armbru, mreitz, stefanha

This patch fix the snapshoting code.

When initially testing block filter snapshots patches and quorum I used a wrong
quorum command line which containned an extra top level "file."

As a result quorum was encapsulated in a top level bs.

This caused me to write and test against the wrong configuration and
break snapshot.

This patch implement Kevin sugestion for the fix.

I tested

snapshot of a Blockbackend: ex virtio0 ok
snapshot of a quorum file instantiated in the command line. ok
snapshot of a quorum file instantiated via blockdev_add by references ok
snapshot of a quorum file instianciated via blockdev without references ok

A comment update for quorum will be needed to avoid user to use the wrong
command line.

Benoît Canet (1):
  block: Fix device snapshots broken by the block filter snapshots
    patchset.

 block.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

-- 
1.8.3.2

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

end of thread, other threads:[~2014-02-13  8:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-13  1:51 [Qemu-devel] [FIX V2] repair snapshots Benoît Canet
2014-02-13  1:51 ` [Qemu-devel] [FIX V2] block: Fix device snapshots broken by the block filter snapshots patchset Benoît Canet
2014-02-13  8:33   ` Kevin Wolf
2014-02-13  8:44     ` Benoît Canet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).