From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrTd2-0007bd-SX for qemu-devel@nongnu.org; Tue, 25 Jun 2013 09:49:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrTd1-0001N2-NM for qemu-devel@nongnu.org; Tue, 25 Jun 2013 09:49:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45428) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrTd1-0001Mu-Fc for qemu-devel@nongnu.org; Tue, 25 Jun 2013 09:49:51 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5PDnoQF010641 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 25 Jun 2013 09:49:50 -0400 Message-ID: <51C99FF7.5060705@redhat.com> Date: Tue, 25 Jun 2013 15:49:43 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1372163039-28332-1-git-send-email-stefanha@redhat.com> <20130625132638.GL3539@dhcp-200-207.str.redhat.com> In-Reply-To: <20130625132638.GL3539@dhcp-200-207.str.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] block: add drive_backup HMP command List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: imain@redhat.com, Fam Zheng , qemu-devel@nongnu.org, Stefan Hajnoczi Il 25/06/2013 15:26, Kevin Wolf ha scritto: >> > + if (!full) { >> > + error_setg(&errp, "-f is not yet implemented"); >> > + hmp_handle_error(mon, &errp); >> > + return; >> > + } > Then why make it a valid option and confuse users in the help text by > describing options that don't really exist? > Because otherwise we're stuck with a meaning of the flag that is different between drive-mirror and block-backup. Paolo