[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 00/12] audio: deprecate -soundhw
From: |
Gerd Hoffmann |
Subject: |
Re: [PATCH 00/12] audio: deprecate -soundhw |
Date: |
Thu, 30 Apr 2020 09:41:08 +0200 |
On Wed, Apr 29, 2020 at 06:54:08PM +0200, Philippe Mathieu-Daudé wrote:
> Hi Gerd,
>
> On 4/29/20 1:02 PM, Gerd Hoffmann wrote:
> >
> >
> > Gerd Hoffmann (12):
> > stubs: add isa_create_simple
> > stubs: add pci_create_simple
> > audio: add deprecated_register_soundhw
> > audio: deprecate -soundhw ac97
> > audio: deprecate -soundhw es1370
> > audio: deprecate -soundhw adlib
> > audio: deprecate -soundhw cs4231a
> > audio: deprecate -soundhw gus
> > audio: deprecate -soundhw sb16
> > audio: deprecate -soundhw hda
> > audio: deprecate -soundhw pcspk
> > [RFC] audio: try use onboard audiodev for pcspk
>
> I don't understand what you are trying to fix with this series.
Almost nothing. I'm just deprecating -soundhw, and I don't feel like
putting too much effort into code which I want remove anyway.
The new deprecated_register_soundhw() is there to allow removing the
init callback for most hardware and have common code handle the simple
cases. Alternatively I could leave things as-is and just copy&paste the
deprecation warning into each init callback.
The only functional change (beside the added deprecation warnings) is
that the pcspk realize function initializes audio in case audiodev is
set, so "-global isa-pcspk.audiodev=<something>" is enough to activate
the speaker. The need to also have "-soundhw pcspk" on the command line
is gone.
> I suppose there is a problem with the pcspk, as I had a problem when I tried
> to make the soundhw more QOM-friendly.
I see your patch adds a deprecation warning for -soundhw too. I'm
wondering why you want convert this to QOM now just to throw away the
code in a few months?
cheers,
Gerd
- [PATCH 01/12] stubs: add isa_create_simple, (continued)
- [PATCH 01/12] stubs: add isa_create_simple, Gerd Hoffmann, 2020/04/29
- [PATCH 12/12] [RFC] audio: try use onboard audiodev for pcspk, Gerd Hoffmann, 2020/04/29
- [PATCH 08/12] audio: deprecate -soundhw gus, Gerd Hoffmann, 2020/04/29
- [PATCH 10/12] audio: deprecate -soundhw hda, Gerd Hoffmann, 2020/04/29
- [PATCH 03/12] audio: add deprecated_register_soundhw, Gerd Hoffmann, 2020/04/29
- [PATCH 11/12] audio: deprecate -soundhw pcspk, Gerd Hoffmann, 2020/04/29
- [PATCH 06/12] audio: deprecate -soundhw adlib, Gerd Hoffmann, 2020/04/29
- Re: [PATCH 00/12] audio: deprecate -soundhw, Daniel P . Berrangé, 2020/04/29
- Re: [PATCH 00/12] audio: deprecate -soundhw, Philippe Mathieu-Daudé, 2020/04/29
- Re: [PATCH 00/12] audio: deprecate -soundhw,
Gerd Hoffmann <=