Il 03/06/2014 15:38, Stefano Stabellini ha scritto:
Thanks, this sounds like the best option by far.

I noticed that "-soundhw hda" becomes "-device intel-hda".

Given that the VM config file exports a soundhw paramter, we would need
a programmatic way to get the -device command line option from the
soundhw paramter. Is there a way to do that?

A table. :)

-soundhw        corresponding -device syntax
---------------------------------------------------------
ac97            -device AC97
adlib           -device adlib
cs4231a         -device cs4231a
es1370          -device ES1370
gus             -device gus
hda             -device intel-hda,id=libxl-intel-hda \
                -device hda-duplex,bus=libxl-intel-hda.0
pcspk           -device isa-pcspk
sb16            -device sb16

(To review it start with "git grep _register_soundhw").

Paolo

Reply via email to