Re: [PATCH v3 12/14] audio: forbid mixing default audiodev backend and -audiodev

2023-09-29 Thread Paolo Bonzini
On Fri, Sep 29, 2023 at 1:55 PM BALATON Zoltan wrote: > > On Fri, 29 Sep 2023, Paolo Bonzini wrote: > > Now that all callers support setting an audiodev, forbid using the default > > audiodev if any audiodev is defined on the command line. To make the > > detection easier make AUD_register_card()

Re: [PATCH v3 12/14] audio: forbid mixing default audiodev backend and -audiodev

2023-09-29 Thread BALATON Zoltan
On Fri, 29 Sep 2023, Paolo Bonzini wrote: Now that all callers support setting an audiodev, forbid using the default audiodev if any audiodev is defined on the command line. To make the detection easier make AUD_register_card() return false on error. So this means that now qemu-system-ppc -M p

[PATCH v3 12/14] audio: forbid mixing default audiodev backend and -audiodev

2023-09-29 Thread Paolo Bonzini
Now that all callers support setting an audiodev, forbid using the default audiodev if any audiodev is defined on the command line. To make the detection easier make AUD_register_card() return false on error. Signed-off-by: Martin Kletzander Signed-off-by: Paolo Bonzini --- audio/audio.c