Davide, If you use KVM, it"s possible to enable audio. Please refer http://libvirt.org/formatdomain.html#elementsSound
Here is some infomation about how to enable it in nova: http://www.gossamer-threads.com/lists/openstack/operators/21302 Haven't test it, I think the steps should be: 1. cp /usr/lib/python2.7/dist-packages/*nova*/virt/libvirt.xml.template /etc/*nova/* 2. add next line to *nova*.conf --*libvirt_xml_template*=/etc/*nova*/libvirt.xml.template 3. Edit /etc/*nova*/libvirt.xml.template, add the following lines: <devices> <sound model='ich6'> <codec type='micro'/> <sound/> </devices> Hope this is helpful. Joey. 在 2013年1月11日星期五,Davide Guerri 写道: > Daniel, > let me explain what I'm trying to do. > I'm trying to setup a simple virtual desktop infrastructure on the top of > OpenStack using both Windows (7 only atm) and Linux guests. > > On Linux the missing audio board wouldn't be a problem since I'm planning > to use freeNX or x2go that in turn use an esound remote tcp connection > through ssh. > For windows guests (which I'm not an expert on) without an audio card > installed I'm facing the following problem: for some remote desktop clients > (CORD on OsX and Mocha RDP on iOS, for instance) seems there is no way to > enable sound if the guest isn't configured with an audio card. Other rdp > solutions (like the Microsoft RDC on OsX) use a "remote audio" device that > make audio output work but there is no way to "enable" audio recording. > A sound board like ich6 makes audio works as expected. > > In order to have a working simple VD solution I'll try to hack the code of > nova to add a sound card. > > Thanks again, > Davide. > > > > > On 11/gen/2013, at 12:59, Daniel P. Berrange > <berra...@redhat.com<javascript:;>> > wrote: > > > On Fri, Jan 11, 2013 at 12:29:35PM +0100, Davide Guerri wrote: > >> Hi all, > >> it's possible to add an audio card to the domain definition when using > libvirt/kvm? > >> If yes, how it can be done? > >> > >> I'm using the Folsom release. > > > > No, there isn't any support for audio devices in Nova / libvirt at this > > time. How were you anticipating using it. Outputting via the host sound > > card doesn't make sense, and I don't believe noVNC supports the VNC > > audio extension. AFAIK, gtk-vnc is the only common VNC client supporting > > audo, and that doesn't support the websockets tunnelling. > > > > So even if we allowed audio devices, I'm not clear how you'd make use of > it ? > > If you can show how it'd be useful, adding audio devices is an easy RFE > to > > take care of > > > > Daniel > > -- > > |: http://berrange.com -o- > http://www.flickr.com/photos/dberrange/ :| > > |: http://libvirt.org -o- > http://virt-manager.org :| > > |: http://autobuild.org -o- > http://search.cpan.org/~danberr/ :| > > |: http://entangle-photo.org -o- > http://live.gnome.org/gtk-vnc :| > > > _______________________________________________ > Mailing list: https://launchpad.net/~openstack > Post to : openstack@lists.launchpad.net <javascript:;> > Unsubscribe : https://launchpad.net/~openstack > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp