qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH v10 2/3] vl.c: allow for repeated -sd arguments


From: Peter Crosthwaite
Subject: [Qemu-devel] [PATCH v10 2/3] vl.c: allow for repeated -sd arguments
Date: Wed, 20 Feb 2013 13:38:51 +1000

Allows for repeating of -sd arguments in the same way as -pflash and -mtdblock.

Acked-by: Igor Mitsyanko <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Crosthwaite <address@hidden>
---

 vl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vl.c b/vl.c
index c5b0eea..fb6ff1c 100644
--- a/vl.c
+++ b/vl.c
@@ -2986,7 +2986,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);
-- 
1.7.0.4




reply via email to

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