qdev-props: remove errp from GlobalProperty
commitcff8b715c0c881fb0f5e79e079f4cfb529e0b0af
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 7 Nov 2018 11:25:58 +0000 (7 15:25 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 7 Jan 2019 12:18:42 +0000 (7 16:18 +0400)
treef5a6a738ce70dddf525c301b9f42b13cb5d6bea9
parente12ca3ce1cdb33120777c30eb50f414cdd228704
qdev-props: remove errp from GlobalProperty

All qdev_prop_register_global() set &error_fatal for errp, except
'-rtc driftfix=slew', which arguably should also use &error_fatal, as
otherwise failing to apply the property would only report a warning.

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
include/hw/qdev-core.h
qom/cpu.c
target/i386/cpu.c
target/sparc/cpu.c
vl.c