]> git.proxmox.com Git - mirror_qemu.git/blobdiff - iothread.c
iotests, parallels: test for newly created parallels image via qemu-img
[mirror_qemu.git] / iothread.c
index a1f91099bc69900627b99d89caebcee013d9df8f..0416fc4268c3db241bad9421724894a2e6069787 100644 (file)
@@ -114,18 +114,6 @@ static void iothread_register_types(void)
 
 type_init(iothread_register_types)
 
-IOThread *iothread_find(const char *id)
-{
-    Object *container = container_get(object_get_root(), IOTHREADS_PATH);
-    Object *child;
-
-    child = object_property_get_link(container, id, NULL);
-    if (!child) {
-        return NULL;
-    }
-    return (IOThread *)object_dynamic_cast(child, TYPE_IOTHREAD);
-}
-
 char *iothread_get_id(IOThread *iothread)
 {
     return object_get_canonical_path_component(OBJECT(iothread));