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.csa...@proxmox.com>

Without the unrelated hunk below:

Reviewed-by: Fiona Ebner <f.eb...@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.




_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to