qemu/monitor
Peter Xu e4e5e89bbd qmp/cont: Only activate disks if migration completed
As the comment says, the activation of disks is for the case where
migration has completed, rather than when QEMU is still during
migration (RUN_STATE_INMIGRATE).

Move the code over to reflect what the comment is describing.

Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Message-Id: <20241206230838.1111496-3-peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
2025-01-09 17:38:44 -03:00
..
fds.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
hmp-cmds-target.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
hmp-cmds.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
hmp-target.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
hmp.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
meson.build util/qemu-config: Extract QMP commands to qemu-config-qmp.c 2024-04-18 11:17:27 +02:00
monitor-internal.h include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
monitor.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
qemu-config-qmp.c util/qemu-config: Extract QMP commands to qemu-config-qmp.c 2024-04-18 11:17:27 +02:00
qmp-cmds-control.c include: Rename sysemu/ -> system/ 2024-12-20 17:44:56 +01:00
qmp-cmds.c qmp/cont: Only activate disks if migration completed 2025-01-09 17:38:44 -03:00
qmp.c monitor: Stop removing non-duplicated fds 2024-06-21 09:44:53 -03:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00