change vm sound

rollback lockfile (vm broke)
This commit is contained in:
Gerg-L 2024-02-03 16:15:19 -05:00
parent 87f75eb925
commit 4149443b66
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
8 changed files with 70 additions and 64 deletions

View file

@ -1,4 +1,4 @@
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<domain type='kvm'>
<name>Windows</name>
<uuid>035e02d8-04d3-05e5-4706-900700080009</uuid>
<memory unit='KiB'>16777216</memory>
@ -24,7 +24,7 @@
<emulatorpin cpuset='8-15,24-31'/>
</cputune>
<os>
<type arch='x86_64' machine='pc-q35-8.0'>hvm</type>
<type arch='x86_64' machine='pc-q35-8.2'>hvm</type>
<loader readonly='yes' type='pflash'>/run/libvirt/nix-ovmf/OVMF_CODE.fd</loader>
<nvram template='/run/libvirt/nix-ovmf/OVMF_VARS.fd'>/var/lib/libvirt/qemu/nvram/Windows_VARS.fd</nvram>
<boot dev='hd'/>
@ -193,7 +193,13 @@
</input>
<input type='mouse' bus='ps2'/>
<input type='keyboard' bus='ps2'/>
<audio id='1' type='none'/>
<sound model='ich9'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x1b' function='0x0'/>
</sound>
<audio id='1' type='pipewire' runtimeDir='/run/user/1000'>
<input name='@DEFAULT_SINK@' streamName='win10-in'/>
<output name='@DEFAULT_SOURCE@' streamName='win10-out'/>
</audio>
<hostdev mode='subsystem' type='pci' managed='yes'>
<source>
<address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>
@ -209,14 +215,4 @@
<watchdog model='itco' action='reset'/>
<memballoon model='none'/>
</devices>
<qemu:commandline>
<qemu:arg value='-audiodev'/>
<qemu:arg value='pipewire,id=audio0'/>
<qemu:arg value='-device'/>
<qemu:arg value='intel-hda,addr=0x1b'/>
<qemu:arg value='-device'/>
<qemu:arg value='hda-duplex,audiodev=audio0'/>
<qemu:env name='PIPEWIRE_RUNTIME_DIR' value='/run/user/1000'/>
</qemu:commandline>
</domain>