hmp: acquire aio_context in hmp_qemu_io
commit479b5998d4149bef94a5900291b51804eff39a3d
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Wed, 8 Jun 2016 09:39:17 +0000 (8 12:39 +0300)
committerKevin Wolf <kwolf@redhat.com>
Thu, 16 Jun 2016 13:19:55 +0000 (16 15:19 +0200)
treef935da69b4926246a8502854f2d39d3f19a1b254
parent38a53d506be5efc83a33498948d8e6ba838dd836
hmp: acquire aio_context in hmp_qemu_io

Acquire aio context before run command, this is mandatory for unit tests.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Kevin Wolf <kwolf@redhat.com>
CC: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
hmp.c