[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 4/6] migration: Add zerocopy parameter for QMP/HMP for Lin
From: |
Markus Armbruster |
Subject: |
Re: [PATCH v5 4/6] migration: Add zerocopy parameter for QMP/HMP for Linux |
Date: |
Fri, 12 Nov 2021 13:01:02 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Juan Quintela <quintela@redhat.com> writes:
> Leonardo Bras <leobras@redhat.com> wrote:
>> Add property that allows zerocopy migration of memory pages,
>> and also includes a helper function migrate_use_zerocopy() to check
>> if it's enabled.
>>
>> No code is introduced to actually do the migration, but it allow
>> future implementations to enable/disable this feature.
>>
>> On non-Linux builds this parameter is compiled-out.
>>
>> Signed-off-by: Leonardo Bras <leobras@redhat.com>
>
> Hi
>
>> +# @zerocopy: Controls behavior on sending memory pages on migration.
>> +# When true, enables a zerocopy mechanism for sending memory
>> +# pages, if host supports it.
>> +# Defaults to false. (Since 6.2)
>> +#
>
> This needs to be changed to next release, but not big deal.
Rename to zero-copy while there. QAPI/QMP strongly prefer separating
words with dashes. "zerocopy" is not a word, "zero" and "copy" are.
[...]
- Re: [PATCH v5 1/6] QIOChannel: Add io_writev_zerocopy & io_flush_zerocopy callbacks, (continued)
Re: [PATCH v5 1/6] QIOChannel: Add io_writev_zerocopy & io_flush_zerocopy callbacks, Daniel P . Berrangé, 2021/11/12
[PATCH v5 2/6] QIOChannelSocket: Add flags parameter for writing, Leonardo Bras, 2021/11/12
[PATCH v5 4/6] migration: Add zerocopy parameter for QMP/HMP for Linux, Leonardo Bras, 2021/11/12
Re: [PATCH v5 4/6] migration: Add zerocopy parameter for QMP/HMP for Linux, Daniel P . Berrangé, 2021/11/12
[PATCH v5 3/6] QIOChannelSocket: Implement io_writev_zerocopy & io_flush_zerocopy for CONFIG_LINUX, Leonardo Bras, 2021/11/12
[PATCH v5 5/6] migration: Add migrate_use_tls() helper, Leonardo Bras, 2021/11/12
[PATCH v5 6/6] multifd: Implement zerocopy write in multifd migration (multifd-zerocopy), Leonardo Bras, 2021/11/12