On 09/01/2017 05:54 AM, Daniel P. Berrange wrote: > The LUKS driver requires extra args to QEMU to setup passwords. > The _launch_qemu function takes care of this, so convert the > test to use this function and use correct -drive syntax > > Signed-off-by: Daniel P. Berrange <[email protected]> > --- > tests/qemu-iotests/192 | 23 ++++++++++++++++------- > 1 file changed, 16 insertions(+), 7 deletions(-) >
>
> -{
> -echo "nbd_server_start unix:$TEST_DIR/nbd"
> -echo "nbd_server_add -w drive0"
> -echo "q"
> -} | $QEMU -nodefaults -display none -monitor stdio \
> - -drive format=$IMGFMT,file=$TEST_IMG,if=ide,id=drive0 \
> - -incoming defer 2>&1 | _filter_testdir | _filter_qemu | _filter_hmp
Can this test use QMP instead of HMP? But that's an independent question.
Reviewed-by: Eric Blake <[email protected]>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature
