[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH RESEND v3 01/58] qdev: Rename qbus_realize() to qbus_init()
From: |
Markus Armbruster |
Subject: |
[PATCH RESEND v3 01/58] qdev: Rename qbus_realize() to qbus_init() |
Date: |
Wed, 10 Jun 2020 07:31:50 +0200 |
qbus_realize() does not actually realize. Rename it to qbus_init().
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
---
hw/core/bus.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/hw/core/bus.c b/hw/core/bus.c
index 50924793ac..33a4443217 100644
--- a/hw/core/bus.c
+++ b/hw/core/bus.c
@@ -95,7 +95,7 @@ static void bus_reset_child_foreach(Object *obj,
ResettableChildCallback cb,
}
}
-static void qbus_realize(BusState *bus, DeviceState *parent, const char *name)
+static void qbus_init(BusState *bus, DeviceState *parent, const char *name)
{
const char *typename = object_get_typename(OBJECT(bus));
BusClass *bc;
@@ -151,7 +151,7 @@ void qbus_create_inplace(void *bus, size_t size, const char
*typename,
DeviceState *parent, const char *name)
{
object_initialize(bus, size, typename);
- qbus_realize(bus, parent, name);
+ qbus_init(bus, parent, name);
}
BusState *qbus_create(const char *typename, DeviceState *parent, const char
*name)
@@ -159,7 +159,7 @@ BusState *qbus_create(const char *typename, DeviceState
*parent, const char *nam
BusState *bus;
bus = BUS(object_new(typename));
- qbus_realize(bus, parent, name);
+ qbus_init(bus, parent, name);
return bus;
}
--
2.26.2
- [PATCH RESEND v3 00/58] qdev: Rework how we plug into the parent bus, Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 08/58] qdev: Convert to qdev_unrealize() manually, Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 06/58] qdev: Convert to qbus_realize(), qbus_unrealize(), Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 12/58] qdev: Convert uses of qdev_set_parent_bus() manually, Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 20/58] isa: Convert uses of isa_create(), isa_try_create() manually, Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 18/58] isa: New isa_new(), isa_realize_and_unref() etc., Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 01/58] qdev: Rename qbus_realize() to qbus_init(),
Markus Armbruster <=
- [PATCH RESEND v3 05/58] qdev: Put qdev_new() to use with Coccinelle, Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 03/58] Revert "hw/versatile: realize the PCI root bus as part of the versatile init", Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 07/58] qdev: Convert to qdev_unrealize() with Coccinelle, Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 14/58] hw/ppc: Eliminate two superfluous QOM casts, Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 10/58] qdev: Convert uses of qdev_create() manually, Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 02/58] Revert "hw/prep: realize the PCI root bus as part of the prep init", Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 19/58] isa: Convert uses of isa_create() with Coccinelle, Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 30/58] qdev: qdev_create(), qdev_try_create() are now unused, drop, Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 22/58] ssi: ssi_auto_connect_slaves() never does anything, drop, Markus Armbruster, 2020/06/10
- [PATCH RESEND v3 09/58] qdev: Convert uses of qdev_create() with Coccinelle, Markus Armbruster, 2020/06/10