qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Max Reitz <mreitz@redhat.com>
To: Changlimin <changlimin@h3c.com>, Fam Zheng <famz@redhat.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Block format 'raw' does not support the option 'locking' when disable image locking with option locking=off
Date: Thu, 26 Oct 2017 09:11:46 +0200	[thread overview]
Message-ID: <f10f73b8-6b6b-a30e-a147-b7fcaa28b182@redhat.com> (raw)
In-Reply-To: <BC29A004BA570342A4CC0044A3845572CFCE5962@H3CMLB12-EX.srv.huawei-3com.com>

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

On 2017-10-26 03:06, Changlimin wrote:
> share-rw=on is good for raw format file, but bad for qcow2 format file:
> 
> Failed to get "write" lock
> Is another process using the image?
> 
> Is this intented?

Yes, because you can never share qcow2 image files between VMs.  The
qcow2 format itself does not support this, as it may lead to metadata
corruption.

Max


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 512 bytes --]

  reply	other threads:[~2017-10-26  7:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-25  8:15 [Qemu-devel] Block format 'raw' does not support the option 'locking' when disable image locking with option locking=off Changlimin
2017-10-25 13:31 ` Fam Zheng
2017-10-26  1:06   ` Changlimin
2017-10-26  7:11     ` Max Reitz [this message]
2017-10-26  7:18       ` Changlimin
2017-10-26  7:32         ` Max Reitz
2017-10-27  1:28           ` Changlimin
2017-10-31 20:00         ` John Snow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f10f73b8-6b6b-a30e-a147-b7fcaa28b182@redhat.com \
    --to=mreitz@redhat.com \
    --cc=changlimin@h3c.com \
    --cc=famz@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).