summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorPaolo Bonzini2020-11-13 08:43:56 +0100
committerPaolo Bonzini2020-12-15 18:51:50 +0100
commitf66dc8737c94a0ab57a252a280e5e83d6d630c67 (patch)
treeae8c484120ab9f38bbf65a8be010cbf816b26ecc /include/hw
parentvl: extract softmmu/globals.c (diff)
downloadqemu-f66dc8737c94a0ab57a252a280e5e83d6d630c67.tar.gz
qemu-f66dc8737c94a0ab57a252a280e5e83d6d630c67.tar.xz
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')
-rw-r--r--include/hw/qdev-core.h1
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<> */