virtio-blk: allow block_resize with dataplane
commit466560b9fcada2656b276eb30e25da15a6e706df
authorStefan Hajnoczi <stefanha@redhat.com>
Mon, 18 Aug 2014 13:52:29 +0000 (18 14:52 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 20 Aug 2014 09:53:52 +0000 (20 11:53 +0200)
treefd04cce0f35449f6cf36fec27426e4fc930e189a
parent927e0e769f4008f458de8a94a809e85c1fd016eb
virtio-blk: allow block_resize with dataplane

Now that block_resize acquires the AioContext we can safely allow
resizing the disk.

Reported-by: Andrey Korolyov <andrey@xdel.ru>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hw/block/dataplane/virtio-blk.c