]> git.proxmox.com Git - pve-qemu.git/commitdiff
update diffs/indexes from patches
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 22 Nov 2019 09:05:29 +0000 (10:05 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 22 Nov 2019 09:07:39 +0000 (10:07 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/patches/pve/0001-PVE-Config-block-file-change-locking-default-to-off.patch
debian/patches/pve/0005-PVE-Config-smm_available-false.patch
debian/patches/pve/0019-PVE-backup-modify-job-api.patch
debian/patches/pve/0027-PVE-Up-Config-file-posix-make-locking-optiono-on-cre.patch
debian/patches/pve/0035-backup_job_create-pass-cluster-size-for-dump.patch
debian/patches/pve/0036-avoid-calling-dump_cb-with-NULL-data-pointer-for-sma.patch
debian/patches/pve/0041-PVE-backup-consider-source-cluster-size-as-well.patch
debian/patches/pve/0044-Acquire-aio_context-before-calling-block_job_add_bdr.patch

index 06fdeeeed7fd0dc3500bfec889386e8d9d1d8237..a14d8c6ada2b2356d5c9542994319abf5c9bdaec 100644 (file)
@@ -14,10 +14,10 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/block/file-posix.c b/block/file-posix.c
-index 4479cc7ab4..760648b78c 100644
+index 2184aa980c..71aa45ce5d 100644
 --- a/block/file-posix.c
 +++ b/block/file-posix.c
-@@ -430,7 +430,7 @@ static QemuOptsList raw_runtime_opts = {
+@@ -444,7 +444,7 @@ static QemuOptsList raw_runtime_opts = {
          {
              .name = "locking",
              .type = QEMU_OPT_STRING,
@@ -26,7 +26,7 @@ index 4479cc7ab4..760648b78c 100644
          },
          {
              .name = "pr-manager",
-@@ -519,7 +519,7 @@ static int raw_open_common(BlockDriverState *bs, QDict *options,
+@@ -533,7 +533,7 @@ static int raw_open_common(BlockDriverState *bs, QDict *options,
          s->use_lock = false;
          break;
      case ON_OFF_AUTO_AUTO:
index 0ca5984e06695f2d50cc020bfd71f5f6c0c7d68c..daf2e1955b617ec6a1a17f5c92cd86886184f393 100644 (file)
@@ -10,10 +10,10 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/hw/i386/pc.c b/hw/i386/pc.c
-index 549c437050..66576b533e 100644
+index d011733ff7..e20e189a5f 100644
 --- a/hw/i386/pc.c
 +++ b/hw/i386/pc.c
-@@ -2715,7 +2715,7 @@ bool pc_machine_is_smm_enabled(PCMachineState *pcms)
+@@ -2723,7 +2723,7 @@ bool pc_machine_is_smm_enabled(PCMachineState *pcms)
      if (tcg_enabled() || qtest_enabled()) {
          smm_available = true;
      } else if (kvm_enabled()) {
index b527994170e2943963e0797179b899c82b45032d..7bd24576f62bb38075d3d9e49a25772f22087107 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
  5 files changed, 7 insertions(+), 4 deletions(-)
 
 diff --git a/block/backup.c b/block/backup.c
-index b26c22c4b8..812783d3cb 100644
+index 8761f1f9a7..30008fcc34 100644
 --- a/block/backup.c
 +++ b/block/backup.c
 @@ -550,6 +550,7 @@ BlockJob *backup_job_create(const char *job_id, BlockDriverState *bs,
@@ -29,7 +29,7 @@ index b26c22c4b8..812783d3cb 100644
                    JobTxn *txn, Error **errp)
  {
      int64_t len;
-@@ -668,6 +669,7 @@ BlockJob *backup_job_create(const char *job_id, BlockDriverState *bs,
+@@ -675,6 +676,7 @@ BlockJob *backup_job_create(const char *job_id, BlockDriverState *bs,
      block_job_add_bdrv(&job->common, "target", target, 0, BLK_PERM_ALL,
                         &error_abort);
      job->len = len;
@@ -73,10 +73,10 @@ index 4d141e9a1f..a7c97b1585 100644
          error_propagate(errp, local_err);
      }
 diff --git a/include/block/block_int.h b/include/block/block_int.h
-index 3aa1e832a8..9f4fbad5a6 100644
+index 05ee6b4866..bb2dddca83 100644
 --- a/include/block/block_int.h
 +++ b/include/block/block_int.h
-@@ -1169,6 +1169,7 @@ BlockJob *backup_job_create(const char *job_id, BlockDriverState *bs,
+@@ -1173,6 +1173,7 @@ BlockJob *backup_job_create(const char *job_id, BlockDriverState *bs,
                              BlockdevOnError on_target_error,
                              int creation_flags,
                              BlockCompletionFunc *cb, void *opaque,
index 08af25a0a281e70a961acf7e5a360e163303c440..8f13e045b29598a80bfd15da368a8443623368c7 100644 (file)
@@ -13,10 +13,10 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
  2 files changed, 43 insertions(+), 21 deletions(-)
 
 diff --git a/block/file-posix.c b/block/file-posix.c
-index 760648b78c..e40386384e 100644
+index 71aa45ce5d..ae1cd3980e 100644
 --- a/block/file-posix.c
 +++ b/block/file-posix.c
-@@ -2240,6 +2240,7 @@ raw_co_create(BlockdevCreateOptions *options, Error **errp)
+@@ -2230,6 +2230,7 @@ raw_co_create(BlockdevCreateOptions *options, Error **errp)
      int fd;
      uint64_t perm, shared;
      int result = 0;
@@ -24,7 +24,7 @@ index 760648b78c..e40386384e 100644
  
      /* Validate options and set default values */
      assert(options->driver == BLOCKDEV_DRIVER_FILE);
-@@ -2273,19 +2274,22 @@ raw_co_create(BlockdevCreateOptions *options, Error **errp)
+@@ -2263,19 +2264,22 @@ raw_co_create(BlockdevCreateOptions *options, Error **errp)
      perm = BLK_PERM_WRITE | BLK_PERM_RESIZE;
      shared = BLK_PERM_ALL & ~BLK_PERM_RESIZE;
  
@@ -59,7 +59,7 @@ index 760648b78c..e40386384e 100644
      }
  
      /* Clear the file by truncating it to 0 */
-@@ -2318,13 +2322,15 @@ raw_co_create(BlockdevCreateOptions *options, Error **errp)
+@@ -2308,13 +2312,15 @@ raw_co_create(BlockdevCreateOptions *options, Error **errp)
      }
  
  out_unlock:
@@ -82,7 +82,7 @@ index 760648b78c..e40386384e 100644
      }
  
  out_close:
-@@ -2345,6 +2351,7 @@ static int coroutine_fn raw_co_create_opts(const char *filename, QemuOpts *opts,
+@@ -2335,6 +2341,7 @@ static int coroutine_fn raw_co_create_opts(const char *filename, QemuOpts *opts,
      PreallocMode prealloc;
      char *buf = NULL;
      Error *local_err = NULL;
@@ -90,7 +90,7 @@ index 760648b78c..e40386384e 100644
  
      /* Skip file: protocol prefix */
      strstart(filename, "file:", &filename);
-@@ -2362,6 +2369,18 @@ static int coroutine_fn raw_co_create_opts(const char *filename, QemuOpts *opts,
+@@ -2352,6 +2359,18 @@ static int coroutine_fn raw_co_create_opts(const char *filename, QemuOpts *opts,
          return -EINVAL;
      }
  
@@ -109,7 +109,7 @@ index 760648b78c..e40386384e 100644
      options = (BlockdevCreateOptions) {
          .driver     = BLOCKDEV_DRIVER_FILE,
          .u.file     = {
-@@ -2371,6 +2390,8 @@ static int coroutine_fn raw_co_create_opts(const char *filename, QemuOpts *opts,
+@@ -2361,6 +2380,8 @@ static int coroutine_fn raw_co_create_opts(const char *filename, QemuOpts *opts,
              .preallocation      = prealloc,
              .has_nocow          = true,
              .nocow              = nocow,
@@ -118,7 +118,7 @@ index 760648b78c..e40386384e 100644
          },
      };
      return raw_co_create(&options, errp);
-@@ -2812,7 +2833,7 @@ static int raw_check_perm(BlockDriverState *bs, uint64_t perm, uint64_t shared,
+@@ -2838,7 +2859,7 @@ static int raw_check_perm(BlockDriverState *bs, uint64_t perm, uint64_t shared,
      }
  
      /* Copy locks to the new fd */
index 15034168d5677c8207b00fe98a637095e5b24100..ba78610ab5f7f05d0abcbc91ec41c39d030b74a5 100644 (file)
@@ -12,7 +12,7 @@ Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
  4 files changed, 18 insertions(+), 6 deletions(-)
 
 diff --git a/block/backup.c b/block/backup.c
-index 05569de5d4..a3f0d2c9a5 100644
+index fdcfb0529c..2398a4d602 100644
 --- a/block/backup.c
 +++ b/block/backup.c
 @@ -566,6 +566,7 @@ BlockJob *backup_job_create(const char *job_id, BlockDriverState *bs,
@@ -100,10 +100,10 @@ index 29196c18d8..a95beb823e 100644
          error_propagate(errp, local_err);
      }
 diff --git a/include/block/block_int.h b/include/block/block_int.h
-index 73a55a7351..13dfee215d 100644
+index 5a8b2e06c1..e7ca823058 100644
 --- a/include/block/block_int.h
 +++ b/include/block/block_int.h
-@@ -1156,6 +1156,9 @@ void mirror_start(const char *job_id, BlockDriverState *bs,
+@@ -1160,6 +1160,9 @@ void mirror_start(const char *job_id, BlockDriverState *bs,
   * @on_target_error: The action to take upon error writing to the target.
   * @creation_flags: Flags that control the behavior of the Job lifetime.
   *                  See @BlockJobCreateFlags
@@ -113,7 +113,7 @@ index 73a55a7351..13dfee215d 100644
   * @cb: Completion function for the job.
   * @opaque: Opaque pointer value passed to @cb.
   * @txn: Transaction that this job is part of (may be NULL).
-@@ -1172,6 +1175,7 @@ BlockJob *backup_job_create(const char *job_id, BlockDriverState *bs,
+@@ -1176,6 +1179,7 @@ BlockJob *backup_job_create(const char *job_id, BlockDriverState *bs,
                              BlockdevOnError on_target_error,
                              int creation_flags,
                              BackupDumpFunc *dump_cb,
index 4771fdd0e612eefb24a8fe253e8eb215a47cf193..a9d8b1aaaf27e6c60a395210a2002adc7ab7c4ee 100644 (file)
@@ -12,7 +12,7 @@ Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
  1 file changed, 6 insertions(+), 1 deletion(-)
 
 diff --git a/block/backup.c b/block/backup.c
-index a3f0d2c9a5..3e99d23e98 100644
+index 2398a4d602..c682c99f7a 100644
 --- a/block/backup.c
 +++ b/block/backup.c
 @@ -131,7 +131,12 @@ static int coroutine_fn backup_cow_with_bounce_buffer(BackupBlockJob *job,
index 3c85307fd14e1b1c41d96fd802881cfbc9f1f392..b72cb766f02f89601a80c4342fec54c5b5cf62b7 100644 (file)
@@ -9,7 +9,7 @@ Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
  1 file changed, 2 insertions(+), 5 deletions(-)
 
 diff --git a/block/backup.c b/block/backup.c
-index 3e99d23e98..dbdc0a76ca 100644
+index c682c99f7a..556367f8ba 100644
 --- a/block/backup.c
 +++ b/block/backup.c
 @@ -642,11 +642,8 @@ BlockJob *backup_job_create(const char *job_id, BlockDriverState *bs,
index 01f7f4f08ea1df105a41e91bc700f0c484c11f7a..b1861d389195e3e5028888862bda27def5abd4a5 100644 (file)
@@ -12,10 +12,10 @@ Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
  1 file changed, 10 insertions(+)
 
 diff --git a/blockjob.c b/blockjob.c
-index 20b7f557da..c6067474a2 100644
+index 74abb97bfd..75b9180a7f 100644
 --- a/blockjob.c
 +++ b/blockjob.c
-@@ -439,10 +439,20 @@ void *block_job_create(const char *job_id, const BlockJobDriver *driver,
+@@ -448,10 +448,20 @@ void *block_job_create(const char *job_id, const BlockJobDriver *driver,
      notifier_list_add(&job->job.on_ready, &job->ready_notifier);
      notifier_list_add(&job->job.on_idle, &job->idle_notifier);