mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 09:14:57 +00:00
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>
54 lines
1.6 KiB
XML
54 lines
1.6 KiB
XML
<domain type='qemu'>
|
|
<name>QEMUGuest1</name>
|
|
<uuid>87eedafe-eedc-4336-8130-ed9fe5dc90c8</uuid>
|
|
<memory unit='KiB'>2097152</memory>
|
|
<currentMemory unit='KiB'>2097152</currentMemory>
|
|
<vcpu placement='static'>8</vcpu>
|
|
<numatune>
|
|
<memnode cellid='0' mode='strict' nodeset='1'/>
|
|
<memnode cellid='1' mode='strict' nodeset='2'/>
|
|
</numatune>
|
|
<os>
|
|
<type arch='ppc64' machine='pseries'>hvm</type>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<cpu>
|
|
<topology sockets='2' dies='1' cores='1' threads='4'/>
|
|
<numa>
|
|
<cell id='0' cpus='0-3' memory='1048576' unit='KiB'/>
|
|
<cell id='1' cpus='4-7' memory='1048576' unit='KiB'/>
|
|
</numa>
|
|
</cpu>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-ppc64</emulator>
|
|
<controller type='usb' index='0' model='none'/>
|
|
<controller type='pci' index='0' model='pci-root'>
|
|
<model name='spapr-pci-host-bridge'/>
|
|
<target index='0'/>
|
|
</controller>
|
|
<controller type='pci' index='1' model='pci-root'>
|
|
<model name='spapr-pci-host-bridge'/>
|
|
<target index='1'>
|
|
<node>1</node>
|
|
</target>
|
|
</controller>
|
|
<controller type='pci' index='2' model='pci-root'>
|
|
<model name='spapr-pci-host-bridge'/>
|
|
<target index='2'/>
|
|
</controller>
|
|
<controller type='pci' index='3' model='pci-root'>
|
|
<model name='spapr-pci-host-bridge'/>
|
|
<target index='3'>
|
|
<node>0</node>
|
|
</target>
|
|
</controller>
|
|
<audio id='1' type='none'/>
|
|
<memballoon model='none'/>
|
|
<panic model='pseries'/>
|
|
</devices>
|
|
</domain>
|