]> git.proxmox.com Git - pve-qemu-kvm.git/blobdiff - debian/patches/backup-do-not-return-errors-in-dump-callback.patch
refresh all quilt patches
[pve-qemu-kvm.git] / debian / patches / backup-do-not-return-errors-in-dump-callback.patch
index 283cb311d0f8330bf01ae0572777d996e94e58b8..1d095431027f2582009759a75e94c67e0a92e36c 100644 (file)
@@ -6,9 +6,9 @@ We simply report success and cancel the backup job instead.
 
 Index: new/blockdev.c
 ===================================================================
---- new.orig/blockdev.c        2014-05-05 09:36:50.000000000 +0200
-+++ new/blockdev.c     2014-05-05 09:40:22.000000000 +0200
-@@ -1862,6 +1862,11 @@
+--- new.orig/blockdev.c        2014-06-17 06:15:08.000000000 +0200
++++ new/blockdev.c     2014-06-17 06:15:09.000000000 +0200
+@@ -1914,6 +1914,11 @@
  {
      PVEBackupDevInfo *di = opaque;
  
@@ -20,7 +20,7 @@ Index: new/blockdev.c
      if (sector_num & 0x7f) {
          if (!backup_state.error) {
              error_setg(&backup_state.error,
-@@ -1872,7 +1877,6 @@
+@@ -1924,7 +1929,6 @@
      }
  
      int64_t cluster_num = sector_num >> 7;
@@ -28,7 +28,7 @@ Index: new/blockdev.c
  
      int ret = -1;
  
-@@ -1880,17 +1884,27 @@
+@@ -1932,17 +1936,27 @@
          size_t zero_bytes = 0;
          ret = vma_writer_write(backup_state.vmaw, di->dev_id, cluster_num,
                                 buf, &zero_bytes);
@@ -60,7 +60,7 @@ Index: new/blockdev.c
  }
  
  static void pvebackup_cleanup(void)
-@@ -1962,7 +1976,7 @@
+@@ -2014,7 +2028,7 @@
              BlockJob *job = di->bs->job;
              if (job) {
                  if (!di->completed) {