OSDN Git Service

qdev: move qdev_prop_register_global_list() to tests
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 4 Dec 2018 14:20:09 +0000 (18:20 +0400)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 11 Dec 2018 17:45:23 +0000 (15:45 -0200)
commite6add65b9c823f00f63a78571581ae0c30867b3a
tree536f1a999a5fb7c8179f823e9f7d722cdf4089c6
parent745a4f5ed7e4aabeddddcb0e5c1687a0128e68d7
qdev: move qdev_prop_register_global_list() to tests

The function is only used by a test, move it there.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20181204142023.15982-6-marcandre.lureau@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/core/qdev-properties.c
include/hw/qdev-properties.h
tests/test-qdev-global-props.c