@@ -397,7 +397,7 @@ DeviceState *qdev_find_recursive(BusState *bus, const char *id)
return NULL;
}
-static void qbus_realize(BusState *bus)
+static void qbus_realize(BusState *bus, Error **err)
{
const char *typename = object_get_typename(OBJECT(bus));
char *buf;
@@ -440,7 +440,7 @@ void qbus_create_inplace(BusState *bus, const char *typename,
bus->parent = parent;
bus->name = name ? g_strdup(name) : NULL;
- qbus_realize(bus);
+ qbus_realize(bus, NULL);
}
BusState *qbus_create(const char *typename, DeviceState *parent, const char *name)
@@ -452,7 +452,7 @@ BusState *qbus_create(const char *typename, DeviceState *parent, const char *nam
bus->parent = parent;
bus->name = name ? g_strdup(name) : NULL;
- qbus_realize(bus);
+ qbus_realize(bus, NULL);
return bus;
}
Add the designated Error-reporting argument, even if currently unused. Signed-off-by: Andreas Färber <afaerber@suse.de> --- hw/qdev.c | 6 +++--- 1 Datei geändert, 3 Zeilen hinzugefügt(+), 3 Zeilen entfernt(-)