Re: [Qemu-devel] [PATCH v2 2/3] globals: Allow global properties to be optional

2019-01-10 Thread Cornelia Huck
On Thu, 10 Jan 2019 00:02:58 -0200 Eduardo Habkost wrote: > Making some global properties optional will let us simplify > compat code when a given property works on most (but not all) > subclasses of a given type. > > Device types will be able to opt out from optional compat > properties by

[Qemu-devel] [PATCH v2 2/3] globals: Allow global properties to be optional

2019-01-09 Thread Eduardo Habkost
Making some global properties optional will let us simplify compat code when a given property works on most (but not all) subclasses of a given type. Device types will be able to opt out from optional compat properties by simply not registering those properties, or by making the property setter