From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 1DA731FF168 for ; Tue, 4 Mar 2025 11:45:29 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id ECF4C1B53E; Tue, 4 Mar 2025 11:44:53 +0100 (CET) From: Fiona Ebner To: pve-devel@lists.proxmox.com Date: Tue, 4 Mar 2025 11:44:10 +0100 Message-Id: <20250304104413.38638-10-f.ebner@proxmox.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250304104413.38638-1-f.ebner@proxmox.com> References: <20250304104413.38638-1-f.ebner@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL -0.043 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH qemu-server 09/12] backup: adapt to new get_backup_volumes() signature X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" See commit "abstract config: make get_backup_volumes() method more flexible" in the pve-guest-common repository. Signed-off-by: Fiona Ebner --- PVE/QemuConfig.pm | 2 +- PVE/VZDump/QemuServer.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PVE/QemuConfig.pm b/PVE/QemuConfig.pm index b60cc398..43967b43 100644 --- a/PVE/QemuConfig.pm +++ b/PVE/QemuConfig.pm @@ -170,7 +170,7 @@ sub get_replicatable_volumes { } sub get_backup_volumes { - my ($class, $conf) = @_; + my ($class, $conf, $vmid) = @_; my $return_volumes = []; diff --git a/PVE/VZDump/QemuServer.pm b/PVE/VZDump/QemuServer.pm index 3238e344..d2e40d7c 100644 --- a/PVE/VZDump/QemuServer.pm +++ b/PVE/VZDump/QemuServer.pm @@ -88,7 +88,7 @@ sub prepare { my $vollist = []; my $drivehash = {}; - my $backup_volumes = PVE::QemuConfig->get_backup_volumes($conf); + my $backup_volumes = PVE::QemuConfig->get_backup_volumes($conf, $vmid); foreach my $volume (@{$backup_volumes}) { my $name = $volume->{key}; -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel