All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Denis V. Lunev" <den@virtuozzo.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>,
	qemu-devel@nongnu.org, qemu-block@nongnu.org,
	nbd-general@lists.sourceforge.net, alex@alex.org.uk,
	eblake@redhat.com, kwolf@redhat.com, stefanha@redhat.com,
	w@uter.be
Subject: Re: [Qemu-devel] [PATCH] proto: add 'shift' extension.
Date: Tue, 27 Sep 2016 16:46:29 +0300	[thread overview]
Message-ID: <6508b339-8547-b444-a02e-0d24b3ea5692@virtuozzo.com> (raw)
In-Reply-To: <2133222015.3059876.1474978044995.JavaMail.zimbra@redhat.com>

On 09/27/2016 03:07 PM, Paolo Bonzini wrote:
>
> ----- Original Message -----
>> From: "Denis V. Lunev" <den@virtuozzo.com>
>> To: "Paolo Bonzini" <pbonzini@redhat.com>
>> Cc: "Vladimir Sementsov-Ogievskiy" <vsementsov@virtuozzo.com>, qemu-devel@nongnu.org, qemu-block@nongnu.org,
>> nbd-general@lists.sourceforge.net, alex@alex.org.uk, eblake@redhat.com, kwolf@redhat.com, stefanha@redhat.com,
>> w@uter.be
>> Sent: Tuesday, September 27, 2016 12:25:54 PM
>> Subject: Re: [PATCH] proto: add 'shift' extension.
>>
>> On 09/27/2016 01:15 PM, Paolo Bonzini wrote:
>>>> We could go in a different direction and export flag
>>>> 'has_zero_init' which will report that the storage is
>>>> initialized with all zeroes at the moment. In this
>>>> case mirroring code will not fall into this
>>>> branch.
>>> Why don't you add the zero_init flag to QEMU's NBD driver instead?
>> for all cases without knowing real backend on the server side?
>> I think this would be wrong.
> Add it to the command line, and leave it to libvirt or the user to
> pass "-drive file.driver=nbd,...,file.zero-init=on".
>
> Paolo
this specifically means that all QMP commands like 'drive-backup' and
'drive-mirror' will have to be modified to pass this attribute. If this is
OK, we can proceed with that.

Den

      parent reply	other threads:[~2016-09-27 17:22 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-26 12:46 [Qemu-devel] [PATCH] proto: add 'shift' extension Vladimir Sementsov-Ogievskiy
2016-09-26 12:51 ` Paolo Bonzini
2016-09-26 13:53   ` Vladimir Sementsov-Ogievskiy
2016-09-26 13:54     ` Paolo Bonzini
2016-09-26 14:06       ` Alex Bligh
2016-09-26 20:35   ` Eric Blake
2016-09-26 14:05 ` Alex Bligh
2016-09-26 20:21 ` Eric Blake
2016-09-26 23:41   ` [Qemu-devel] [Nbd] " Wouter Verhelst
2016-09-27  7:36     ` Alex Bligh
2016-09-27  9:43 ` [Qemu-devel] " Denis V. Lunev
2016-09-27 10:15   ` Paolo Bonzini
2016-09-27 10:25     ` Denis V. Lunev
2016-09-27 12:07       ` Paolo Bonzini
2016-09-27 13:28         ` Denis V. Lunev
2016-09-27 17:04           ` Paolo Bonzini
2016-09-27 18:59             ` Denis V. Lunev
2016-09-28  8:34               ` Kevin Wolf
2016-09-28  8:37                 ` Denis V. Lunev
2016-09-28  8:56                   ` Kevin Wolf
2016-09-28  9:00                     ` Vladimir Sementsov-Ogievskiy
2016-09-28  9:32                       ` Kevin Wolf
2016-09-27 13:46         ` Denis V. Lunev [this message]

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=6508b339-8547-b444-a02e-0d24b3ea5692@virtuozzo.com \
    --to=den@virtuozzo.com \
    --cc=alex@alex.org.uk \
    --cc=eblake@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=nbd-general@lists.sourceforge.net \
    --cc=pbonzini@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    --cc=vsementsov@virtuozzo.com \
    --cc=w@uter.be \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.