[pve-devel] applied: [PATCH qemu-server] migrate: silence 'Use of uninitialized value' warning

Fiona Ebner f.ebner at proxmox.com
Wed May 21 16:37:53 CEST 2025


On Mon, 19 May 2025 16:43:57 +0200, Dominik Csapak wrote:
> If no vfio device is present during migration, and the transferred
> (main) memory did not change between loop cycles, we get a warning:
> 
>  Use of uninitialized value $last_vfio_transferred in string ne
> 
> To silence that, check if the transferred vfio value is defined before,
> and always write a defined value to $last_vfio_transferred.
> 
> [...]

Applied together with my follow-up, thanks!

[1/1] migrate: silence 'Use of uninitialized value' warning
      commit: 7d1ec25bc176969ccc86ecc2a0109fc59ec812f0

[1/1] migrate: code cleanup: factor out variables for transferred memory and vfio
      commit: c7609527716a111f4a6147ea68fbd327dd16eb87




More information about the pve-devel mailing list