From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYpUN-0007uB-JO for qemu-devel@nongnu.org; Fri, 29 Jun 2018 05:14:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYpUJ-0001kg-Bj for qemu-devel@nongnu.org; Fri, 29 Jun 2018 05:14:47 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:43366 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fYpUJ-0001kE-68 for qemu-devel@nongnu.org; Fri, 29 Jun 2018 05:14:43 -0400 Date: Fri, 29 Jun 2018 10:14:38 +0100 From: "Dr. David Alan Gilbert" Message-ID: <20180629091438.GC2568@work-vm> References: <20180627204136.4177-1-zhangckid@gmail.com> <20180627204136.4177-12-zhangckid@gmail.com> <3464fd15-6b1c-b524-0445-58fb352c1b42@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3464fd15-6b1c-b524-0445-58fb352c1b42@redhat.com> Subject: Re: [Qemu-devel] [PATCH V9 11/20] qapi/migration.json: Rename COLO unknown mode to none mode. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Zhang Chen , qemu-devel@nongnu.org, Paolo Bonzini , Juan Quintela , Jason Wang , Markus Armbruster , zhanghailiang , Li Zhijian , Zhang Chen * Eric Blake (eblake@redhat.com) wrote: > On 06/27/2018 03:41 PM, Zhang Chen wrote: > > From: Zhang Chen > > > > Suggested by Markus Armbruster rename COLO unknown mode to none mode. > > > > Signed-off-by: Zhang Chen > > --- > > migration/colo-failover.c | 2 +- > > migration/colo.c | 2 +- > > qapi/migration.json | 10 +++++----- > > 3 files changed, 7 insertions(+), 7 deletions(-) > > > # Since: 2.8 > > ## > > { 'enum': 'COLOMode', > > - 'data': [ 'unknown', 'primary', 'secondary'] } > > + 'data': [ 'none', 'primary', 'secondary'] } > > The deletion of 'unknown' could potentially be a user-visible regression > visible if COLOMode were in a QMP command; but thankfully the generated > qapi/qapi-introspect.c does not seem to cover this enum, so it just affects > internal code for now. Note that the migration capability to enable colo is still x-colo; so I take that to mean we've still got a free hand to change any part of the COLO interface until we're happy it's right. Dave > Reviewed-by: Eric Blake > > -- > Eric Blake, Principal Software Engineer > Red Hat, Inc. +1-919-301-3266 > Virtualization: qemu.org | libvirt.org -- Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK