qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: "Marcin Gibuła" <m.gibula@beyond.pl>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] qemu 2.0, deadlock in block-commit
Date: Thu, 22 May 2014 15:25:37 -0600	[thread overview]
Message-ID: <537E6B51.306@redhat.com> (raw)
In-Reply-To: <537E62CE.2050302@beyond.pl>

[-- Attachment #1: Type: text/plain, Size: 938 bytes --]

On 05/22/2014 02:49 PM, Marcin Gibuła wrote:
> Hi,
> 
> I've encountered deadlock in qemu during some stress testing. The test
> is making snapshots, committing them and constantly quering for block
> job info.

What is the exact command you used for triggering the block-commit?  Was
it via direct HMP or QMP, or indirect via libvirt? Were you trying to
commit the active layer? If so, libvirt doesn't yet support that (I'm
going to guarantee that libvirt 1.2.4 either supports it or rejects it
up front, depending on how hard the libvirt implementation turns out to
be), even though it was added in qemu 2.0 (it turns out that committing
the active layer is subtly different than committing intermediate
layers, and libvirt 1.2.3 wasn't prepared for the subtle difference and
thus gets stuck if you try it).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

  parent reply	other threads:[~2014-05-22 21:25 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-22 20:49 [Qemu-devel] qemu 2.0, deadlock in block-commit Marcin Gibuła
2014-05-22 21:05 ` Marcin Gibuła
2014-05-23  8:19   ` Paolo Bonzini
2014-05-23  8:21     ` Marcin Gibuła
2014-05-23  9:25     ` Marcin Gibuła
2014-05-23 12:29       ` Kevin Wolf
2014-05-23 12:38         ` Marcin Gibuła
2014-05-23 13:14           ` Marcin Gibuła
2014-05-23 13:18             ` Marcin Gibuła
2014-05-23 22:02             ` Marcin Gibuła
2014-05-22 21:25 ` Eric Blake [this message]
2014-05-22 21:43   ` Marcin Gibuła
2014-05-23 12:58 ` Stefan Hajnoczi
2014-05-23 16:25   ` Marcin Gibuła

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=537E6B51.306@redhat.com \
    --to=eblake@redhat.com \
    --cc=m.gibula@beyond.pl \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).