commit | 927e0e769f4008f458de8a94a809e85c1fd016eb | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Mon Aug 18 14:52:28 2014 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Wed Aug 20 11:53:42 2014 +0200 |
tree | a3ffc9b70aca58ac6afcc289c9e2cb2e565ecf27 | |
parent | 6ffb4cb6fd2046e2efb658fb0136e22e4cd0c670 [diff] |
block: acquire AioContext in qmp_block_resize() Make block_resize safe for dataplane where another thread may be running the BlockDriverState's AioContext. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>