This series requires the qemu 3.0.0 capabilities that I've sent with
https://www.redhat.com/archives/libvir-list/2018-July/msg00454.html
Peter Krempa (4):
tests: qemuxml2argv: Unify all tests for disk error policy
tests: qemuxml2argv: Add CAPS_LATEST version for the disk error policy
test
qemu: capabilities: Add capability for werror/rerror for 'usb-device'
frontend
qemu: command: Format rerror/werror with -device instead of -drive
src/qemu/qemu_capabilities.c | 2 ++
src/qemu/qemu_capabilities.h | 1 +
src/qemu/qemu_command.c | 6 +++-
tests/qemucapabilitiesdata/caps_3.0.0.x86_64.xml | 1 +
.../disk-drive-error-policy-enospace.args | 30 ----------------
.../disk-drive-error-policy-enospace.xml | 37 -------------------
.../disk-drive-error-policy-stop.args | 30 ----------------
.../disk-drive-error-policy-stop.xml | 37 -------------------
...t-rignore.args => disk-drive-error-policy.args} | 9 +++--
.../disk-drive-error-policy.x86_64-latest.args | 41 ++++++++++++++++++++++
...ort-rignore.xml => disk-drive-error-policy.xml} | 13 ++++---
tests/qemuxml2argvtest.c | 5 ++-
.../disk-drive-error-policy-enospace.xml | 41 ----------------------
.../disk-drive-error-policy-stop.xml | 41 ----------------------
...ort-rignore.xml => disk-drive-error-policy.xml} | 13 ++++---
tests/qemuxml2xmltest.c | 4 +--
16 files changed, 77 insertions(+), 234 deletions(-)
delete mode 100644 tests/qemuxml2argvdata/disk-drive-error-policy-enospace.args
delete mode 100644 tests/qemuxml2argvdata/disk-drive-error-policy-enospace.xml
delete mode 100644 tests/qemuxml2argvdata/disk-drive-error-policy-stop.args
delete mode 100644 tests/qemuxml2argvdata/disk-drive-error-policy-stop.xml
rename tests/qemuxml2argvdata/{disk-drive-error-policy-wreport-rignore.args =>
disk-drive-error-policy.args} (73%)
create mode 100644 tests/qemuxml2argvdata/disk-drive-error-policy.x86_64-latest.args
rename tests/qemuxml2argvdata/{disk-drive-error-policy-wreport-rignore.xml =>
disk-drive-error-policy.xml} (75%)
delete mode 100644 tests/qemuxml2xmloutdata/disk-drive-error-policy-enospace.xml
delete mode 100644 tests/qemuxml2xmloutdata/disk-drive-error-policy-stop.xml
rename tests/qemuxml2xmloutdata/{disk-drive-error-policy-wreport-rignore.xml =>
disk-drive-error-policy.xml} (78%)
--
2.16.2