qemu/migration
Fabiano Rosas c55deb860c migration: Deprecate fd: for file migration
The fd: URI can currently trigger two different types of migration, a
TCP migration using sockets and a file migration using a plain
file. This is in conflict with the recently introduced (8.2) QMP
migrate API that takes structured data as JSON-like format. We cannot
keep the same backend for both types of migration because with the new
API the code is more tightly coupled to the type of transport. This
means a TCP migration must use the 'socket' transport and a file
migration must use the 'file' transport.

If we keep allowing fd: when using a file, this creates an issue when
the user converts the old-style (fd:) to the new style ("transport":
"socket") invocation because the file descriptor in question has
previously been allowed to be either a plain file or a socket.

To avoid creating too much confusion, we can simply deprecate the fd:
+ file usage, which is thought to be rarely used currently and instead
establish a 1:1 correspondence between fd: URI and socket transport,
and file: URI and file transport.

Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
2024-05-08 09:20:59 -03:00
..
block-dirty-bitmap.c
channel-block.c
channel-block.h
channel.c
channel.h
colo-failover.c
colo-stubs.c
colo.c migration: Remove block migration 2024-05-08 09:20:58 -03:00
dirtyrate.c
dirtyrate.h
exec.c
exec.h
fd.c migration: Deprecate fd: for file migration 2024-05-08 09:20:59 -03:00
fd.h
file.c
file.h
global_state.c
meson.build migration: Remove non-multifd compression 2024-05-08 09:20:59 -03:00
migration-hmp-cmds.c migration: Remove non-multifd compression 2024-05-08 09:20:59 -03:00
migration-stats.c
migration-stats.h
migration.c migration: Remove non-multifd compression 2024-05-08 09:20:59 -03:00
migration.h migration: Remove non-multifd compression 2024-05-08 09:20:59 -03:00
multifd-zero-page.c
multifd-zlib.c
multifd-zstd.c
multifd.c
multifd.h
options.c migration: Remove non-multifd compression 2024-05-08 09:20:59 -03:00
options.h migration: Remove non-multifd compression 2024-05-08 09:20:59 -03:00
page_cache.c
page_cache.h
postcopy-ram.c migration: remove PostcopyDiscardState from typedefs.h 2024-05-03 15:47:48 +02:00
postcopy-ram.h
qemu-file.c migration: Remove non-multifd compression 2024-05-08 09:20:59 -03:00
qemu-file.h migration: Remove non-multifd compression 2024-05-08 09:20:59 -03:00
ram.c migration: Remove non-multifd compression 2024-05-08 09:20:59 -03:00
ram.h
rdma.c
rdma.h
savevm.c migration: Remove block migration 2024-05-08 09:20:58 -03:00
savevm.h
socket.c
socket.h
target.c
threadinfo.c
threadinfo.h
tls.c
tls.h
trace-events migration: move trace-point from migrate_fd_error to migrate_set_error 2024-05-08 09:20:57 -03:00
trace.h
vmstate-types.c
vmstate.c
xbzrle.c
xbzrle.h
yank_functions.c
yank_functions.h