iotests: add 208 nbd-server + blockdev-snapshot-sync test case

This test case adds an NBD server export and then invokes
blockdev-snapshot-sync, which changes the BlockDriverState node that the
NBD server's BlockBackend points to.  This is an interesting scenario to
test and exercises the code path fixed by the previous commit.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20180306204819.11266-3-stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
Stefan Hajnoczi 2018-03-12 16:04:39 -05:00 committed by Eric Blake
parent d03654eacd
commit 44a8174e0a
3 changed files with 65 additions and 0 deletions

View file

@ -204,3 +204,4 @@
205 rw auto quick
206 rw auto
207 rw auto
208 rw auto quick