[LAU] Audio in KVM?

Arnold Krille arnold at arnoldarts.de
Fri Nov 8 20:11:46 UTC 2013

Am Thu, 7 Nov 2013 00:18:53 -0800
schrieb Ken Restivo <ken at restivo.org>:
> Has anyone successfully gotten audio to work from inside of a KVM VM?
> Is there any special magick I need to do to get this happening?

kvm allows to forward both pci and usb devices into virtual machines.
For usb its limited to usb1 but for playing back 2 channels, that
should be enough and it can be configured without restarting the host

Or you could do a minimal jack+jacknet setup on the host and send the
audio from guest to host via network.

> Also, I understand that if I'm not running a RT kernel on the host
> machine, I won't get RT performance on the VM's, but I don't think I
> need that for mixing. Are there any reasons why running say an Ingo
> kernel inside a KVM box wouldn't work?

I don't see why it shouldn't work. But if your host doesn't provide
RT to the guest, why go the hazzle with the guest?

- Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-user/attachments/20131108/c725774c/attachment.pgp>

More information about the Linux-audio-user mailing list