[Libvir] [PATCH] sound support for qemu and xen

Cole Robinson crobinso at redhat.com
Mon Apr 21 17:02:35 UTC 2008

The patch below adds xml support for the soundhw option to qemu
and xen. The new xml element takes the form:

<sound driver='drivername'/>

Where driver name can be pcspk, sb16, es1370, or all.

Everything seems to be in working order but I have a few
implementation questions:

1) Should multiple drivers be able to be specified? qemu
accommodates this, allowing  '-soundhw sb16,pcspk' for example.
If this should be allowed, what should the xml format be? 

2) Should acceptable driver options be hardcoded? The other option
is to just pass the input straight to qemu. This patch has the
options hardcoded.

Also I realize this will probably need to be rediff'd around
Dan's serial + parallel device patch, but I figured I would just
get this out there.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libvirt-sound-patch
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080421/62784a98/attachment-0001.ksh>

More information about the libvir-list mailing list