qdev: Make error_set_from_qdev_prop_error() get Object* argument
commitc7525b183c51e2b9b017ea47147bc4c23f5459a9
authorEduardo Habkost <ehabkost@redhat.com>
Fri, 11 Dec 2020 22:05:09 +0000 (11 17:05 -0500)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 15 Dec 2020 15:02:07 +0000 (15 10:02 -0500)
treef9544037648b2dc689d5bf3bb66ebc57132cf3ca
parent381481597c3027854fa72c6a31477622eddb545a
qdev: Make error_set_from_qdev_prop_error() get Object* argument

Make the code more generic and not specific to TYPE_DEVICE.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com> #s390 parts
Message-Id: <20201211220529.2290218-13-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/core/qdev-properties-system.c
hw/core/qdev-properties.c
hw/s390x/css.c
include/hw/qdev-properties.h