[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v1 3/4] vl.c: allow for repeated -sd arguments

From: Igor Mitsyanko
Subject: Re: [Qemu-devel] [PATCH v1 3/4] vl.c: allow for repeated -sd arguments
Date: Thu, 14 Jun 2012 14:08:56 +0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

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<address@hidden>
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);
              case QEMU_OPTION_sd:
-                drive_add(IF_SD, 0, optarg, SD_OPTS);
+                drive_add(IF_SD, -1, optarg, SD_OPTS);
              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 <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]