X-Git-Url: https://git.proxmox.com/?p=pve-qemu-kvm.git;a=blobdiff_plain;f=debian%2Fpatches%2Fpve%2F0023-backup-vma-allow-empty-backups.patch;fp=debian%2Fpatches%2Fpve%2F0023-backup-vma-allow-empty-backups.patch;h=e14e0dac58345403117aa78c242d8d82b8391f33;hp=d42a3d2b7f4dbd07e0df5226b3c3f6a593e65198;hb=1a91ab45b7b886b5a4d2b12a559e4b239eccceed;hpb=e9748910af967b15cce8c312fc50589065fca911 diff --git a/debian/patches/pve/0023-backup-vma-allow-empty-backups.patch b/debian/patches/pve/0023-backup-vma-allow-empty-backups.patch index d42a3d2..e14e0da 100644 --- a/debian/patches/pve/0023-backup-vma-allow-empty-backups.patch +++ b/debian/patches/pve/0023-backup-vma-allow-empty-backups.patch @@ -1,4 +1,4 @@ -From e9b9fd9156a6631998ec4b4254fe2e91859b340a Mon Sep 17 00:00:00 2001 +From 2b80d33fbafd332233f0b49fe7b921d00809d8a5 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Wed, 9 Dec 2015 16:31:51 +0100 Subject: [PATCH 23/47] backup: vma: allow empty backups @@ -58,7 +58,7 @@ index 2aafb26..78f1de9 100644 } return ret; diff --git a/vma-writer.c b/vma-writer.c -index 79b7fd4..0d26fc6 100644 +index 216577a..0dd668b 100644 --- a/vma-writer.c +++ b/vma-writer.c @@ -252,7 +252,7 @@ vma_queue_write(VmaWriter *vmaw, const void *buf, size_t bytes) @@ -120,10 +120,10 @@ index 79b7fd4..0d26fc6 100644 return open_drives; diff --git a/vma.c b/vma.c -index c88a4358..08e4725 100644 +index 1ffaced..c7c0538 100644 --- a/vma.c +++ b/vma.c -@@ -27,7 +27,7 @@ static void help(void) +@@ -28,7 +28,7 @@ static void help(void) "\n" "vma list \n" "vma config [-c config]\n" @@ -132,7 +132,7 @@ index c88a4358..08e4725 100644 "vma extract [-r ] \n" "vma verify [-v]\n" ; -@@ -395,6 +395,18 @@ typedef struct BackupJob { +@@ -396,6 +396,18 @@ typedef struct BackupJob { #define BACKUP_SECTORS_PER_CLUSTER (VMA_CLUSTER_SIZE / BDRV_SECTOR_SIZE) @@ -151,7 +151,7 @@ index c88a4358..08e4725 100644 static void coroutine_fn backup_run(void *opaque) { BackupJob *job = (BackupJob *)opaque; -@@ -468,8 +480,8 @@ static int create_archive(int argc, char **argv) +@@ -469,8 +481,8 @@ static int create_archive(int argc, char **argv) } @@ -162,7 +162,7 @@ index c88a4358..08e4725 100644 help(); } -@@ -504,11 +516,11 @@ static int create_archive(int argc, char **argv) +@@ -505,11 +517,11 @@ static int create_archive(int argc, char **argv) l = g_list_next(l); } @@ -176,7 +176,7 @@ index c88a4358..08e4725 100644 Error *errp = NULL; BlockDriverState *bs; -@@ -539,37 +551,39 @@ static int create_archive(int argc, char **argv) +@@ -540,37 +552,39 @@ static int create_archive(int argc, char **argv) int percent = 0; int last_percent = -1;