]> xenbits.xensource.com Git - libvirt.git/commit
qemuxml2argvtest: Add pre-blockdev post-werror-move version of 'disk-error-policy'
authorPeter Krempa <pkrempa@redhat.com>
Mon, 14 Feb 2022 13:22:04 +0000 (14:22 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 15 Feb 2022 08:28:57 +0000 (09:28 +0100)
commit2fd1262bf1438998651169df5d318e29d93fc0ea
treeb9dd0624ef553a61f789907f68b22bfedca2736d
parenta572a285abf4a54e7cea7dea7268d867bc5509c3
qemuxml2argvtest: Add pre-blockdev post-werror-move version of 'disk-error-policy'

Starting with qemu-3.0 release we use the 'werror' and 'rerror'
properties with the frontend (device) rather than the storage backend
(with a minor caveat of s390, where we use it earlier as it doesn't
 support USB disks, and other disk types supported it earlier).

Add specific test cases after the change, but before '-blockdev' was
enabled.

This is done separately from the changes in the next commit which simply
moves all other disk tests to the last pre-blockdev qemu as we have a
semantic change happening after 2.12.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvdata/disk-error-policy-s390x.s390x-4.0.0.args [new file with mode: 0644]
tests/qemuxml2argvdata/disk-error-policy.x86_64-4.1.0.args [new file with mode: 0644]
tests/qemuxml2argvtest.c