Hi all! There is a new feature: reconnect on open. It is useful when start of vm and start of nbd server are not simple to sync.
This is based on "[PATCH 0/4] nbd reconnect new fixes" Based-on: <20200903190301.367620-1-vsement...@virtuozzo.com> Vladimir Sementsov-Ogievskiy (3): block/nbd: move initial connect to coroutine nbd: allow reconnect on open, with corresponding new options iotests: add 306 to test reconnect on nbd open block/nbd.c | 173 +++++++++++++++++++++++++--------- tests/qemu-iotests/306 | 46 +++++++++ tests/qemu-iotests/306.out | 5 + tests/qemu-iotests/group | 1 + tests/qemu-iotests/iotests.py | 11 +++ 5 files changed, 190 insertions(+), 46 deletions(-) create mode 100755 tests/qemu-iotests/306 create mode 100644 tests/qemu-iotests/306.out -- 2.21.3