]> git.proxmox.com Git - pve-qemu.git/commitdiff
patch cleanup
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 19 Feb 2018 09:38:54 +0000 (10:38 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 19 Feb 2018 09:38:54 +0000 (10:38 +0100)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
29 files changed:
debian/patches/pve/0001-fr-ca-keymap-corrections.patch
debian/patches/pve/0002-Adjust-network-script-path-to-etc-kvm.patch
debian/patches/pve/0003-qemu-img-return-success-on-info-without-snapshots.patch
debian/patches/pve/0004-use-kvm-by-default.patch
debian/patches/pve/0005-virtio-balloon-fix-query.patch
debian/patches/pve/0006-set-the-CPU-model-to-kvm64-32-instead-of-qemu64-32.patch
debian/patches/pve/0007-qapi-modify-query-machines.patch
debian/patches/pve/0008-qapi-modify-spice-query.patch
debian/patches/pve/0009-ui-spice-default-to-pve-certs-unless-otherwise-speci.patch
debian/patches/pve/0010-internal-snapshot-async.patch
debian/patches/pve/0011-convert-savevm-async-to-threads.patch
debian/patches/pve/0012-qmp-add-get_link_status.patch
debian/patches/pve/0013-smm_available-false.patch
debian/patches/pve/0014-use-whitespace-between-VERSION-and-PKGVERSION.patch
debian/patches/pve/0015-vnc-altgr-emulation.patch
debian/patches/pve/0016-vnc-make-x509-imply-tls-again.patch
debian/patches/pve/0017-vnc-PVE-VNC-authentication.patch
debian/patches/pve/0018-migrate-fix-possible-unitialised-return-value.patch
debian/patches/pve/0019-block-rbd-disable-rbd_cache_writethrough_until_flush.patch
debian/patches/pve/0020-block-snapshot-qmp_snapshot_drive-add-aiocontext.patch
debian/patches/pve/0021-block-snapshot-qmp_delete_drive_snapshot-add-aiocont.patch
debian/patches/pve/0022-glusterfs-no-default-logfile-if-daemonized.patch
debian/patches/pve/0023-glusterfs-allow-partial-reads.patch
debian/patches/pve/0024-block-add-the-zeroinit-block-driver-filter.patch
debian/patches/pve/0025-qemu-img-dd-add-osize-and-read-from-to-stdin-stdout.patch
debian/patches/pve/0026-backup-modify-job-api.patch
debian/patches/pve/0027-backup-introduce-vma-archive-format.patch
debian/patches/pve/0028-adding-old-vma-files.patch
debian/patches/pve/0029-backup-fix-race-in-backup-stop-command.patch

index 0544f3278f72aef81a5d783258821d27db365daa..acbfd93faecf9342ac6c8ad5680874738e071dcb 100644 (file)
@@ -1,7 +1,7 @@
-From 5f03cca26a4ba9c08d6f6e19b97b6c6c1f0f236a Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:15:49 +0100
-Subject: [PATCH 01/28] fr-ca keymap corrections
+Subject: [PATCH] fr-ca keymap corrections
 
 ---
  pc-bios/keymaps/fr-ca | 9 +++++++++
index 21d63dd1c72d615872b7995a2f8ab4a5f3328958..ec0ad709dac4babafbb4f0fb4aa0cd9745fa5be5 100644 (file)
@@ -1,7 +1,7 @@
-From 499c1880a00cd772bf85167cb2bb3f5ff4eb4d33 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:16:49 +0100
-Subject: [PATCH 02/28] Adjust network script path to /etc/kvm/
+Subject: [PATCH] Adjust network script path to /etc/kvm/
 
 ---
  include/net/net.h | 5 +++--
index 114e760907dbfab95e7a3ef878702b1ba4b0ea74..cd5ed3d1523b4b88df5551296778f2ccb42828df 100644 (file)
@@ -1,7 +1,7 @@
-From 99ae84628c46f29cfce39c753801f91efe102a8c Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:18:46 +0100
-Subject: [PATCH 03/28] qemu-img: return success on info without snapshots
+Subject: [PATCH] qemu-img: return success on info without snapshots
 
 ---
  qemu-img.c | 3 ++-
index 200152159698b73901dc94710cb0d52a6d8374c5..be95fa41ff39b9f24953a24ad4bbea103f62adcd 100644 (file)
@@ -1,7 +1,7 @@
-From f1e0cc0d0f287a8072a0f69fe1a10a0cf1cd6b49 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:27:05 +0100
-Subject: [PATCH 04/28] use kvm by default
+Subject: [PATCH] use kvm by default
 
 ---
  accel.c | 4 ++--
index b69a99acdce2cc3a902407f898626ff1579e0d23..deb21094620dcf474d1006d89f0c1bcc00d94f8e 100644 (file)
@@ -1,7 +1,7 @@
-From 6b88624be0e6018ad674abdb01d6cb04fabc703e Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:27:49 +0100
-Subject: [PATCH 05/28] virtio-balloon: fix query
+Subject: [PATCH] virtio-balloon: fix query
 
 Actually provide memory information via the query-balloon
 command.
index e0fb40dcd4d08c6438340c1be50b7a908e720214..25dd6fca7ec6c19554177c11436d759663013eb8 100644 (file)
@@ -1,7 +1,7 @@
-From f321f239eb7d28861a16d6f941bd3b756621147c Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:30:21 +0100
-Subject: [PATCH 06/28] set the CPU model to kvm64/32 instead of qemu64/32
+Subject: [PATCH] set the CPU model to kvm64/32 instead of qemu64/32
 
 ---
  hw/i386/pc.c | 4 ++--
index 90af312b34027d7272353db39492f4028f38178c..09cb67d0cef75b39bff6a492e10b6710412824ab 100644 (file)
@@ -1,7 +1,7 @@
-From ba17137d9645c421717b20aef09fed3945dc6d14 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:31:18 +0100
-Subject: [PATCH 07/28] qapi: modify query machines
+Subject: [PATCH] qapi: modify query machines
 
 provide '*is-current' in MachineInfo struct
 ---
index 05ca18777018a2382e915878ed100e71bc67a23f..e73d3197221f68ebaf4cda45bbd4295e49d16d54 100644 (file)
@@ -1,7 +1,7 @@
-From d31b55269adad7b160a0942e7c887d3ec754f7d3 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:32:11 +0100
-Subject: [PATCH 08/28] qapi: modify spice query
+Subject: [PATCH] qapi: modify spice query
 
 Provide the last ticket in the SpiceInfo struct optionally.
 ---
index 05118bcfb04ed93d89009ae904f8bad24003193e..402854b00b826d5163207259ca70bbf6120bc007 100644 (file)
@@ -1,8 +1,7 @@
-From 6eb3751cbdb888cf3a0b8e481ef7faa3f58f67cb Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:33:34 +0100
-Subject: [PATCH 09/28] ui/spice: default to pve certs unless otherwise
- specified
+Subject: [PATCH] ui/spice: default to pve certs unless otherwise specified
 
 ---
  ui/spice-core.c | 15 +++++++++------
index 9bfeeb65d46b98c51582411e06ce78be8a3607fb..28a637b9d4188df08e9877c172e18412736126c2 100644 (file)
@@ -1,7 +1,7 @@
-From 27d7cf1b94244a56cd0e8a408af3e40a84dace81 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 16:04:32 +0100
-Subject: [PATCH 10/28] internal snapshot async
+Subject: [PATCH] internal snapshot async
 
 ---
  Makefile.objs           |   1 +
index 845247ee6ba8704f3993f77baf7eac87c898bd5a..67d09b2ce2bf2213d05d8d8b6321b50e434e14b1 100644 (file)
@@ -1,7 +1,7 @@
-From bed6817c14a520409f4ffee05e635c988c8b5994 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Tue, 8 Nov 2016 11:13:06 +0100
-Subject: [PATCH 11/28] convert savevm-async to threads
+Subject: [PATCH] convert savevm-async to threads
 
 ---
  savevm-async.c | 144 +++++++++++++++++++++++++++++++++++----------------------
index 192400302e6781fec9c2d3c1872108c64533a83d..e359662c43fcdcb68f5df67e835be3340387648e 100644 (file)
@@ -1,7 +1,7 @@
-From a43e451816ebd6d961412b0d88597c79eb6dd478 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 16:34:41 +0100
-Subject: [PATCH 12/28] qmp: add get_link_status
+Subject: [PATCH] qmp: add get_link_status
 
 ---
  net/net.c        | 27 +++++++++++++++++++++++++++
index 57ea59337425c7a2b47b35d0fa2e22f6d1fcc776..6abdb4531c5f8edab97e73b5719b19af5e1f3d33 100644 (file)
@@ -1,7 +1,7 @@
-From 8d4dc658bad2438d6225d261aae8647088b853a1 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Alexandre Derumier <aderumier@odiso.com>
 Date: Tue, 29 Sep 2015 15:37:44 +0200
-Subject: [PATCH 13/28] smm_available = false
+Subject: [PATCH] smm_available = false
 
 Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
 ---
index 6758eb621523f8ea0a62bb4d65975ea8d3a69698..1b5ade72a3e2c106fcae60d47c9c362241342e71 100644 (file)
@@ -1,7 +1,7 @@
-From 4c989793d0df71e8f90da8c8f883d42a8aa92191 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 16:50:05 +0100
-Subject: [PATCH 14/28] use whitespace between VERSION and PKGVERSION
+Subject: [PATCH] use whitespace between VERSION and PKGVERSION
 
 Our kvm version parser expects a white space or comma after
 the version string, see PVE::QemuServer::kvm_user_version()
index 788dafaa1441da7e761b229ebf513d379c4808ff..7f8b3b8648bf84bd4fbfa167688da5f8a7c42359 100644 (file)
@@ -1,7 +1,7 @@
-From 9082b919824dbedc5c3aa04369abb2f433ef6ec1 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 14:17:38 +0100
-Subject: [PATCH 15/28] vnc: altgr emulation
+Subject: [PATCH] vnc: altgr emulation
 
 ---
  ui/vnc.c | 26 +++++++++++++++++++++++++-
index e029ddc1f49271367400217acbe4ed954fb7a625..8c74f13566a48080aca9c0fe5118c0c4c678ad5e 100644 (file)
@@ -1,7 +1,7 @@
-From 78f096b96d63ed2e7eefd5826c5b8ef62f1244eb Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Tue, 12 Jan 2016 09:09:49 +0100
-Subject: [PATCH 16/28] vnc: make x509 imply tls again
+Subject: [PATCH] vnc: make x509 imply tls again
 
 ---
  ui/vnc.c | 5 ++---
index b425cf39affcfbb0729eef40a0e88e6536c82689..e4c915a6e1a4a8d09caf6fbbe133abaa36c6e0e9 100644 (file)
@@ -1,7 +1,7 @@
-From 981ee6783da6e4d5905fcc972950296187a55c0d Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Mon, 11 Jan 2016 10:40:31 +0100
-Subject: [PATCH 17/28] vnc: PVE VNC authentication
+Subject: [PATCH] vnc: PVE VNC authentication
 
 ---
  crypto/tlscreds.c         |  47 +++++++++++
index 4580d26ee9ba6eff769dd66bb90669fc8673ded9..6fd3e198c7bb39535ff3d41c50b3a97c127ec5fa 100644 (file)
@@ -1,7 +1,7 @@
-From 9398ed96d5c02451ec85a3fcea2284b6efd4b7a8 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Thomas Lamprecht <t.lamprecht@proxmox.com>
 Date: Wed, 6 Apr 2016 16:45:15 +0200
-Subject: [PATCH 18/28] migrate: fix possible unitialised return value
+Subject: [PATCH] migrate: fix possible unitialised return value
 
 ---
  migration/savevm.c | 2 +-
index ca73580078c762bf190aea0a522b78e65f6addc5..1cca9492172577b4e365a74b71beaa7e11d84c9d 100644 (file)
@@ -1,8 +1,8 @@
-From 24fea0d7356b39d70dde9eb683183ed5c67a4ac9 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Alexandre Derumier <aderumier@odiso.com>
 Date: Tue, 26 Jul 2016 16:51:00 +0200
-Subject: [PATCH 19/28] block: rbd: disable rbd_cache_writethrough_until_flush
with cache=unsafe
+Subject: [PATCH] block: rbd: disable rbd_cache_writethrough_until_flush with
+ cache=unsafe
 
 Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
 ---
index af5bed53550fcce0c86ccbfe407d7c12a1477bf5..05b172c805d387ef6e364f7d96baedb2a9dc10a8 100644 (file)
@@ -1,7 +1,7 @@
-From dccd9887366b5df7eeb8394cc0476536ebc8dd45 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Alexandre Derumier <aderumier@odiso.com>
 Date: Tue, 13 Sep 2016 01:57:56 +0200
-Subject: [PATCH 20/28] block: snapshot: qmp_snapshot_drive: add aiocontext
+Subject: [PATCH] block: snapshot: qmp_snapshot_drive: add aiocontext
 
 Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
 ---
index 79c0dc820d37c9e94a7e79e49c37d19f77350d63..bf98d487d5ad2a871c104b0761c761a6009e8a7d 100644 (file)
@@ -1,8 +1,7 @@
-From e46b7bfe99cf88021d65b7796318066b1326ad53 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Alexandre Derumier <aderumier@odiso.com>
 Date: Mon, 7 Nov 2016 11:47:50 +0100
-Subject: [PATCH 21/28] block: snapshot: qmp_delete_drive_snapshot : add
- aiocontext
+Subject: [PATCH] block: snapshot: qmp_delete_drive_snapshot : add aiocontext
 
 this fix snapshot delete of qcow2 with iothread enabled
 
index 32e8b7155974fc0c1df8a3cb8d42d936621de273..ac2046b03b4a05211317546d28c94a5e31de6140 100644 (file)
@@ -1,7 +1,7 @@
-From a53fb2c9746d90e6020a0d7e5e8e2e346c81fb99 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Mon, 24 Oct 2016 09:32:36 +0200
-Subject: [PATCH 22/28] glusterfs: no default logfile if daemonized
+Subject: [PATCH] glusterfs: no default logfile if daemonized
 
 ---
  block/gluster.c | 15 +++++++++++----
index 444e32d01971eb59ed029d40be6f5f45ac8a542f..6648a2b9483187a8ab3e461397ae5e01f954a498 100644 (file)
@@ -1,7 +1,7 @@
-From b7b68751ac7a5779872611ee1084be52b7645988 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 30 Nov 2016 10:27:47 +0100
-Subject: [PATCH 23/28] glusterfs: allow partial reads
+Subject: [PATCH] glusterfs: allow partial reads
 
 This should deal with qemu bug #1644754 until upstream
 decides which way to go. The general direction seems to be
index a531a9b2e9452c825cd689060578a909ac96bd20..e3f9fa565faf604953df7e0b1c32512a4c35674e 100644 (file)
@@ -1,7 +1,7 @@
-From 728c38cd3035da76df02cf955c0452c3401eb3f3 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Thu, 17 Mar 2016 11:33:37 +0100
-Subject: [PATCH 24/28] block: add the zeroinit block driver filter
+Subject: [PATCH] block: add the zeroinit block driver filter
 
 ---
  block/Makefile.objs |   1 +
index 32d987b47160060fdb32029399e691b1dc1040fb..b730dbe3660a94a4233083160369c1d43e47aeaa 100644 (file)
@@ -1,7 +1,7 @@
-From e1031eef2db9f19cd09c21ba36f0d106528d8df0 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Fri, 23 Jun 2017 12:01:43 +0200
-Subject: [PATCH 25/28] qemu-img dd: add osize and read from/to stdin/stdout
+Subject: [PATCH] qemu-img dd: add osize and read from/to stdin/stdout
 
 Neither convert nor dd were previously able to write to or
 read from a pipe. Particularly serializing an image file
index a1219963dd654c2de0203a2dd06904c7ee13ffd1..3b73e9f899ec843af1480351ca284f64b4eeef92 100644 (file)
@@ -1,7 +1,7 @@
-From 6017af4918c9795a7f98a463426e1e21065b15d5 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 9 Dec 2015 15:04:57 +0100
-Subject: [PATCH 26/28] backup: modify job api
+Subject: [PATCH] backup: modify job api
 
 Introduce a pause_count parameter to start a backup in
 paused mode. This way backups of multiple drives can be
index 889e4012bcc40939370f880b60e40d648339e727..b09ac397bdc28b353b3435269a9609a557d88d37 100644 (file)
@@ -1,13 +1,13 @@
-From fb4bcaaced8119f2b99d1621fdfe5fce159311f4 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Wed, 2 Aug 2017 13:51:02 +0200
-Subject: [PATCH 27/28] backup: introduce vma archive format
+Subject: [PATCH] backup: introduce vma archive format
 
 ---
  MAINTAINERS          |   6 +
  block/Makefile.objs  |   3 +
  block/vma.c          | 424 +++++++++++++++++++++++++++++++++++++++++++
- blockdev.c           | 499 +++++++++++++++++++++++++++++++++++++++++++++++++++
+ blockdev.c           | 498 +++++++++++++++++++++++++++++++++++++++++++++++++++
  configure            |  30 ++++
  hmp-commands-info.hx |  13 ++
  hmp-commands.hx      |  31 ++++
@@ -15,7 +15,7 @@ Subject: [PATCH 27/28] backup: introduce vma archive format
  hmp.h                |   3 +
  qapi-schema.json     |  91 ++++++++++
  qapi/block-core.json |  20 ++-
- 11 files changed, 1181 insertions(+), 2 deletions(-)
+ 11 files changed, 1180 insertions(+), 2 deletions(-)
  create mode 100644 block/vma.c
 
 diff --git a/MAINTAINERS b/MAINTAINERS
@@ -484,7 +484,7 @@ index 0000000000..7151514f94
 +
 +block_init(bdrv_vma_init);
 diff --git a/blockdev.c b/blockdev.c
-index 9b6cfafd33..e23eb16fc8 100644
+index 9b6cfafd33..534c00f5da 100644
 --- a/blockdev.c
 +++ b/blockdev.c
 @@ -31,10 +31,12 @@
@@ -500,7 +500,7 @@ index 9b6cfafd33..e23eb16fc8 100644
  #include "block/throttle-groups.h"
  #include "monitor/monitor.h"
  #include "qemu/error-report.h"
-@@ -2932,6 +2934,503 @@ out:
+@@ -2932,6 +2934,502 @@ out:
      aio_context_release(aio_context);
  }
  
