On 31/01/2019 17.46, Christophe Fergeau wrote: > qemu-io reimplements itself what > error_get_progname()/error_set_progname() already does. > This commit switches it to use this API from qemu-error.h > > Signed-off-by: Christophe Fergeau <cferg...@redhat.com> > Reviewed-by: Eric Blake <ebl...@redhat.com> > Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
This patch causes some qemu-iotests to fail now, e.g.: cd tests/qemu-iotests ./check -qcow2 114 [...] 114 0s ... - output mismatch (see 114.out.bad) --- /home/thuth/devel/qemu/tests/qemu-iotests/114.out 2019-04-23 16:43:12.000000000 +0200 +++ /home/thuth/tmp/qemu-build/tests/qemu-iotests/114.out.bad 2019-04-25 12:27:47.000000000 +0200 @@ -7,7 +7,7 @@ cluster_size: 65536 backing file: TEST_DIR/t.IMGFMT.base backing file format: foo -can't open device TEST_DIR/t.qcow2: Could not open backing file: Unknown driver 'foo' +qemu-io: can't open device TEST_DIR/t.qcow2: Could not open backing file: Unknown driver 'foo' no file open, try 'help open' read 4096/4096 bytes at offset 0 4 KiB, X ops; XX:XX:XX.X (XXX YYY/sec and XXX ops/sec) Could you please have a look? Thomas