]> git.proxmox.com Git - mirror_qemu.git/commit
qdev-props: call object_apply_global_props()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 7 Nov 2018 11:35:34 +0000 (15:35 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 7 Jan 2019 12:18:42 +0000 (16:18 +0400)
commit50545b2cc02942c1019edf5ecc79fa192c655295
treeff03632899bc5823ed1d1d1c41c9857bbfba45fc
parentcff8b715c0c881fb0f5e79e079f4cfb529e0b0af
qdev-props: call object_apply_global_props()

It's now possible to use the common function.

Teach object_apply_global_props() to warn if Error argument is NULL.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
hw/core/qdev-properties.c
qom/object.c