@@ -665,7 +665,6 @@ index 9b6cfafd33..e23eb16fc8 100644
 +static void pvebackup_run_next_job(void)
 +{
 +    bool cancel = backup_state.error || backup_state.cancel;
-+fprintf(stderr, "run next job: %zu\n", backup_state.next_job);
 +    GList *next = g_list_nth(backup_state.di_list, backup_state.next_job);
 +    while (next) {
 +        PVEBackupDevInfo *di = (PVEBackupDevInfo *)next->data;
index 08cf5f7bb8230f54fed7dd577a531b6e878267a7..8025136b7f53d02cf4e8372f7d5e12cbd8a8c19e 100644 (file)
@@ -1,21 +1,21 @@
-From bda9612a0dc8b39b73c8e99a149f2aa967a056a3 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Mon, 7 Aug 2017 08:51:16 +0200
-Subject: [PATCH 28/28] adding old vma files
+Subject: [PATCH] adding old vma files
 
 ---
  Makefile                  |   3 +-
  Makefile.objs             |   1 +
  block/backup.c            | 132 ++++---
  block/replication.c       |   1 +
- blockdev.c                | 250 +++++++++-----
+ blockdev.c                | 249 +++++++++-----
  blockjob.c                |  11 +-
  include/block/block_int.h |   4 +
  vma-reader.c              | 857 ++++++++++++++++++++++++++++++++++++++++++++++
  vma-writer.c              | 771 +++++++++++++++++++++++++++++++++++++++++
  vma.c                     | 757 ++++++++++++++++++++++++++++++++++++++++
  vma.h                     | 149 ++++++++
- 11 files changed, 2802 insertions(+), 134 deletions(-)
+ 11 files changed, 2802 insertions(+), 133 deletions(-)
  create mode 100644 vma-reader.c
  create mode 100644 vma-writer.c
  create mode 100644 vma.c
@@ -295,7 +295,7 @@ index 1c41d9e6bf..60c6524417 100644
          if (local_err) {
              error_propagate(errp, local_err);
 diff --git a/blockdev.c b/blockdev.c
-index e23eb16fc8..19a82e8774 100644
+index 534c00f5da..19a82e8774 100644
 --- a/blockdev.c
 +++ b/blockdev.c
 @@ -31,7 +31,6 @@
@@ -550,7 +550,7 @@ index e23eb16fc8..19a82e8774 100644
                  g_free(cdata);
                  g_free(basename);
                  return 1;
-@@ -3089,35 +3187,37 @@ static int config_to_vma(const char *file, BackupFormat format,
+@@ -3089,34 +3187,37 @@ static int config_to_vma(const char *file, BackupFormat format,
          g_free(basename);
          g_free(cdata);
  
@@ -562,7 +562,6 @@ index e23eb16fc8..19a82e8774 100644
  static void pvebackup_run_next_job(void)
  {
 -    bool cancel = backup_state.error || backup_state.cancel;
--fprintf(stderr, "run next job: %zu\n", backup_state.next_job);
 -    GList *next = g_list_nth(backup_state.di_list, backup_state.next_job);
 -    while (next) {
 -        PVEBackupDevInfo *di = (PVEBackupDevInfo *)next->data;
@@ -601,7 +600,7 @@ index e23eb16fc8..19a82e8774 100644
                      bool has_devlist, const char *devlist,
                      bool has_speed, int64_t speed, Error **errp)
  {
-@@ -3125,14 +3225,15 @@ UuidInfo *qmp_backup(const char *backup_file, bool has_format,
+@@ -3124,14 +3225,15 @@ UuidInfo *qmp_backup(const char *backup_file, bool has_format,
      BlockDriverState *bs = NULL;
      const char *backup_dir = NULL;
      Error *local_err = NULL;
@@ -619,7 +618,7 @@ index e23eb16fc8..19a82e8774 100644
          error_set(errp, ERROR_CLASS_GENERIC_ERROR,
                    "previous backup not finished");
          return NULL;
-@@ -3207,40 +3308,28 @@ UuidInfo *qmp_backup(const char *backup_file, bool has_format,
+@@ -3206,40 +3308,28 @@ UuidInfo *qmp_backup(const char *backup_file, bool has_format,
          total += size;
      }
  
@@ -668,7 +667,7 @@ index e23eb16fc8..19a82e8774 100644
                  goto err;
              }
          }
-@@ -3281,15 +3370,15 @@ UuidInfo *qmp_backup(const char *backup_file, bool has_format,
+@@ -3280,15 +3370,15 @@ UuidInfo *qmp_backup(const char *backup_file, bool has_format,
  
      /* add configuration file to archive */
      if (has_config_file) {
@@ -688,7 +687,7 @@ index e23eb16fc8..19a82e8774 100644
        }
      }
      /* initialize global backup_state now */
-@@ -3311,11 +3400,12 @@ UuidInfo *qmp_backup(const char *backup_file, bool has_format,
+@@ -3310,11 +3400,12 @@ UuidInfo *qmp_backup(const char *backup_file, bool has_format,
      }
      backup_state.backup_file = g_strdup(backup_file);
  
@@ -704,7 +703,7 @@ index e23eb16fc8..19a82e8774 100644
  
      backup_state.total = total;
      backup_state.transferred = 0;
-@@ -3326,21 +3416,16 @@ UuidInfo *qmp_backup(const char *backup_file, bool has_format,
+@@ -3325,21 +3416,16 @@ UuidInfo *qmp_backup(const char *backup_file, bool has_format,
      while (l) {
          PVEBackupDevInfo *di = (PVEBackupDevInfo *)l->data;
          l = g_list_next(l);
@@ -729,7 +728,7 @@ index e23eb16fc8..19a82e8774 100644
      }
  
      if (!backup_state.error) {
-@@ -3374,9 +3459,10 @@ err:
+@@ -3373,9 +3459,10 @@ err:
          g_strfreev(devs);
      }
  
@@ -743,7 +742,7 @@ index e23eb16fc8..19a82e8774 100644
      }
  
      if (backup_dir) {
-@@ -3761,7 +3847,7 @@ static BlockJob *do_drive_backup(DriveBackup *backup, BlockJobTxn *txn,
+@@ -3760,7 +3847,7 @@ static BlockJob *do_drive_backup(DriveBackup *backup, BlockJobTxn *txn,
      job = backup_job_create(backup->job_id, bs, target_bs, backup->speed,
                              backup->sync, bmap, backup->compress,
                              backup->on_source_error, backup->on_target_error,
@@ -752,7 +751,7 @@ index e23eb16fc8..19a82e8774 100644
      bdrv_unref(target_bs);
      if (local_err != NULL) {
          error_propagate(errp, local_err);
-@@ -3840,7 +3926,7 @@ BlockJob *do_blockdev_backup(BlockdevBackup *backup, BlockJobTxn *txn,
+@@ -3839,7 +3926,7 @@ BlockJob *do_blockdev_backup(BlockdevBackup *backup, BlockJobTxn *txn,
      job = backup_job_create(backup->job_id, bs, target_bs, backup->speed,
                              backup->sync, NULL, backup->compress,
                              backup->on_source_error, backup->on_target_error,
index 6cefeb04977366995abb92e820716b9646991e9c..0aa7271580f47cd9aee4fae3513508d68c914dcb 100644 (file)
@@ -1,7 +1,7 @@
-From 3cff3cff0dda09201386dff3c86c5e4fdb0b41b7 Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Wolfgang Bumiller <w.bumiller@proxmox.com>
 Date: Tue, 5 Dec 2017 12:12:15 +0100
-Subject: [PATCH 2/2] backup: fix race in backup-stop command
+Subject: [PATCH] backup: fix race in backup-stop command
 
 Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
 ---