]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2(argv|xml)test: Modernize 'sound-device' case
authorPeter Krempa <pkrempa@redhat.com>
Tue, 9 May 2023 11:13:19 +0000 (13:13 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 9 May 2023 13:12:03 +0000 (15:12 +0200)
commitd6d4cfa5fcbbe8b74c6ecd3292a9fa21998415c7
tree82b18cdfe6e08056c7bfc4fad35c3bbd2952b6e1
parent351504744e18fdcf5cca8835665887f5287aae0c
qemuxml2(argv|xml)test: Modernize 'sound-device' case

Drop the unnecessary disk definition and use x86_64 emulator.

For 'qemuxml2argvtest' replace the fake-caps invocation by a 4.2.0
version-locked invocation and  add a '_CAPS_LATEST' invocation.

For 'qemuxml2xmltest' convert to use '_CAPS_LATEST' only.

There are no sound-device relevant changes in the output files.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvdata/sound-device.x86_64-4.2.0.args [moved from tests/qemuxml2argvdata/sound-device.args with 82% similarity]
tests/qemuxml2argvdata/sound-device.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/sound-device.xml
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/sound-device.x86_64-latest.xml [moved from tests/qemuxml2xmloutdata/sound-device.xml with 83% similarity]
tests/qemuxml2xmltest.c