From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 99B9EA9C0 for ; Fri, 8 Sep 2023 10:49:45 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 7A21FF131 for ; Fri, 8 Sep 2023 10:49:15 +0200 (CEST) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Fri, 8 Sep 2023 10:49:13 +0200 (CEST) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id A0BDB434D8 for ; Fri, 8 Sep 2023 10:49:13 +0200 (CEST) From: Filip Schauer To: pve-devel@lists.proxmox.com Date: Fri, 8 Sep 2023 10:49:07 +0200 Message-Id: <20230908084907.24417-1-f.schauer@proxmox.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.007 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] Fix spelling error in function name 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: , X-List-Received-Date: Fri, 08 Sep 2023 08:49:45 -0000 Signed-off-by: Filip Schauer --- ...30-PVE-Backup-Proxmox-backup-patches-for-QEMU.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/debian/patches/pve/0030-PVE-Backup-Proxmox-backup-patches-for-QEMU.patch b/debian/patches/pve/0030-PVE-Backup-Proxmox-backup-patches-for-QEMU.patch index d873601..717845c 100644 --- a/debian/patches/pve/0030-PVE-Backup-Proxmox-backup-patches-for-QEMU.patch +++ b/debian/patches/pve/0030-PVE-Backup-Proxmox-backup-patches-for-QEMU.patch @@ -588,7 +588,7 @@ index 0000000000..8cbf645b2c +#endif /* PROXMOX_BACKUP_CLIENT_H */ diff --git a/pve-backup.c b/pve-backup.c new file mode 100644 -index 0000000000..10ca8a0b1d +index 0000000000..7ea65125df --- /dev/null +++ b/pve-backup.c @@ -0,0 +1,1109 @@ @@ -702,7 +702,7 @@ index 0000000000..10ca8a0b1d + return error_or_canceled; +} + -+static void pvebackup_add_transfered_bytes(size_t transferred, size_t zero_bytes, size_t reused) ++static void pvebackup_add_transferred_bytes(size_t transferred, size_t zero_bytes, size_t reused) +{ + qemu_mutex_lock(&backup_state.stat.lock); + backup_state.stat.zero_bytes += zero_bytes; @@ -763,7 +763,7 @@ index 0000000000..10ca8a0b1d + } + + qemu_co_mutex_unlock(&backup_state.dump_callback_mutex); -+ pvebackup_add_transfered_bytes(size, is_zero_block ? size : 0, reused); ++ pvebackup_add_transferred_bytes(size, is_zero_block ? size : 0, reused); + + return size; +} @@ -821,11 +821,11 @@ index 0000000000..10ca8a0b1d + } else { + if (remaining >= VMA_CLUSTER_SIZE) { + assert(ret == VMA_CLUSTER_SIZE); -+ pvebackup_add_transfered_bytes(VMA_CLUSTER_SIZE, zero_bytes, 0); ++ pvebackup_add_transferred_bytes(VMA_CLUSTER_SIZE, zero_bytes, 0); + remaining -= VMA_CLUSTER_SIZE; + } else { + assert(ret == remaining); -+ pvebackup_add_transfered_bytes(remaining, zero_bytes, 0); ++ pvebackup_add_transferred_bytes(remaining, zero_bytes, 0); + remaining = 0; + } + } -- 2.39.2