qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Xu <peterx@redhat.com>
To: "Dr. David Alan Gilbert" <dave@treblig.org>
Cc: "Markus Armbruster" <armbru@redhat.com>,
	"Fabiano Rosas" <farosas@suse.de>,
	qemu-devel@nongnu.org,
	"Daniel P . Berrangé" <berrange@redhat.com>,
	devel@lists.libvirt.org, "Alex Bennée" <alex.bennee@linaro.org>,
	"Philippe Mathieu-Daudé" <philmd@linaro.org>,
	"Thomas Huth" <thuth@redhat.com>,
	"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
	"Beraldo Leal" <bleal@redhat.com>,
	"Eric Blake" <eblake@redhat.com>, "Kevin Wolf" <kwolf@redhat.com>,
	"Hanna Reitz" <hreitz@redhat.com>
Subject: Re: [PATCH v3 3/6] migration: Remove 'blk/-b' option from migrate commands
Date: Thu, 2 May 2024 10:49:54 -0400	[thread overview]
Message-ID: <ZjOoEtCHvuPHZnUs@x1n> (raw)
In-Reply-To: <ZjOWiu6kfxXcxhNB@gallifrey>

On Thu, May 02, 2024 at 01:35:06PM +0000, Dr. David Alan Gilbert wrote:
> * Markus Armbruster (armbru@redhat.com) wrote:
> > Fabiano Rosas <farosas@suse.de> writes:
> > 
> > > The block migration is considered obsolete and has been deprecated in
> > > 8.2. Remove the migrate command option that enables it. This only
> > > affects the QMP and HMP commands, the feature can still be accessed by
> > > setting the migration 'block' capability. The whole feature will be
> > > removed in a future patch.
> > >
> > > Deprecation commit 8846b5bfca ("migration: migrate 'blk' command
> > > option is deprecated.").
> > >
> > > Reviewed-by: Markus Armbruster <armbru@redhat.com>
> > > Signed-off-by: Fabiano Rosas <farosas@suse.de>
> > 
> > [...]
> > 
> > > diff --git a/hmp-commands.hx b/hmp-commands.hx
> > > index 7978302949..ebca2cdced 100644
> > > --- a/hmp-commands.hx
> > > +++ b/hmp-commands.hx
> > > @@ -909,21 +909,17 @@ ERST
> > >  
> > >      {
> > >          .name       = "migrate",
> > > -        .args_type  = "detach:-d,blk:-b,resume:-r,uri:s",
> > > -        .params     = "[-d] [-b] [-r] uri",
> > > +        .args_type  = "detach:-d,resume:-r,uri:s",
> > > +        .params     = "[-d] [-r] uri",
> > >          .help       = "migrate to URI (using -d to not wait for completion)"
> > > -		      "\n\t\t\t -b for migration without shared storage with"
> > > -		      " full copy of disk\n\t\t\t -r to resume a paused migration",
> > > +		      "\n\t\t\t -r to resume a paused migration",
> > >          .cmd        = hmp_migrate,
> > >      },
> > >  
> > >  
> > >  SRST
> > > -``migrate [-d] [-b]`` *uri*
> > > +``migrate [-d]`` *uri*
> > >    Migrate to *uri* (using -d to not wait for completion).
> > > -
> > > -  ``-b``
> > > -    for migration with full copy of disk
> > >  ERST
> > 
> > Not this patch's fault, but here goes anyway: -r is undocumented here.
> 
> Probably one for Peter I guess.

Yes, and I'll send a patch! :-D

-- 
Peter Xu



  reply	other threads:[~2024-05-02 14:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-30 14:27 [PATCH v3 0/6] migration removals & deprecations Fabiano Rosas
2024-04-30 14:27 ` [PATCH v3 1/6] migration: Remove 'skipped' field from MigrationStats Fabiano Rosas
2024-04-30 14:27 ` [PATCH v3 2/6] migration: Remove 'inc' option from migrate command Fabiano Rosas
2024-04-30 14:27 ` [PATCH v3 3/6] migration: Remove 'blk/-b' option from migrate commands Fabiano Rosas
2024-05-02 11:53   ` Markus Armbruster
2024-05-02 13:35     ` Dr. David Alan Gilbert
2024-05-02 14:49       ` Peter Xu [this message]
2024-04-30 14:27 ` [PATCH v3 4/6] migration: Remove block migration Fabiano Rosas
2024-04-30 14:27 ` [PATCH v3 5/6] migration: Remove non-multifd compression Fabiano Rosas
2024-04-30 14:27 ` [PATCH v3 6/6] migration: Deprecate fd: for file migration Fabiano Rosas
2024-05-01 15:53 ` [PATCH v3 0/6] migration removals & deprecations Peter Xu

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=ZjOoEtCHvuPHZnUs@x1n \
    --to=peterx@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=armbru@redhat.com \
    --cc=berrange@redhat.com \
    --cc=bleal@redhat.com \
    --cc=dave@treblig.org \
    --cc=devel@lists.libvirt.org \
    --cc=eblake@redhat.com \
    --cc=farosas@suse.de \
    --cc=hreitz@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=philmd@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=thuth@redhat.com \
    --cc=wainersm@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 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).