diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-11-19 14:19:42 +0000 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-12-10 10:25:30 +0100 |
commit | 4ef3982a99f9d2634588b4785c8d841605517946 (patch) | |
tree | fd5c7e0acef64bef0cbc2bd3154de8b72b83d7fd /block/qcow.c | |
parent | 2389eeae690b68e9d6a17cb10a5a7c7ec58009a1 (diff) | |
download | hqemu-4ef3982a99f9d2634588b4785c8d841605517946.zip hqemu-4ef3982a99f9d2634588b4785c8d841605517946.tar.gz |
blockdev: acquire AioContext in blockdev-snapshot-delete-internal-sync
Add dataplane support to the blockdev-snapshot-delete-internal-sync QMP
command. By acquiring the AioContext we avoid race conditions with the
dataplane thread which may also be accessing the BlockDriverState.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qcow.c')
0 files changed, 0 insertions, 0 deletions