mirror of
https://git.proxmox.com/git/pve-qemu
synced 2025-10-04 15:24:13 +00:00

Mostly preparation for our external backup plugin work, but fine to already commit now. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Fiona Ebner <f.ebner@proxmox.com>
|
|
Date: Thu, 7 Nov 2024 17:51:17 +0100
|
|
Subject: [PATCH] PVE backup: include device name in error when setting up
|
|
snapshot access fails
|
|
|
|
Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
|
|
---
|
|
pve-backup.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/pve-backup.c b/pve-backup.c
|
|
index 33c23e53c2..d931746453 100644
|
|
--- a/pve-backup.c
|
|
+++ b/pve-backup.c
|
|
@@ -626,7 +626,8 @@ static void create_backup_jobs_bh(void *opaque) {
|
|
bool discard_source = false;
|
|
if (di->fleecing.bs) {
|
|
if (setup_snapshot_access(di, &local_err) < 0) {
|
|
- error_setg(errp, "setting up snapshot access for fleecing failed: %s",
|
|
+ error_setg(errp, "%s - setting up snapshot access for fleecing failed: %s",
|
|
+ di->device_name,
|
|
local_err ? error_get_pretty(local_err) : "unknown error");
|
|
cleanup_snapshot_access(di);
|
|
bdrv_drained_end(di->bs);
|