Re: [Qemu-devel] [PATCH 2/9] accel: register global_props like machine globals

2018-10-22 Thread Igor Mammedov
On Wed, 12 Sep 2018 16:55:24 +0400 Marc-André Lureau wrote: > global_props is only used for Xen xen_compat_props. It's a static minor nit: should be AccelClass::global_props > array of GlobalProperty, like machine globals in SET_MACHINE_COMPAT(). > Let's register the globals the same way,

[Qemu-devel] [PATCH 2/9] accel: register global_props like machine globals

2018-09-12 Thread Marc-André Lureau
global_props is only used for Xen xen_compat_props. It's a static array of GlobalProperty, like machine globals in SET_MACHINE_COMPAT(). Let's register the globals the same way, without extra copy allocation. Signed-off-by: Marc-André Lureau --- include/hw/qdev-properties.h | 29