]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Merge remote-tracking branch 'kwolf/tags/for-upstream' into staging
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 30 May 2017 13:15:15 +0000 (14:15 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 30 May 2017 13:15:15 +0000 (14:15 +0100)
Block layer patches

# gpg: Signature made Mon 29 May 2017 03:34:59 PM BST
# gpg:                using RSA key 0x7F09B272C88F2FD6
# gpg: Good signature from "Kevin Wolf <kwolf@redhat.com>"
# Primary key fingerprint: DC3D EB15 9A9A F95D 3D74  56FE 7F09 B272 C88F 2FD6

* kwolf/tags/for-upstream:
  block/file-*: *_parse_filename() and colons
  block: Fix backing paths for filenames with colons
  block: Tweak error message related to qemu-img amend
  qemu-img: Fix leakage of options on error
  qemu-img: copy *key-secret opts when opening newly created files
  qemu-img: introduce --target-image-opts for 'convert' command
  qemu-img: fix --image-opts usage with dd command
  qemu-img: add support for --object with 'dd' command
  qemu-img: Fix documentation of convert
  qcow2: remove extra local_error variable
  mirror: Drop permissions on s->target on completion
  nvme: Add support for Controller Memory Buffers
  iotests: 147: Don't test inet6 if not available
  qemu-iotests: Test streaming with missing job ID
  stream: fix crash in stream_start() when block_job_create() fails

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
1  2 
block/mirror.c
qemu-img.c

diff --cc block/mirror.c
Simple merge
diff --cc qemu-img.c
index 60f1784f1192adc7a767928b03fd9cdc8a21e42a,5aef8ef0476ebb07a39225851a9151efad276ac2..0ad698d7f11476f177b37cd1481f505d6f12d37e
@@@ -294,9 -295,10 +295,10 @@@ static BlockBackend *img_open_opts(cons
          if (qdict_haskey(options, BDRV_OPT_FORCE_SHARE)
              && !qdict_get_bool(options, BDRV_OPT_FORCE_SHARE)) {
              error_report("--force-share/-U conflicts with image options");
+             QDECREF(options);
              return NULL;
          }
 -        qdict_put(options, BDRV_OPT_FORCE_SHARE, qbool_from_bool(true));
 +        qdict_put_bool(options, BDRV_OPT_FORCE_SHARE, true);
      }
      blk = blk_new_open(NULL, NULL, options, flags, &local_err);
      if (!blk) {