- I have tried to make the sound work between host as a debian + pipewire with KVM using SPICE and pipewire in the guest, i wasnt successful, no sound is ported to the host. Tested this with debian-12 .iso on KVM but result was the same.
@HulaHoop have you by any chance tried this?
- If i change SPICE to ALSA in VM configs, it will result into the same situation of virtualbox mentioned here:
- If i change it to pipewire
<audio id='1' type='pipewire'/>
it will not be acceptable by QEMU:
Error starting domain: internal error: process exited while connecting to monitor: 2024-09-04T18:13:40.241754Z qemu-system-x86_64: Unknown audio driver pipewire'. Perhaps you want to install qemu-system-gui package?
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 108, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
ret = fn(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1402, in startup
self._backend.create()
File "/usr/lib/python3/dist-packages/libvirt.py", line 1379, in create
raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: internal error: process exited while connecting to monitor: 2024-09-04T18:13:40.241754Z qemu-system-x86_64: Unknown audio driver pipewire'. Perhaps you want to install qemu-system-gui package?
So the user is without sound if he use pipewire on host and guest with KVM at the moment.