libvirt/tests/qemustatusxml2xmldata
Daniel P. Berrangé e88367095f qemu: populate <audio> element with default config
Currently the QEMU driver secretly sets the QEMU_AUDIO_DRV env variable

 - VNC - set to "none", unless passthrough of host env variable is set
 - SPICE - always set to "spice"
 - SDL - always passthrough host env
 - No graphics - set to "none", unless passthrough of host env variable is set

The setting of the QEMU_AUDIO_DRV env variable is done in the code which
configures graphics.

If no <audio> element is present, we now auto-populate <audio> elements
to reflect this historical default config. This avoids need to set audio
env when processing graphics.

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2021-03-09 22:58:30 +00:00
..
backup-pull-in.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
backup-pull-out.xml tests: qemustatusxml2xml: Add test for 'pull' type backup job 2019-12-10 12:41:57 +01:00
blockjob-blockdev-in.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
blockjob-blockdev-out.xml tests: qemustatusxml2xml: Add test case for block job tracking 2019-07-18 17:59:34 +02:00
blockjob-mirror-in.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
blockjob-mirror-out.xml tests: qemuxml2xml: Add proper domain status XML testing 2018-03-13 13:54:11 +01:00
migration-in-params-in.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
migration-in-params-out.xml qemuxml2xmltest: Add status XML tests for migration params 2018-04-17 10:46:23 +02:00
migration-out-nbd-bitmaps-in.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
migration-out-nbd-bitmaps-out.xml tests: qemustatusxml2xml: Add status XML from migration with bitmaps 2021-02-20 13:21:21 +01:00
migration-out-nbd-in.xml tests: qemu: Extend the test suite with the 'output' sound codec 2018-05-23 09:51:53 +02:00
migration-out-nbd-out.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
migration-out-nbd-tls-in.xml qemu: domain: Modify <migrationSource> to look like <disk> 2019-04-03 11:58:09 +02:00
migration-out-nbd-tls-out.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
migration-out-params-in.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
migration-out-params-out.xml qemuxml2xmltest: Add status XML tests for migration params 2018-04-17 10:46:23 +02:00
modern-in.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
modern-out.xml tests: qemuxml2xml: Add modern example of status XML to the test 2018-03-13 13:54:11 +01:00
upgrade-in.xml qemu: domain: Fill in (i)SCSI backend nodename if it is not present in status XML 2020-09-15 15:20:23 +02:00
upgrade-out.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
vcpus-multi-in.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
vcpus-multi-out.xml tests: qemuxml2xml: Add proper domain status XML testing 2018-03-13 13:54:11 +01:00