diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2020-11-13 02:43:56 -0500 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-12-15 12:51:50 -0500 |
| commit | f66dc8737c94a0ab57a252a280e5e83d6d630c67 (patch) | |
| tree | ae8c484120ab9f38bbf65a8be010cbf816b26ecc /include/hw/qdev-core.h | |
| parent | c5e3c9182d0cc312196aa5e1de305e9ab5a7cda3 (diff) | |
| download | focaccia-qemu-f66dc8737c94a0ab57a252a280e5e83d6d630c67.tar.gz focaccia-qemu-f66dc8737c94a0ab57a252a280e5e83d6d630c67.zip | |
vl: move all generic initialization out of vl.c
qdev_machine_creation_done is only setting a flag now. Extend it to move more code out of vl.c. Leave only consistency checks and gdbserver processing in qemu_machine_creation_done. gdbserver_start can be moved after qdev_machine_creation_done because it only does listen on the socket and creates some internal data structures; it does not send any data (e.g. guest state) over the socket. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/hw/qdev-core.h')
| -rw-r--r-- | include/hw/qdev-core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/qdev-core.h b/include/hw/qdev-core.h index 8f91faebc3..3dab50cd87 100644 --- a/include/hw/qdev-core.h +++ b/include/hw/qdev-core.h @@ -780,6 +780,7 @@ const VMStateDescription *qdev_get_vmsd(DeviceState *dev); const char *qdev_fw_name(DeviceState *dev); +void qdev_assert_realized_properly(void); Object *qdev_get_machine(void); /* FIXME: make this a link<> */ |