summaryrefslogtreecommitdiffstats
path: root/linux-headers/linux
diff options
context:
space:
mode:
authorStefan Hajnoczi2014-05-14 16:22:47 +0200
committerStefan Hajnoczi2014-06-04 09:56:12 +0200
commitb15446fdbf4ac2b29f6ee5080630a80715abfc20 (patch)
tree8898c63d88b9b5fd673a5fae6e27d95712b48135 /linux-headers/linux
parentthrottle: add detach/attach test case (diff)
downloadqemu-b15446fdbf4ac2b29f6ee5080630a80715abfc20.tar.gz
qemu-b15446fdbf4ac2b29f6ee5080630a80715abfc20.tar.xz
qemu-b15446fdbf4ac2b29f6ee5080630a80715abfc20.zip
blockdev: acquire AioContext in block_set_io_throttle
The block_set_io_throttle QMP and HMP commands modify I/O throttling limits for block devices. Acquire the BlockDriverState's AioContext to protect against race conditions with an IOThread that is running I/O for this device. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Benoit Canet <benoit@irqsave.net>
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions