You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Andrei Rusakov <an...@gmail.com> on 2022/05/29 14:05:52 UTC

Enable KVM Sound device

Hi,

We are using Cloudstack as a VDI solution with vGPU and GPU.
Is it possible to enable KVM sound/audio devices?

I try extraconfig



*<soundmodel='ich9'><codec type='micro'/><audio id='1'/></sound><audio
id='1'type='none'/>*

But it didn't work.

I can see
*... DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl]
(API-Job-Executor-17:ctx-1bc4c5e2 job-1792 ctx-23aee3e4) (logid:c4996a19)
Complete async job-1792, jobStatus: SUCCEEDED, resultCode: 0, result:
org.apache.cloudstack.api.response.UserVmResponse/virtualmachine/{"id":"f7bd736a-9ef5-4ae9-a95f-ca8e70926a6b"....*
*</sound> <audio id='1' type='none'/></devices>","mem ...*
in  management-server.log

Then, I check the XML dump on the KVM host.
I can see
* ... *

*<soundmodel='ich9'><codec type='micro'/><audio id='1'/></sound>*  * ... *
But
*... * *<audio id='1'type='none'/>*  * ... *
is missing.


The result Sound device is available in the guest VM, but no sound.


-- 

With best regards,
Andrei Rusakov