Re: [RFC PATCH 0/4] qom: Introduce object_class_property_deprecate()

2023-01-11 Thread Philippe Mathieu-Daudé
On 11/1/23 12:29, Markus Armbruster wrote: Daniel P. Berrangé writes: On Wed, Jan 11, 2023 at 11:08:05AM +0100, Philippe Mathieu-Daudé wrote: On 11/1/23 10:59, Daniel P. Berrangé wrote: On Wed, Jan 11, 2023 at 10:55:47AM +0100, Philippe Mathieu-Daudé wrote: On 10/1/23 14:02, Kevin Wolf wrot

Re: [RFC PATCH 0/4] qom: Introduce object_class_property_deprecate()

2023-01-11 Thread Markus Armbruster
Daniel P. Berrangé writes: > On Wed, Jan 11, 2023 at 11:08:05AM +0100, Philippe Mathieu-Daudé wrote: >> On 11/1/23 10:59, Daniel P. Berrangé wrote: >> > On Wed, Jan 11, 2023 at 10:55:47AM +0100, Philippe Mathieu-Daudé wrote: >> > > On 10/1/23 14:02, Kevin Wolf wrote: >> > > > Am 09.01.2023 um 23:

Re: [RFC PATCH 0/4] qom: Introduce object_class_property_deprecate()

2023-01-11 Thread Daniel P . Berrangé
On Wed, Jan 11, 2023 at 11:08:05AM +0100, Philippe Mathieu-Daudé wrote: > On 11/1/23 10:59, Daniel P. Berrangé wrote: > > On Wed, Jan 11, 2023 at 10:55:47AM +0100, Philippe Mathieu-Daudé wrote: > > > On 10/1/23 14:02, Kevin Wolf wrote: > > > > Am 09.01.2023 um 23:54 hat Philippe Mathieu-Daudé gesch

Re: [RFC PATCH 0/4] qom: Introduce object_class_property_deprecate()

2023-01-11 Thread Philippe Mathieu-Daudé
On 11/1/23 10:59, Daniel P. Berrangé wrote: On Wed, Jan 11, 2023 at 10:55:47AM +0100, Philippe Mathieu-Daudé wrote: On 10/1/23 14:02, Kevin Wolf wrote: Am 09.01.2023 um 23:54 hat Philippe Mathieu-Daudé geschrieben: Hi, There will always be a need to deprecate things. Here I'm tackling the QOM

Re: [RFC PATCH 0/4] qom: Introduce object_class_property_deprecate()

2023-01-11 Thread Daniel P . Berrangé
On Wed, Jan 11, 2023 at 10:55:47AM +0100, Philippe Mathieu-Daudé wrote: > On 10/1/23 14:02, Kevin Wolf wrote: > > Am 09.01.2023 um 23:54 hat Philippe Mathieu-Daudé geschrieben: > > > Hi, > > > > > > There will always be a need to deprecate things. Here I'm > > > tackling the QOM (class) properties

Re: [RFC PATCH 0/4] qom: Introduce object_class_property_deprecate()

2023-01-11 Thread Philippe Mathieu-Daudé
On 10/1/23 14:02, Kevin Wolf wrote: Am 09.01.2023 um 23:54 hat Philippe Mathieu-Daudé geschrieben: Hi, There will always be a need to deprecate things. Here I'm tackling the QOM (class) properties, since they can be set from some CLI options (-object -device -global ...). As an experiment, we

Re: [RFC PATCH 0/4] qom: Introduce object_class_property_deprecate()

2023-01-10 Thread Kevin Wolf
Am 09.01.2023 um 23:54 hat Philippe Mathieu-Daudé geschrieben: > Hi, > > There will always be a need to deprecate things. Here I'm > tackling the QOM (class) properties, since they can be set > from some CLI options (-object -device -global ...). > > As an experiment, we add object_class_property

[RFC PATCH 0/4] qom: Introduce object_class_property_deprecate()

2023-01-09 Thread Philippe Mathieu-Daudé
Hi, There will always be a need to deprecate things. Here I'm tackling the QOM (class) properties, since they can be set from some CLI options (-object -device -global ...). As an experiment, we add object_class_property_deprecate() to register a class property as deprecated (since some version),