aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2019-03-12 12:05:48 -0400
committerJohn Snow <jsnow@redhat.com>2019-03-12 12:05:48 -0400
commit3b78a92776bf1199b6864f2f38d9d341fb741f36 (patch)
tree50d7ec82fc652efa93dc9bc51e1b1c9db6d63c57 /block
parent8b2e20f64f25a5bf9a7cd45b4babdf2d7416f7ad (diff)
downloadqemu-3b78a92776bf1199b6864f2f38d9d341fb741f36.zip
qemu-3b78a92776bf1199b6864f2f38d9d341fb741f36.tar.gz
qemu-3b78a92776bf1199b6864f2f38d9d341fb741f36.tar.bz2
nbd: change error checking order for bitmaps
Check that the bitmap is not in use prior to it checking if it is not enabled/recording guest writes. The bitmap being busy was likely at the behest of the user, so this error has a greater chance of being understood by the user. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-id: 20190223000614.13894-6-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions