From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=60174 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P5Eeb-00016o-R7 for qemu-devel@nongnu.org; Mon, 11 Oct 2010 05:26:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P5Eea-0003BA-SP for qemu-devel@nongnu.org; Mon, 11 Oct 2010 05:26:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P5Eea-0003B6-MB for qemu-devel@nongnu.org; Mon, 11 Oct 2010 05:26:44 -0400 Message-ID: <4CB2D851.3040606@redhat.com> Date: Mon, 11 Oct 2010 11:26:41 +0200 From: Paolo Bonzini MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 5/7] Switch migrate_set_speed() to take an 'o' argument rather than a float. References: <1286529360-5715-1-git-send-email-Jes.Sorensen@redhat.com> <1286529360-5715-6-git-send-email-Jes.Sorensen@redhat.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Jes.Sorensen@redhat.com, Anthony Liguori , qemu-devel@nongnu.org On 10/11/2010 11:03 AM, Markus Armbruster wrote: > As noted before, this is an incompatible change of the human monitor > command: unit now defaults to 'M'. This must be noted*prominently* in > the commit message. Best in the subject. > > Incompatible changes can break tools. Quick grep of libvirt: > > src/qemu/qemu_monitor_json.c: cmd = qemuMonitorJSONMakeCommand("migrate_set_speed", > src/qemu/qemu_monitor_text.c: if (virAsprintf(&cmd, "migrate_set_speed %lum", bandwidth)< 0) { > > Looks like we're safe here. > > Anthony, is this incompatibility okay? > > Help should be updated in the same patch; please squash 6/7 into 5/7. Personally, I'd rather see the patch I sent incorporated, so that there is no change in the monitor at all. Not going to make a fuss of it as long as libvirt is okay, though. Paolo