Re: [Xen-devel] [PATCH for-3.2 v3 06/14] qdev: do not mix compat props with global props

2018-11-23 Thread Igor Mammedov
On Wed, 7 Nov 2018 16:36:44 +0400 Marc-André Lureau wrote: > Machine & Accel props are not provided by user. Let's not mix them > with the global properties. > > Call a new helper function object_apply_global_props() during > device_post_init(). > > Add a stub for current_machine, so qemu-user

[Xen-devel] [PATCH for-3.2 v3 06/14] qdev: do not mix compat props with global props

2018-11-07 Thread Marc-André Lureau
Machine & Accel props are not provided by user. Let's not mix them with the global properties. Call a new helper function object_apply_global_props() during device_post_init(). Add a stub for current_machine, so qemu-user and tests can find a fallback symbol when linking with QDev. The following