All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juan Quintela <quintela@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel@nongnu.org, "Fam Zheng" <fam@euphon.net>,
	"Eric Blake" <eblake@redhat.com>,
	libvir-list@redhat.com, "Leonardo Bras" <leobras@redhat.com>,
	"Daniel P . Berrangé" <berrange@redhat.com>,
	"Stefan Hajnoczi" <stefanha@redhat.com>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Fabiano Rosas" <farosas@suse.de>, "Peter Xu" <peterx@redhat.com>,
	qemu-block@nongnu.org, "Thomas Huth" <thuth@redhat.com>,
	"Kevin Wolf" <kwolf@redhat.com>,
	"Hanna Czenczek" <hreitz@redhat.com>
Subject: Re: [PATCH v3 3/4] migration: Deprecate block migration
Date: Thu, 12 Oct 2023 14:04:08 +0200	[thread overview]
Message-ID: <87cyxk6o93.fsf@secure.mitica> (raw)
In-Reply-To: <87r0m0yxb2.fsf@pond.sub.org> (Markus Armbruster's message of "Thu, 12 Oct 2023 12:01:05 +0200")

Markus Armbruster <armbru@redhat.com> wrote:
> Juan Quintela <quintela@redhat.com> writes:
>
>> It is obsolete.  It is better to use driver-mirror with NBD instead.
>
> drive-mirror
>
> Several more below.

Done.

>> +# Features:
>> +#
>> +# @deprecated: @disk migration is deprecated.  Use driver-mirror
>> +#     with NBD instead.
>> +#
>
> Suggest:
>
>    # @deprecated: Member @disk is deprecated because block migration is.

Done.

>>  # Since: 0.14
>>  ##
>>  { 'struct': 'MigrationInfo',
>>    'data': {'*status': 'MigrationStatus', '*ram': 'MigrationStats',
>> -           '*disk': 'MigrationStats',
>> +           '*disk': { 'type': 'MigrationStats', 'features': ['deprecated'] },
>>             '*vfio': 'VfioStats',
>>             '*xbzrle-cache': 'XBZRLECacheStats',
>>             '*total-time': 'int',
>> @@ -526,6 +531,9 @@
>>  #
>>  # Features:
>>  #
>> +# @deprecated: @block migration is deprecated.  Use driver-mirror
>> +#     with NBD instead.
>> +#
>
> Suggest:
>
>    # @deprecated: Member @block is deprecated.  Use drrive-mirror with
>    # NBD instead.

Done.

>>  # @unstable: Members @x-colo and @x-ignore-shared are experimental.
>>  #
>>  # Since: 1.2
>> @@ -535,7 +543,8 @@
>>             'compress', 'events', 'postcopy-ram',
>>             { 'name': 'x-colo', 'features': [ 'unstable' ] },
>>             'release-ram',
>> -           'block', 'return-path', 'pause-before-switchover', 'multifd',
>> +           { 'name': 'block', 'features': [ 'deprecated' ] },
>> +           'return-path', 'pause-before-switchover', 'multifd',
>>             'dirty-bitmaps', 'postcopy-blocktime', 'late-block-activate',
>>             { 'name': 'x-ignore-shared', 'features': [ 'unstable' ] },
>>             'validate-uuid', 'background-snapshot',
>> @@ -826,6 +835,9 @@
>>  #
>>  # Features:
>>  #
>> +# @deprecated: Member @block-incremental is obsolete. Use
>> +#     driver-mirror with NBD instead.
>> +#
>
> Wait!  This is what PATCH 1 tells users to use instead of deprecated
> @inc.  You need to update that deprecation note to point to a
> non-deprecated replacement.

I don't have.
I want to deprecate the whole thing.
But the options are more urgent to deprecate/remove.  They are
implemented in a very hacky way.  Even for migration/qemu standards.

Later, Juan.



  parent reply	other threads:[~2023-10-12 12:05 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-11 20:47 [PATCH v3 0/4] Migration deprecated parts Juan Quintela
2023-10-11 20:47 ` [PATCH v3 1/4] migration: migrate 'inc' command option is deprecated Juan Quintela
2023-10-12  9:52   ` Markus Armbruster
2023-10-12 10:50     ` Juan Quintela
2023-10-11 20:47 ` [PATCH v3 2/4] migration: migrate 'blk' " Juan Quintela
2023-10-11 20:47 ` [PATCH v3 3/4] migration: Deprecate block migration Juan Quintela
2023-10-12 10:01   ` Markus Armbruster
2023-10-12 11:06     ` Kevin Wolf
2023-10-12 12:04     ` Juan Quintela [this message]
2023-10-11 20:47 ` [PATCH v3 4/4] migration: Deprecate old compression method Juan Quintela
2023-10-12 10:06   ` Markus Armbruster
2023-10-12 12:14     ` Juan Quintela
2023-10-11 21:02 ` [PATCH v3 0/4] Migration deprecated parts Stefan Hajnoczi

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=87cyxk6o93.fsf@secure.mitica \
    --to=quintela@redhat.com \
    --cc=armbru@redhat.com \
    --cc=berrange@redhat.com \
    --cc=eblake@redhat.com \
    --cc=fam@euphon.net \
    --cc=farosas@suse.de \
    --cc=hreitz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=leobras@redhat.com \
    --cc=libvir-list@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=peterx@redhat.com \
    --cc=qemu-block@nongnu.org \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    --cc=thuth@redhat.com \
    /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.