summary refs log tree commit diff stats
path: root/python/qemu/machine/machine.py
diff options
context:
space:
mode:
authorKlaus Jensen <k.jensen@samsung.com>2021-06-17 21:06:47 +0200
committerKlaus Jensen <k.jensen@samsung.com>2021-06-29 07:16:25 +0200
commit38f4ac65ac88ebf4f1869c1361f40b1817b4a39c (patch)
tree9fdad6e6b8b8f6b3f8924eaacd23c416f7690bb0 /python/qemu/machine/machine.py
parent3276dde4f262588f3645f2adbc84d07cb6981d3e (diff)
downloadfocaccia-qemu-38f4ac65ac88ebf4f1869c1361f40b1817b4a39c.tar.gz
focaccia-qemu-38f4ac65ac88ebf4f1869c1361f40b1817b4a39c.zip
hw/nvme: reimplement flush to allow cancellation
Prior to this patch, a broadcast flush would result in submitting
multiple "fire and forget" aios (no reference saved to the aiocbs
returned from the blk_aio_flush calls).

Fix this by issuing the flushes one after another.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'python/qemu/machine/machine.py')
0 files changed, 0 insertions, 0 deletions