[libvirt] Libvirt audio xml format

Cole Robinson crobinso at redhat.com
Sat Mar 7 17:07:15 UTC 2009


Simon Lambourn wrote:
> Hi, excuse the possible dumb question from a new KVM/Libvirt user - I'm
> very impressed overall but struggling to work out how to define an audio
> device in the libvirt xml.   I have a virtualised windows XP up &
> running, now want to add an audio device.   I can see how to do it in
> kvm and I believe audio devices are now supported in libvirt, but could
> not find documentation on how to write the xml.  
> System is Ubuntu 8.10 on AMD64.
> Thanks in anticipation.
> 

You want to stick:

<sound model='es1370'/>

in the <devices> section. Valid model values at the moment are es1370,
sb16, pcspk, ac97 (es1370 should just work windows XP).

Never realized it wasn't in the docs though, I'll write up a patch for that.

Thanks,
Cole




More information about the libvir-list mailing list