I sat down with Darren today and he demonstrated some issues with the audio option to runqemu: * There is no mention of the audio option in the script's help output * The runtime debug message that audio was enabled should be cleaned up (improve English) * The audio option doesn't always work depending on where it is placed in the list of command options
I do not have a means of reproducing this bug in time for a 1.1 fix. We do not build our QEMU binaries with PulseAudio support, and Ubuntu as of 10.10 no longer supports /dev/dsp for oss/alsa, as documented here: http://www.khattam.info/solved-cant-open-devdsp-in-ubuntu-10-10-maverick-meerkat-2010-06-09.html I've confirmed that running QEMU under the "padsp" utility does not help as a workaround. What this also means is that audio support cannot be made use of on Ubuntu hosts as of 10.10.
nhWhilst this is a nice idea, it likely needs changes to the scripts, the qemu configuration (with added dependencies) and also potentially kernel configuration. With the variety of possible audio configurations out there this is harder than it would first appear. I do have some pieces of this as patches in my contrib branches. Since its a complex issue, move to 1.3.
This has been shuffled down the road already, but until we have a proper maintainer for Qemu and the runqemu script this is moving out.
Now the audio support is controlled by bsp, it can set QB_AUDIO_DRV, QB_AUDIO_DRV and QB_AUDIO_OPT, see meta/classes/qemuboot.bbclass for more info. Also fixed the help info. Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b405712414de98cba3a645601419aceb32d52f02