qemu-server/PVE
Fabian Grünbichler ae194a5c5e migrate: cleanup forwarding code
fixing the following two issues:
- the legacy code path was never converted to the new fork_tunnel
signature (which probably means that nothing triggers it in practice
anymore?)
- the NBD Unix socket got forwarded multiple times if more than one disk
was migrated via NBD (this is harmless, but wrong)

for the second issue I opted to keep the code compatible with the
possibility that Qemu starts supporting multiple NBD servers in the
future (and the target node could thus return multiple UNIX socket
paths). currently we can only start one NBD server on one socket, and
each drive-mirror simply starts a new connection over that single
socket.

I took the liberty of renaming the variables/keys since I found
'tunnel_addr' and 'sock_addr' rather confusing.

Reviewed-By: Mira Limbeck <m.limbeck@proxmox.com>
Tested-By: Mira Limbeck <m.limbeck@proxmox.com>

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-05-06 16:16:50 +02:00
..
API2 clone: use new config_lock_shared 2020-05-05 11:41:55 +02:00
CLI qm nbdstop: cope graceful with errors 2020-04-29 16:22:33 +02:00
QemuServer importovf: die with error when disk file is missing 2020-04-27 13:13:10 +02:00
VZDump vzdump: fix template backup to stdout 2020-05-06 14:23:04 +02:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm Include vmstate and unused volumes in foreach_volid 2020-04-29 12:14:40 +02:00
QemuMigrate.pm migrate: cleanup forwarding code 2020-05-06 16:16:50 +02:00
QemuServer.pm cfg2cmd: set audiodev parameter only on qemu >= 4.2 2020-05-06 15:14:15 +02:00
QMPClient.pm Append newline to all QGA commands 2020-03-11 11:11:45 +01:00