From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S11sr-0000wL-2x for qemu-devel@nongnu.org; Fri, 24 Feb 2012 15:36:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S11sk-0005xk-Sl for qemu-devel@nongnu.org; Fri, 24 Feb 2012 15:36:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:65138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S11sk-0005xA-KF for qemu-devel@nongnu.org; Fri, 24 Feb 2012 15:36:46 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1OKaj3N004931 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 24 Feb 2012 15:36:45 -0500 Date: Fri, 24 Feb 2012 18:36:46 -0200 From: Luiz Capitulino Message-ID: <20120224183646.23d4902a@doriath.home> In-Reply-To: <4F47F3DE.7030208@redhat.com> References: <1329930815-7995-1-git-send-email-fsimonce@redhat.com> <1330102144-14491-2-git-send-email-fsimonce@redhat.com> <20120224170143.78f55d3e@doriath.home> <4F47F3DE.7030208@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/2 v2] Add the blockdev-reopen and blockdev-migrate commands List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: kwolf@redhat.com, Federico Simoncelli , mtosatti@redhat.com, qemu-devel@nongnu.org, armbru@redhat.com On Fri, 24 Feb 2012 21:32:30 +0100 Paolo Bonzini wrote: > On 02/24/2012 08:01 PM, Luiz Capitulino wrote: > > IMO, you could require the filename arguments to be escaped already. > > The monitor command was introduced exactly to avoid having to worry > about details such as escaping. JSON is already supposed to take care > of those. Then the escaping should be done by the parser, not by the command implementation. > > That said, I think Eric is right that we need to specify the formats, so > we'll need another iteration, and we probably need to rename the command > to drive-migrate too. > > Paolo >