All of lore.kernel.org
 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; 10+ 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] 10+ messages in thread
* [Qemu-devel] [FIX V2] Fix broken external snapshots
@ 2014-02-10 21:49 Benoît Canet
  2014-02-10 21:49 ` [Qemu-devel] [FIX V2] block: Fix device snapshots broken by the block filter snapshots patchset Benoît Canet
  0 siblings, 1 reply; 10+ messages in thread
From: Benoît Canet @ 2014-02-10 21:49 UTC (permalink / raw)
  To: qemu-devel
  Cc: kwolf, Benoît Canet, famz, jcody, armbru, mreitz, stefanha

This is a more cleaner version of the patch repairing the externals snapshots
broken after the introduction of block filters snapshots.

It's based on the presence of the authorization table in the filters.

Forget the first post I was just ashamed an wanted to repair the damage asap.

Best regards

Benoît

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

 block.c | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

-- 
1.8.3.2

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

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

Thread overview: 10+ 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
  -- strict thread matches above, loose matches on Subject: below --
2014-02-10 21:49 [Qemu-devel] [FIX V2] Fix broken external snapshots Benoît Canet
2014-02-10 21:49 ` [Qemu-devel] [FIX V2] block: Fix device snapshots broken by the block filter snapshots patchset Benoît Canet
2014-02-11  8:12   ` Fam Zheng
2014-02-12 19:49     ` Benoît Canet
2014-02-12 21:43       ` Benoît Canet
2014-02-13  1:42         ` Benoît Canet
2014-02-13  8:27       ` Kevin Wolf

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.