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