]> Git Repo - qemu.git/commit - hw/block/dataplane/virtio-blk.c
virtio-blk: data-plane: fix save/set .complete_request in start
authorMing Lei <[email protected]>
Sat, 12 Jul 2014 04:08:52 +0000 (12:08 +0800)
committerStefan Hajnoczi <[email protected]>
Tue, 15 Jul 2014 13:34:13 +0000 (15:34 +0200)
commite926d9b8c52d5ddf413617df4b341a3114642b14
treea9d4afe9be206ab470dad451481bc23520f143fa
parenta1abf40d6be2fc4b40d90ae3b46442f4a671776b
virtio-blk: data-plane: fix save/set .complete_request in start

The callback has to be saved and reset in virtio_blk_data_plane_start(),
otherwise dataplane's requests will be completed in qemu aio context.

Reviewed-by: Fam Zheng <[email protected]>
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
hw/block/dataplane/virtio-blk.c
This page took 0.024707 seconds and 4 git commands to generate.