Re: [Xen-devel] [PATCH for-3.2 v4 15/28] hw: apply accel compat properties without touching globals

2018-11-28 Thread Igor Mammedov
On Tue, 27 Nov 2018 13:27:48 +0400 Marc-André Lureau wrote: > Introduce object_apply_global_props() function, to apply compatibility > properties from a GPtrArray. > > For accel compatibility properties, apply them during > device_post_init(), after accel_register_compat_props() has set them. >

[Xen-devel] [PATCH for-3.2 v4 15/28] hw: apply accel compat properties without touching globals

2018-11-27 Thread Marc-André Lureau
Introduce object_apply_global_props() function, to apply compatibility properties from a GPtrArray. For accel compatibility properties, apply them during device_post_init(), after accel_register_compat_props() has set them. To populate the compatibility properties, introduce SET_COMPAT(), a more