[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] proto: add 'shift' extension.
From: |
Denis V. Lunev |
Subject: |
Re: [Qemu-devel] [PATCH] proto: add 'shift' extension. |
Date: |
Tue, 27 Sep 2016 21:59:44 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 |
On 09/27/2016 08:04 PM, Paolo Bonzini wrote:
>
> On 27/09/2016 15:28, Denis V. Lunev wrote:
>> On 09/27/2016 03:07 PM, Paolo Bonzini wrote:
>>> ----- Original Message -----
>>>> From: "Denis V. Lunev" <address@hidden>
>>>> To: "Paolo Bonzini" <address@hidden>
>>>> Cc: "Vladimir Sementsov-Ogievskiy" <address@hidden>, address@hidden,
>>>> address@hidden,
>>>> address@hidden, address@hidden, address@hidden, address@hidden,
>>>> address@hidden,
>>>> address@hidden
>>>> 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".
>> I have started with something very similar for 'drive-mirror' command.
>> We have added additional flag for this to improve migration speed
>> and this was rejected.
> You can add it through the filename path too, through a URI option
> "nbd://...?zero-init=on".
>
> Paolo
ha, cool idea! Thanks!
Den
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., (continued)
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., Alex Bligh, 2016/09/26
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., Eric Blake, 2016/09/26
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., Denis V. Lunev, 2016/09/27
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., Paolo Bonzini, 2016/09/27
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., Denis V. Lunev, 2016/09/27
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., Paolo Bonzini, 2016/09/27
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., Denis V. Lunev, 2016/09/27
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., Paolo Bonzini, 2016/09/27
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension.,
Denis V. Lunev <=
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., Kevin Wolf, 2016/09/28
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., Denis V. Lunev, 2016/09/28
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., Kevin Wolf, 2016/09/28
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., Vladimir Sementsov-Ogievskiy, 2016/09/28
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., Kevin Wolf, 2016/09/28
- Re: [Qemu-devel] [PATCH] proto: add 'shift' extension., Denis V. Lunev, 2016/09/27