All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fam Zheng <famz@redhat.com>
To: kwolf@redhat.com, qemu-devel@nongnu.org
Cc: qemu-block@nongnu.org
Subject: [Qemu-devel] qemu-io aborts at quit after reopen
Date: Tue, 25 Apr 2017 23:13:17 +0800	[thread overview]
Message-ID: <20170425151317.GF13555@lemon.lan> (raw)

Hi Kevin,

This happens both on master and on your block-next tree:

    $ qemu-io -f raw null-co:// -c 'reopen -r'
    Unexpected error in bdrv_check_perm() at /stor/work/qemu/block.c:1437:
    Block node is read-only
    Aborted

It seems bs->read_only and perms go out of sync when bdrv_reopen() toggles the
former.

Something is missing here?

Fam

             reply	other threads:[~2017-04-25 15:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-25 15:13 Fam Zheng [this message]
2017-04-25 15:57 ` [Qemu-devel] [Qemu-block] qemu-io aborts at quit after reopen Alberto Garcia

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=20170425151317.GF13555@lemon.lan \
    --to=famz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-block@nongnu.org \
    --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 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.