From: Hanna Reitz <hreitz@redhat.com>
To: qemu-block@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>, Hanna Reitz <hreitz@redhat.com>,
qemu-devel@nongnu.org
Subject: [PATCH for-7.0 0/2] block/vmdk: Fix reopening bs->file
Date: Mon, 14 Mar 2022 17:27:17 +0100 [thread overview]
Message-ID: <20220314162719.65384-1-hreitz@redhat.com> (raw)
Hi,
A couple of months ago I noticed that changing a vmdk node’s file child
through blockdev-reopen would crash qemu. I started writing a fix at
some point, got distracted, but now here it is.
Hanna Reitz (2):
block/vmdk: Fix reopening bs->file
iotests/reopen-file: Test reopening file child
block/vmdk.c | 56 ++++++++++++++-
tests/qemu-iotests/tests/reopen-file | 88 ++++++++++++++++++++++++
tests/qemu-iotests/tests/reopen-file.out | 5 ++
3 files changed, 148 insertions(+), 1 deletion(-)
create mode 100755 tests/qemu-iotests/tests/reopen-file
create mode 100644 tests/qemu-iotests/tests/reopen-file.out
--
2.35.1
next reply other threads:[~2022-03-14 16:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-14 16:27 Hanna Reitz [this message]
2022-03-14 16:27 ` [PATCH for-7.0 1/2] block/vmdk: Fix reopening bs->file Hanna Reitz
2022-03-14 16:27 ` [PATCH for-7.0 2/2] iotests/reopen-file: Test reopening file child Hanna Reitz
2022-05-03 10:20 ` [PATCH for-7.0 0/2] block/vmdk: Fix reopening bs->file 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=20220314162719.65384-1-hreitz@redhat.com \
--to=hreitz@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 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).