[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH for-7.0 0/2] block/vmdk: Fix reopening bs->file
From: |
Hanna Reitz |
Subject: |
[PATCH for-7.0 0/2] block/vmdk: Fix reopening bs->file |
Date: |
Mon, 14 Mar 2022 17:27:17 +0100 |
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
- [PATCH for-7.0 0/2] block/vmdk: Fix reopening bs->file,
Hanna Reitz <=