mirror of
https://github.com/mii443/qemu.git
synced 2025-12-03 11:08:25 +00:00
vl: move various initialization routines out of qemu_init
Some very simple initialization routines can be nested in existing subsystem-level functions, do that to simplify qemu_init. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
@@ -928,12 +928,6 @@ BlockBackend *blk_by_qdev_id(const char *id, Error **errp)
|
||||
return blk;
|
||||
}
|
||||
|
||||
void qdev_machine_init(void)
|
||||
{
|
||||
qdev_get_peripheral_anon();
|
||||
qdev_get_peripheral();
|
||||
}
|
||||
|
||||
QemuOptsList qemu_device_opts = {
|
||||
.name = "device",
|
||||
.implied_opt_name = "driver",
|
||||
|
||||
Reference in New Issue
Block a user