diff options
| author | John Snow | 2019-03-12 17:05:48 +0100 |
|---|---|---|
| committer | John Snow | 2019-03-12 17:05:48 +0100 |
| commit | 3b78a92776bf1199b6864f2f38d9d341fb741f36 (patch) | |
| tree | 50d7ec82fc652efa93dc9bc51e1b1c9db6d63c57 /include | |
| parent | block/dirty-bitmap: change semantics of enabled predicate (diff) | |
| download | qemu-3b78a92776bf1199b6864f2f38d9d341fb741f36.tar.gz qemu-3b78a92776bf1199b6864f2f38d9d341fb741f36.tar.xz qemu-3b78a92776bf1199b6864f2f38d9d341fb741f36.zip | |
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 'include')
0 files changed, 0 insertions, 0 deletions
