mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
qdev: Drop qbus_set_bus_hotplug_handler() parameter @errp
All callers pass &error_abort. Drop the parameter. Cc: Paolo Bonzini <pbonzini@redhat.com> Cc: "Daniel P. Berrangé" <berrange@redhat.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20200630090351.1247703-14-armbru@redhat.com>
This commit is contained in:
parent
123327d14e
commit
cd7c866074
6 changed files with 7 additions and 7 deletions
|
@ -1391,5 +1391,5 @@ void xen_bus_init(void)
|
|||
BusState *bus = qbus_create(TYPE_XEN_BUS, dev, NULL);
|
||||
|
||||
sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal);
|
||||
qbus_set_bus_hotplug_handler(bus, &error_abort);
|
||||
qbus_set_bus_hotplug_handler(bus);
|
||||
}
|
||||
|
|
|
@ -705,7 +705,7 @@ int xen_be_init(void)
|
|||
xen_sysdev = qdev_new(TYPE_XENSYSDEV);
|
||||
sysbus_realize_and_unref(SYS_BUS_DEVICE(xen_sysdev), &error_fatal);
|
||||
xen_sysbus = qbus_create(TYPE_XENSYSBUS, xen_sysdev, "xen-sysbus");
|
||||
qbus_set_bus_hotplug_handler(xen_sysbus, &error_abort);
|
||||
qbus_set_bus_hotplug_handler(xen_sysbus);
|
||||
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue