summary refs log tree commit diff stats
path: root/hw/misc/mst_fpga.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2013-06-27 15:32:26 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2013-08-19 15:45:34 +0200
commite1b5c52e04d04bb93546c6e37e8884889d047cb1 (patch)
tree166141d7d610a7e2663c7286f0c39039a8eea90b /hw/misc/mst_fpga.c
parentf202039811d8746b0586d2fd5f61de6c8cf68056 (diff)
downloadfocaccia-qemu-e1b5c52e04d04bb93546c6e37e8884889d047cb1.tar.gz
focaccia-qemu-e1b5c52e04d04bb93546c6e37e8884889d047cb1.zip
block: ensure bdrv_drain_all() works during bdrv_delete()
In bdrv_delete() make sure to call bdrv_make_anon() *after* bdrv_close()
so that the device is still seen by bdrv_drain_all() when iterating
bdrv_states.

Cc: qemu-stable@nongnu.org
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions