Message ID | 8d5b3844ed58552990df81e7d547ed6396aec63b.1344223191.git.peter.crosthwaite@petalogix.com |
---|---|
State | New |
Headers | show |
diff --git a/vl.c b/vl.c index 1329c30..fe1f33b 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);