Received: from eggs.gnu.org ([208.118.235.92]:51454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sf6zI-0006rU-Tl for qemu-devel@nongnu.org; Thu, 14 Jun 2012 06:09:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sf6z8-0006zO-OV for qemu-devel@nongnu.org; Thu, 14 Jun 2012 06:09:12 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:39357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sf6z8-0006yt-IN for qemu-devel@nongnu.org; Thu, 14 Jun 2012 06:09:02 -0400 Received: from eusync3.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by mailout1.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M5L00599QVSWO20@mailout1.w1.samsung.com> for qemu-devel@nongnu.org; Thu, 14 Jun 2012 11:09:28 +0100 (BST) Received: from [106.109.9.134] by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0M5L00IDSQUWC200@eusync3.samsung.com> for qemu-devel@nongnu.org; Thu, 14 Jun 2012 11:08:57 +0100 (BST) Message-id: <4FD9B838.3000403@samsung.com> Date: Thu, 14 Jun 2012 14:08:56 +0400 From: Igor Mitsyanko MIME-version: 1.0 References: In-reply-to: Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 3/4] vl.c: allow for repeated -sd arguments List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Peter A. G. Crosthwaite" Cc: peter.maydell@linaro.org, e.voevodin@samsung.com, qemu-devel@nongnu.org, kyungmin.park@samsung.com, d.solodkiy@samsung.com, edgar.iglesias@gmail.com, m.kozlov@samsung.com, john.williams@petalogix.com On 06/14/2012 06:20 AM, Peter A. G. Crosthwaite wrote: > Allows for repeating of -sd arugments in the same way as -pflash and -mtdblock. > > Signed-off-by: Peter A. G. Crosthwaite > --- > changed from v3: > fixed commit msg typo > > vl.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/vl.c b/vl.c > index 204d85b..b6d624b 100644 > --- a/vl.c > +++ b/vl.c > @@ -2431,7 +2431,7 @@ int main(int argc, char **argv, char **envp) > drive_add(IF_MTD, -1, optarg, MTD_OPTS); > break; > case QEMU_OPTION_sd: > - drive_add(IF_SD, 0, optarg, SD_OPTS); > + drive_add(IF_SD, -1, optarg, SD_OPTS); > break; > case QEMU_OPTION_pflash: > drive_add(IF_PFLASH, -1, optarg, PFLASH_OPTS); Nice. Sometimes its really annoying to type full "-drive .." command Acked-by: Igor Mitsyanko