[pve-devel] [PATCH qemu v2 05/25] PVE backup: include device name in error when setting up snapshot access fails

Fiona Ebner f.ebner at proxmox.com
Tue Aug 13 15:28:09 CEST 2024


Signed-off-by: Fiona Ebner <f.ebner at proxmox.com>
---

No changes in v2.

 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);
-- 
2.39.2





More information about the pve-devel mailing list