diff options
author | Peter Crosthwaite <peter.crosthwaite@xilinx.com> | 2013-02-28 18:23:14 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2013-02-28 18:49:19 +0000 |
commit | 80f4d9fcea86aeb3071750c199416cab9abd5c28 (patch) | |
tree | 01760f407507922e0897aa7a21a5d49757c94ea9 | |
parent | d7dfca0807a0f579d3ec985bf1220519420c4dfe (diff) |
vl.c: allow for repeated -sd arguments
Allows for repeating of -sd arguments in the same way as -pflash and -mtdblock.
Acked-by: Igor Mitsyanko <i.mitsyanko@samsung.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | vl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2994,7 +2994,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); |