summaryrefslogtreecommitdiffstats
path: root/hw/misc/mmio_interface.c
diff options
context:
space:
mode:
authorFam Zheng2017-08-15 15:07:39 +0200
committerEric Blake2017-08-15 17:03:28 +0200
commit5f7772c4d0cf32f4e779fcd5a69ae4dae24aeebf (patch)
treef7d1089fd77f52013bea4df6e69c6e170e618ec6 /hw/misc/mmio_interface.c
parentnbd: Fix order of bdrv_set_perm and bdrv_invalidate_cache (diff)
downloadqemu-5f7772c4d0cf32f4e779fcd5a69ae4dae24aeebf.tar.gz
qemu-5f7772c4d0cf32f4e779fcd5a69ae4dae24aeebf.tar.xz
qemu-5f7772c4d0cf32f4e779fcd5a69ae4dae24aeebf.zip
block-backend: Defer shared_perm tightening migration completion
As in the case of nbd_export_new(), bdrv_invalidate_cache() can be called when migration is still in progress. In this case we are not ready to tighten the shared permissions fenced by blk->disable_perm. Defer to a VM state change handler. Signed-off-by: Fam Zheng <famz@redhat.com> Message-Id: <20170815130740.31229-4-famz@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'hw/misc/mmio_interface.c')
0 files changed, 0 insertions, 0 deletions