diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-05-14 16:22:47 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-06-04 09:56:12 +0200 |
commit | b15446fdbf4ac2b29f6ee5080630a80715abfc20 (patch) | |
tree | 8898c63d88b9b5fd673a5fae6e27d95712b48135 /block-migration.c | |
parent | 22524f726210f38298dfb1cefa30257133ad6b8c (diff) |
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 'block-migration.c')
0 files changed, 0 insertions, 0 deletions