summaryrefslogtreecommitdiffstats
path: root/hw/misc
diff options
context:
space:
mode:
authorKevin Wolf2017-08-15 15:07:38 +0200
committerEric Blake2017-08-15 17:03:27 +0200
commit3dff24f2dffc5f3aa46dc014122012848bd7959d (patch)
treeaa459063738332e70e97f05802b03cd219913cb1 /hw/misc
parentstubs: Add vm state change handler stubs (diff)
downloadqemu-3dff24f2dffc5f3aa46dc014122012848bd7959d.tar.gz
qemu-3dff24f2dffc5f3aa46dc014122012848bd7959d.tar.xz
qemu-3dff24f2dffc5f3aa46dc014122012848bd7959d.zip
nbd: Fix order of bdrv_set_perm and bdrv_invalidate_cache
The "inactive" state of BDS affects whether the permissions can be granted, we must call bdrv_invalidate_cache before bdrv_set_perm to support "-incoming defer" case. Reported-by: Christian Ehrhardt <christian.ehrhardt@canonical.com> Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <20170815130740.31229-3-famz@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'hw/misc')
0 files changed, 0 insertions, 0 deletions