qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Kashyap Chamarthy <kchamart@redhat.com>
To: Piotr Rybicki <piotr.rybicki@innervision.pl>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] external snapshots freezes block device since qemu 2.8
Date: Fri, 10 Mar 2017 15:49:28 +0100	[thread overview]
Message-ID: <20170310144928.h5ozia5cybxstuwc@eukaryote> (raw)
In-Reply-To: <7829c1dc-9138-c784-dcc5-3c46ec9b5c05@innervision.pl>

On Thu, Mar 09, 2017 at 11:11:09AM +0100, Piotr Rybicki wrote:
> Hello there.
> 
> I discovered, that since qemu 2.8 , external snapshots (very similar to:
> http://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit),

When I wrote this Wiki page, I tested it only with regular QCOW2 files
on EXT4 file system.

> freezes block device after:
> 
> # virsh blockcommit (...)
> 
> There is no error message after completion of the command above.
> I'm using gluster + ZFS fuse mount as a storage for a VM on gentoo.
> libvirt debug showed nothing helpful.
> With qemu <2.8 -: snapshots are working as expected.
> 
> Is this a known issue?
> Is it qemu or libvirt ?
> 
> If it helps, how can i diagnose this further?a

To see what libvirt is sending to QEMU, you can enable the debug log
filters, which can give some clue:

- In /etc/libvirt/libvirtd.conf, set these config attributes

    log_filters="1:libvirt 1:qemu 1:conf 1:security 3:event 3:json 3:file 3:object 1:util"
    log_outputs="1:file:/var/log/libvirt/libvirtd.log"

- Restart libvirtd:

    $ systemctl restart libvirtd

- Perform your `blockcommit` test.

PS: A gentle reminder -- when reporting upstream, you'll likely better
help if you at least test with the latest releases (libvirt-3.1.0, and
QEMU 2.8), if not from Git.

[...]

-- 
/kashyap

  parent reply	other threads:[~2017-03-10 14:49 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-08  8:26 [Qemu-devel] What's the next QEMU version after 2.9 ? (or: when is a good point in time to get rid of old interfaces) Thomas Huth
2017-03-08 10:03 ` Peter Maydell
2017-03-08 11:22   ` Thomas Huth
2017-03-08 11:24     ` Daniel P. Berrange
2017-03-09 12:33       ` Markus Armbruster
2017-03-09  2:21     ` Jason Wang
2017-03-09  8:50       ` Thomas Huth
2017-03-09  9:53         ` Jason Wang
2017-03-09 10:20           ` Yongbok Kim
2017-03-10 11:07             ` Jason Wang
2017-03-10 11:22               ` Peter Maydell
2017-03-10 11:53                 ` Thomas Huth
2017-03-10 11:58                   ` Yongbok Kim
2018-04-24 19:45                     ` Philippe Mathieu-Daudé
2017-03-09 10:11         ` [Qemu-devel] external snapshots freezes block device since qemu 2.8 Piotr Rybicki
2017-03-09 12:26           ` Dr. David Alan Gilbert
2017-04-05 22:18             ` John Snow
2017-04-06  9:25               ` Dr. David Alan Gilbert
2017-03-10 14:49           ` Kashyap Chamarthy [this message]
2017-03-10 15:44             ` Piotr Rybicki
2017-03-08 10:20 ` [Qemu-devel] What's the next QEMU version after 2.9 ? (or: when is a good point in time to get rid of old interfaces) Daniel P. Berrange
2017-03-08 11:19   ` Gerd Hoffmann
2017-04-12 13:47     ` Marc-André Lureau
2017-04-12 14:10       ` Gerd Hoffmann
2017-03-09 16:00 ` Kevin Wolf
2017-03-24 22:10 ` John Snow
2017-03-27  8:06   ` Thomas Huth
2017-03-27 12:01     ` Stefan Hajnoczi
2017-03-27 12:49       ` Peter Maydell
2017-04-03 14:19         ` Stefan Hajnoczi
2017-04-11 12:53           ` Markus Armbruster
2017-04-18  9:51             ` Stefan Hajnoczi
2017-04-18 11:57               ` Gerd Hoffmann
2017-04-18 17:18                 ` John Snow
2017-04-19  5:53                   ` Markus Armbruster
2017-04-19 10:35                     ` Gerd Hoffmann
2017-04-19 10:15                   ` Gerd Hoffmann
2017-04-19 23:08                     ` John Snow
2017-04-20  5:40                       ` Gerd Hoffmann
2017-04-20 11:10                         ` Philippe Mathieu-Daudé
2017-03-27 12:56       ` [Qemu-devel] Deprecating the -net option (was: What's the next QEMU version after 2.9 ? (or: when is a good point in time to get rid of old interfaces)) Thomas Huth
2017-03-27 13:09         ` [Qemu-devel] Deprecating the -net option Thomas Huth
2017-03-27 15:04           ` Paolo Bonzini
2017-03-27 19:04     ` [Qemu-devel] What's the next QEMU version after 2.9 ? (or: when is a good point in time to get rid of old interfaces) John Snow
2017-03-27 19:46       ` Thomas Huth
2017-03-29 16:21       ` [Qemu-devel] Deprecating old machine types Thomas Huth
2017-03-29 16:46         ` Dr. David Alan Gilbert
2017-03-29 16:54           ` Thomas Huth
2017-03-29 16:58           ` Paolo Bonzini
2017-03-29 21:42             ` Michael S. Tsirkin
2017-03-30  8:04             ` Gerd Hoffmann
2017-03-28 17:18     ` [Qemu-devel] Deprecating the -drive option is a good point in time to get rid of old interfaces) Kevin Wolf

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=20170310144928.h5ozia5cybxstuwc@eukaryote \
    --to=kchamart@redhat.com \
    --cc=piotr.rybicki@innervision.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).