Re: [for-6.0 v5 01/13] qom: Allow optional sugar props

2021-01-11 Thread Philippe Mathieu-Daudé
On 12/4/20 6:44 AM, David Gibson wrote: > From: Greg Kurz > > Global properties have an @optional field, which allows to apply a given > property to a given type even if one of its subclasses doesn't support > it. This is especially used in the compat code when dealing with the > "disable-modern"

Re: [for-6.0 v5 01/13] qom: Allow optional sugar props

2020-12-14 Thread Eduardo Habkost
On Fri, Dec 04, 2020 at 04:44:03PM +1100, David Gibson wrote: > From: Greg Kurz > > Global properties have an @optional field, which allows to apply a given > property to a given type even if one of its subclasses doesn't support > it. This is especially used in the compat code when dealing with

Re: [for-6.0 v5 01/13] qom: Allow optional sugar props

2020-12-04 Thread Cornelia Huck
On Fri, 4 Dec 2020 16:44:03 +1100 David Gibson wrote: > From: Greg Kurz > > Global properties have an @optional field, which allows to apply a given > property to a given type even if one of its subclasses doesn't support > it. This is especially used in the compat code when dealing with the >

[for-6.0 v5 01/13] qom: Allow optional sugar props

2020-12-03 Thread David Gibson
From: Greg Kurz Global properties have an @optional field, which allows to apply a given property to a given type even if one of its subclasses doesn't support it. This is especially used in the compat code when dealing with the "disable-modern" and "disable-legacy" properties and the "virtio-pci