[pve-devel] [PATCH qemu-server v6 09/10] migrate: show vfio state transferred too
Fiona Ebner
f.ebner at proxmox.com
Fri Mar 7 13:35:15 CET 2025
Am 13.02.25 um 14:17 schrieb Dominik Csapak:
> Show the transferred VFIO state (when there is one), but since there is
> no total here, so we can't show that, just what was transferred up until
> now.
>
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
Without the unrelated hunk below:
Reviewed-by: Fiona Ebner <f.ebner at proxmox.com>
> ---
> no changes in v6
> PVE/API2/Qemu.pm | 2 +-
> PVE/QemuMigrate.pm | 12 +++++++++++-
> 2 files changed, 12 insertions(+), 2 deletions(-)
>
> diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
> index 6a303337..8e744107 100644
> --- a/PVE/API2/Qemu.pm
> +++ b/PVE/API2/Qemu.pm
> @@ -4733,7 +4733,7 @@ __PACKAGE__->register_method({
> }
>
> # if nothing came up, add it to the allowed nodes
> - if (!$res->{not_allowed_nodes}->{$node}) {
> + if (scalar($res->{not_allowed_nodes}->{$node}->%*) == 0) {
> push $res->{allowed_nodes}->@*, $node;
> }
Seems like this should be squashed into the previous patch.
More information about the pve-devel
mailing list