1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-27 07:22:07 +03:00
libvirt/tests/qemudomainsnapshotxml2xmlout
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
..
all_parameters.xml
disk_driver_name_null.xml
disk_snapshot_redefine.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
disk_snapshot.xml
disk-seclabel.xml
empty.xml
external_vm_redefine.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
external_vm.xml
full_domain.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
metadata.xml qemu: populate <audio> element with default config 2021-03-09 22:58:30 +00:00
name_and_description.xml
noparent_nodescription_noactive.xml
noparent_nodescription.xml
noparent.xml
qcow2-metadata-cache.xml conf: snapshot: Add support for <metadata_cache> 2021-01-08 15:27:00 +01:00