qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v5 13/22] qemu-iotests: Fix output of test 051


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v5 13/22] qemu-iotests: Fix output of test 051
Date: Fri, 13 Dec 2013 21:21:49 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Am 13.12.2013 um 18:10 hat Max Reitz geschrieben:
> Allowing nested file formats now results in e.g. qcow2 BlockDriverStates
> never being directly passed to bdrv_open_common() from bdrv_file_open(),
> but instead being handed through bdrv_open(). This changes the error
> message when trying to give a filename to qcow2, i.e. trying to use it
> as a driver for the protocol level.
> 
> Signed-off-by: Max Reitz <address@hidden>
> ---
>  tests/qemu-iotests/051.out | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/qemu-iotests/051.out b/tests/qemu-iotests/051.out
> index 49e95a2..121ca66 100644
> --- a/tests/qemu-iotests/051.out
> +++ b/tests/qemu-iotests/051.out
> @@ -223,7 +223,7 @@ QEMU X.Y.Z monitor - type 'help' for more information
>  (qemu) qququiquit
>  
>  Testing: -drive file=TEST_DIR/t.qcow2,file.driver=qcow2
> -QEMU_PROG: -drive file=TEST_DIR/t.qcow2,file.driver=qcow2: could not open 
> disk image TEST_DIR/t.qcow2: Can't use 'qcow2' as a block driver for the 
> protocol level
> +QEMU_PROG: -drive file=TEST_DIR/t.qcow2,file.driver=qcow2: could not open 
> disk image TEST_DIR/t.qcow2: Block format 'qcow2' used by device '' doesn't 
> support the option 'filename'

Shows that our error messages aren't really good yet. bdrv_file_open()
shouldn't be talking about device names, it's the wrong layer. But
that's an unrelated problem.

Reviewed-by: Kevin Wolf <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]