]> Git Repo - qemu.git/commit
scsi: Assign cancel_io vector for scsi_disk_emulate_ops
authorPaolo Bonzini <[email protected]>
Wed, 15 Jan 2014 09:35:36 +0000 (10:35 +0100)
committerPaolo Bonzini <[email protected]>
Wed, 15 Jan 2014 09:36:06 +0000 (10:36 +0100)
commit33325a53f15ab5370e1917b2a11cadffc77c5a52
tree503b2aa03f2b2375614da3d6f02b5a9ccd8868af
parent1cf892ca2689c84960b4ce4d2723b6bee453711c
scsi: Assign cancel_io vector for scsi_disk_emulate_ops

Some emulated disk operations (MODE SELECT, UNMAP, WRITE SAME)
can trigger asynchronous I/Os.  Provide the cancel_io callback
to ensure that AIOCBs are properly cleaned up.

Signed-off-by: Eric Farman <[email protected]>
Cc: [email protected]
[Tweak commit message. - Paolo]
Signed-off-by: Paolo Bonzini <[email protected]>
hw/scsi/scsi-disk.c
This page took 0.027274 seconds and 4 git commands to generate.