qemu with hax to log dma reads & writes jcs.org/2018/11/12/vfio

qom: Rename qdev_get_type() to object_get_type()

Commit 2f262e06f0 lifted qdev_get_type() from qdev to object without
renaming it accordingly. Do that now.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-Id: <20200707160613.848843-23-armbru@redhat.com>

+2 -2
+2 -2
qom/object.c
··· 2379 2379 NULL, NULL, prop); 2380 2380 } 2381 2381 2382 - static char *qdev_get_type(Object *obj, Error **errp) 2382 + static char *object_get_type(Object *obj, Error **errp) 2383 2383 { 2384 2384 return g_strdup(object_get_typename(obj)); 2385 2385 } ··· 2730 2730 2731 2731 static void object_class_init(ObjectClass *klass, void *data) 2732 2732 { 2733 - object_class_property_add_str(klass, "type", qdev_get_type, 2733 + object_class_property_add_str(klass, "type", object_get_type, 2734 2734 NULL); 2735 2735 } 2736 2736