qemu/net
Peter Xu f018eb62b2 migration: Drop migration_is_setup_or_active()
This helper is mostly the same as migration_is_running(), except that one
has COLO reported as true, the other has CANCELLING reported as true.

Per my past years experience on the state changes, none of them should
matter.

To make it slightly safer, report both COLO || CANCELLING to be true in
migration_is_running(), then drop the other one.  We kept the 1st only
because the name is simpler, and clear enough.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Link: https://lore.kernel.org/r/20241024213056.1395400-5-peterx@redhat.com
Signed-off-by: Peter Xu <peterx@redhat.com>
2024-10-31 15:48:18 -04:00
..
can net/can: Remove unused struct 'CanBusState' 2024-06-30 19:51:44 +03:00
af-xdp.c net/af-xdp.c: Don't leak sock_fds array in net_init_af_xdp() 2024-03-25 10:41:00 +00:00
announce.c
checksum.c misc/other: spelling fixes 2023-09-08 13:08:52 +03:00
clients.h net: add initial support for AF_XDP network backend 2023-09-18 14:36:13 +08:00
colo-compare.c Fix calculation of minimum in colo_compare_tcp 2024-10-29 15:53:23 +08:00
colo-compare.h
colo-stubs.c colo: move stubs out of stubs/ 2024-04-18 11:17:27 +02:00
colo.c
colo.h
dgram.c win32: replace closesocket() with close() wrapper 2023-03-13 15:39:31 +04:00
dump.c tap: Remove qemu_using_vnet_hdr() 2024-06-04 15:14:25 +08:00
eth.c net/eth: Clean up local variable shadowing 2023-09-29 10:07:16 +02:00
filter-buffer.c
filter-mirror.c
filter-replay.c
filter-rewriter.c
filter.c misc/other: spelling fixes 2023-09-08 13:08:52 +03:00
hub.c net: Remove deadcode 2024-10-03 17:26:05 +03:00
hub.h
l2tpv3.c
meson.build net: fix build when libbpf is disabled, but libxdp is enabled 2024-10-28 14:37:25 +08:00
net-hmp-cmds.c
net.c net: Check if nc is NULL in qemu_get_vnet_hdr_len() 2024-10-28 14:37:25 +08:00
netmap.c tap: Remove qemu_using_vnet_hdr() 2024-06-04 15:14:25 +08:00
queue.c net: Remove deadcode 2024-10-03 17:26:05 +03:00
slirp.c net/slirp: Use newer slirp_*_hostxfwd API 2024-04-29 02:04:58 +02:00
socket.c net: socket: remove net_init_socket() 2023-07-07 16:35:12 +08:00
stream.c net/stream: deprecate 'reconnect' in favor of 'reconnect-ms' 2024-10-28 14:37:25 +08:00
tap_int.h tap: Remove tap_probe_vnet_hdr_len() 2024-06-04 15:14:25 +08:00
tap-bsd.c tap: Remove tap_probe_vnet_hdr_len() 2024-06-04 15:14:25 +08:00
tap-linux.c tap: Remove tap_probe_vnet_hdr_len() 2024-06-04 15:14:25 +08:00
tap-linux.h tap: Add USO support to tap device. 2023-09-18 14:36:13 +08:00
tap-solaris.c tap: Remove tap_probe_vnet_hdr_len() 2024-06-04 15:14:25 +08:00
tap-stub.c tap: Remove tap_probe_vnet_hdr_len() 2024-06-04 15:14:25 +08:00
tap-win32.c net/tap-win32: Fix gcc 14 format truncation errors 2024-10-28 14:37:25 +08:00
tap.c net/tap: Use qemu_close_all_open_fd() 2024-08-05 08:33:36 +10:00
trace-events vdpa: add trace event for vhost_vdpa_net_load_mq 2024-03-12 17:56:55 -04:00
trace.h
util.c
util.h
vde.c
vhost-user-stub.c
vhost-user.c hw/char: Have FEWatchFunc handlers return G_SOURCE_CONTINUE/REMOVE 2023-08-31 19:47:43 +02:00
vhost-vdpa-stub.c
vhost-vdpa.c migration: Drop migration_is_setup_or_active() 2024-10-31 15:48:18 -04:00
vmnet_int.h
vmnet-bridged.m net/vmnet: Drop ifdef for macOS versions older than 12.0 2024-07-02 06:58:48 +02:00
vmnet-common.m net/vmnet: Drop ifdef for macOS versions older than 12.0 2024-07-02 06:58:48 +02:00
vmnet-host.c net/vmnet: Drop ifdef for macOS versions older than 12.0 2024-07-02 06:58:48 +02:00
vmnet-shared.c net/vmnet: Drop ifdef for macOS versions older than 12.0 2024-07-02 06:58:48 +02:00