From: Fiona Ebner <f.ebner@proxmox.com>
To: pve-devel@lists.proxmox.com, Dominik Csapak <d.csapak@proxmox.com>
Subject: [pve-devel] applied: [PATCH qemu-server] migrate: silence 'Use of uninitialized value' warning
Date: Wed, 21 May 2025 16:37:53 +0200 [thread overview]
Message-ID: <174783813979.144174.2489916620697736732.b4-ty@proxmox.com> (raw)
In-Reply-To: <20250519144357.3515197-1-d.csapak@proxmox.com>
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
_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
prev parent reply other threads:[~2025-05-21 14:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-19 14:43 [pve-devel] " Dominik Csapak
2025-05-20 13:14 ` [pve-devel] [PATCH qemu-server] migrate: code cleanup: factor out variables for transferred memory and vfio Fiona Ebner
2025-05-21 13:39 ` Dominik Csapak
2025-05-21 14:37 ` Fiona Ebner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=174783813979.144174.2489916620697736732.b4-ty@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=d.csapak@proxmox.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.