[PATCH v2 0/5] Fix crash due to NBD export leak

Vladimir Sementsov-Ogievskiy posted 5 patches 3 years, 10 months ago
Test FreeBSD passed
Test docker-quick@centos7 passed
Test checkpatch passed
Test docker-mingw@fedora passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200701105331.121670-1-vsementsov@virtuozzo.com
Maintainers: Max Reitz <mreitz@redhat.com>, Eric Blake <eblake@redhat.com>, Kevin Wolf <kwolf@redhat.com>
There is a newer version of this series
nbd/server.c                  |  8 +++++
tests/qemu-iotests/299        | 65 +++++++++++++++++++++++++++++++++++
tests/qemu-iotests/299.out    | 10 ++++++
tests/qemu-iotests/group      |  1 +
tests/qemu-iotests/iotests.py | 15 +++++---
5 files changed, 95 insertions(+), 4 deletions(-)
create mode 100644 tests/qemu-iotests/299
create mode 100644 tests/qemu-iotests/299.out
[PATCH v2 0/5] Fix crash due to NBD export leak
Posted by Vladimir Sementsov-Ogievskiy 3 years, 10 months ago
Hi all!

We've faced crash bug, which is reproducing on master branch as well.
The case is described in 03, where fix is suggested.
New iotest in 05 crashes without that fix.

v2:
01: reword commit msg, add Eric's r-b
02: fix type in commit msg, add Eric's r-b
03: rewrite
v1:04 split into 04 (iotests.py improvement) and 05(new test)


Vladimir Sementsov-Ogievskiy (5):
  iotests: QemuIoInteractive: use qemu_io_args_no_fmt
  iotests.py: QemuIoInteractive: print output on failure
  nbd: make nbd_export_close_all() synchronous
  iotests.py: filter_testfiles(): filter SOCK_DIR too
  iotests: test shutdown when bitmap is exported through NBD

 nbd/server.c                  |  8 +++++
 tests/qemu-iotests/299        | 65 +++++++++++++++++++++++++++++++++++
 tests/qemu-iotests/299.out    | 10 ++++++
 tests/qemu-iotests/group      |  1 +
 tests/qemu-iotests/iotests.py | 15 +++++---
 5 files changed, 95 insertions(+), 4 deletions(-)
 create mode 100644 tests/qemu-iotests/299
 create mode 100644 tests/qemu-iotests/299.out

-- 
2.18.0