diff options
| author | Klaus Jensen <k.jensen@samsung.com> | 2021-06-17 21:06:54 +0200 |
|---|---|---|
| committer | Klaus Jensen <k.jensen@samsung.com> | 2021-06-29 07:16:25 +0200 |
| commit | 796d20681d9bef4f863565f1a2f2dbe28e2322c7 (patch) | |
| tree | 9efd91615ef93385710941badfab04984ecb6364 /python/qemu/utils/__init__.py | |
| parent | f1c97407c5728e284b4e2b331e08c0d88ba568da (diff) | |
| download | focaccia-qemu-796d20681d9bef4f863565f1a2f2dbe28e2322c7.tar.gz focaccia-qemu-796d20681d9bef4f863565f1a2f2dbe28e2322c7.zip | |
hw/nvme: reimplement the copy command to allow aio cancellation
Before this patch the code would issue several aios simultaneously without saving a reference to the aiocb. Without the aiocb reference the individual copies cannot be canceled. Fix this by issuing copies of the ranges one after another. Signed-off-by: Klaus Jensen <k.jensen@samsung.com> Reviewed-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'python/qemu/utils/__init__.py')
0 files changed, 0 insertions, 0 deletions