[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Let's remove some deprecated stuff
From: |
Gerd Hoffmann |
Subject: |
Re: Let's remove some deprecated stuff |
Date: |
Thu, 29 Apr 2021 15:46:12 +0200 |
Hi,
> Another option might be that you just nest things:
>
> { 'struct': 'AudioConfig',
> 'data': {
> 'model': 'AudioDevice',
> 'backend': 'Audiodev' } }
>
> Possibly instead of 'model' on the top level, you'll actually want to
> nest there, too, and accept device properties.
Hmm. Not so easy I suspect. While most sound cards map to a single
device there are exceptions. pcspk is build-in and hda is two devices.
Where do we stand in terms of QAPI support for -device btw?
> If or when I finally get QAPI aliases merged, we can make this look nice
> on the command line again by simply mapping everything to the top level
> so that you don't necessarily need to use dotted keys like you would
> initially, e.g. -audio backend.driver=sdl,model=hda could be optionally
> reduced to -audio driver=sdl,model=hda.
Yes, with aliasing available this would be a reasonable option.
take care,
Gerd
- Re: Let's remove some deprecated stuff, (continued)
Re: Let's remove some deprecated stuff, Peter Maydell, 2021/04/29
Re: Let's remove some deprecated stuff, Daniel P . Berrangé, 2021/04/29
Re: Let's remove some deprecated stuff, Paolo Bonzini, 2021/04/29
Re: Let's remove some deprecated stuff, Thomas Huth, 2021/04/29
Re: Let's remove some deprecated stuff, Stefan Hajnoczi, 2021/04/29
Re: Let's remove some deprecated stuff, Eduardo Habkost, 2021/04/29
Re: Let's remove some deprecated stuff, Robert Hoo, 2021/04/29