]> git.proxmox.com Git - mirror_qemu.git/commit
vl: move all generic initialization out of vl.c
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 13 Nov 2020 07:43:56 +0000 (02:43 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 15 Dec 2020 17:51:50 +0000 (12:51 -0500)
commitf66dc8737c94a0ab57a252a280e5e83d6d630c67
treeae8c484120ab9f38bbf65a8be010cbf816b26ecc
parentc5e3c9182d0cc312196aa5e1de305e9ab5a7cda3
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>
hw/core/machine.c
hw/core/qdev.c
include/hw/qdev-core.h
softmmu/vl.c