All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Fix: remove bogus QDECREF()
@ 2014-02-13 16:22 Benoît Canet
  2014-02-13 16:22 ` [Qemu-devel] [PATCH] blockdev: Fix wrong usage of QDECREF causing snapshoted quorum to crash on close Benoît Canet
  0 siblings, 1 reply; 4+ messages in thread
From: Benoît Canet @ 2014-02-13 16:22 UTC (permalink / raw)
  To: qemu-devel; +Cc: kwolf, Benoît Canet

This extra QDECREF() was causing quorum_close() to crash while doing
bdrv_unref().

As the optional options qdict should belong to the block layer so do not use
QDECREF() on it.

I tested the following inti and qemu exit sequences.

tested regular snapshots on device=virtio0 ok
tested command line quorum ok
tested command line quorum + snapshot transaction ok
tested quorum open by reference ok
tested quorum open by reference + snapshot transaction ok
tested quorum open at once ok
tested quorum open at once + snapshot transaction ok

Benoît Canet (1):
  blockdev: Fix wrong usage of QDECREF causing snapshoted quorum to
    crash on close.

 blockdev.c | 2 --
 1 file changed, 2 deletions(-)

-- 
1.8.3.2

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

end of thread, other threads:[~2014-02-14 15:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-13 16:22 [Qemu-devel] [PATCH] Fix: remove bogus QDECREF() Benoît Canet
2014-02-13 16:22 ` [Qemu-devel] [PATCH] blockdev: Fix wrong usage of QDECREF causing snapshoted quorum to crash on close Benoît Canet
2014-02-14 10:01   ` Kevin Wolf
2014-02-14 15:30   ` Stefan Hajnoczi

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.