[pve-devel] [RFC qemu-server 1/1] partially fix #4501: migration: start vm: move port reservation and usage closer together

Fiona Ebner f.ebner at proxmox.com
Wed Nov 15 11:22:46 CET 2023

Am 15.11.23 um 11:12 schrieb Wolfgang Bumiller:
> What about adding an option to `next_migrate_port()` to actually return
> the open socket to keep the reservation?
> Also, did we consider passing the file descriptor through to qemu via
> `-incoming fd:$number`?

Sounds promising :) We do invoke QEMU after forking. Is there any
pitfall with that and passing the fd? Or is it enough if we simply don't
touch it or close it in the parent?

More information about the pve-devel mailing list