[Top][All Lists]

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

[Qemu-devel] [PATCH v3 3/4] vl.c: allow for reapeated -sd arguments

From: Peter A. G. Crosthwaite
Subject: [Qemu-devel] [PATCH v3 3/4] vl.c: allow for reapeated -sd arguments
Date: Thu, 7 Jun 2012 15:05:03 +1000

Allows for repeating of -sd arugments in the same way -pflash and -mtdblock
can be repeated.

Signed-off-by: Peter A. G. Crosthwaite <address@hidden>
 vl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vl.c b/vl.c
index 23ab3a3..a381e90 100644
--- a/vl.c
+++ b/vl.c
@@ -2437,7 +2437,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);

reply via email to

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