libvirt/tests/qemuhotplugtestcpus
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
..
ppc64-modern-bulk-domain.xml
ppc64-modern-bulk-monitor.json qemuhotplugtestcpus: Always use 'query-cpus-fast' 2020-03-05 11:31:38 +01:00
ppc64-modern-bulk-result-conf.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
ppc64-modern-bulk-result-live.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
ppc64-modern-individual-domain.xml
ppc64-modern-individual-monitor.json qemuhotplugtestcpus: Always use 'query-cpus-fast' 2020-03-05 11:31:38 +01:00
ppc64-modern-individual-result-conf.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
ppc64-modern-individual-result-live.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
x86-modern-bulk-domain.xml
x86-modern-bulk-monitor.json qemuhotplugtestcpus: Always use 'query-cpus-fast' 2020-03-05 11:31:38 +01:00
x86-modern-bulk-result-conf.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
x86-modern-bulk-result-live.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
x86-modern-individual-add-domain.xml
x86-modern-individual-add-monitor.json qemuhotplugtestcpus: Always use 'query-cpus-fast' 2020-03-05 11:31:38 +01:00
x86-modern-individual-add-result-conf.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
x86-modern-individual-add-result-live.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
x86-old-bulk-domain.xml
x86-old-bulk-monitor.json qemuhotplugtestcpus: Always use 'query-cpus-fast' 2020-03-05 11:31:38 +01:00
x86-old-bulk-result-conf.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
x86-old-bulk-result-live.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00