After scouring through sources and commit logs, I was able to figure it out.
To direct both the pc speaker and an ac97 device to the host's alsa:
qemu ... \
-audiodev alsa,id=1 -global isa-pcspk.audiodev=1 -soundhw pcspk \
-audiodev alsa,id=2 -device AC97,audiodev=2
Setting the same
I use
-audiodev pa,id=pa1,server=`pactl info | grep 'Server String' | awk '{print
$3}'`
On a gentoo system without systemd. The arch wiki has more information under
PCI pass through.
> On 27 Oct 2019, at 7:23 PM, Lukas Straub wrote:
>
> On Sun, 27 Oct 2019 07:35:23 +0200
> _ wrote:
>
this should've gone to the list, sorry
On Sun, Oct 27, 2019 at 1:23 PM Lukas Straub wrote:
> > No matter what I try, it keeps slapping me on the face with a
> > "audiodev default parameter is deprecated, please specify
> > audiodev=foo" warning:
> >
> > $ qemu -soundhw ac97 -audiodev
On Sun, 27 Oct 2019 07:35:23 +0200
_ wrote:
> No matter what I try, it keeps slapping me on the face with a
> "audiodev default parameter is deprecated, please specify
> audiodev=foo" warning:
>
> $ qemu -soundhw ac97 -audiodev alsa,id=alsa
> audio: Device ac97: audiodev default parameter is
No matter what I try, it keeps slapping me on the face with a
"audiodev default parameter is deprecated, please specify
audiodev=foo" warning:
$ qemu -soundhw ac97 -audiodev alsa,id=alsa
audio: Device ac97: audiodev default parameter is deprecated, please
specify audiodev=alsa
$ qemu -audiodev