vl.c: fix some alignment issues
The misalignment was caused by tabs which were used instead of spaces. Signed-off-by: Marcel Apfelbaum <marcel@redhat.com> Reviewed-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
31fc97c314
commit
99efa84d5c
38
vl.c
38
vl.c
@ -2873,7 +2873,7 @@ int main(int argc, char **argv, char **envp)
|
||||
if (optind >= argc)
|
||||
break;
|
||||
if (argv[optind][0] != '-') {
|
||||
hda_opts = drive_add(IF_DEFAULT, 0, argv[optind++], HD_OPTS);
|
||||
hda_opts = drive_add(IF_DEFAULT, 0, argv[optind++], HD_OPTS);
|
||||
} else {
|
||||
const QEMUOption *popt;
|
||||
|
||||
@ -2918,15 +2918,15 @@ int main(int argc, char **argv, char **envp)
|
||||
if (drive_def(optarg) == NULL) {
|
||||
exit(1);
|
||||
}
|
||||
break;
|
||||
break;
|
||||
case QEMU_OPTION_set:
|
||||
if (qemu_set_option(optarg) != 0)
|
||||
exit(1);
|
||||
break;
|
||||
break;
|
||||
case QEMU_OPTION_global:
|
||||
if (qemu_global_option(optarg) != 0)
|
||||
exit(1);
|
||||
break;
|
||||
break;
|
||||
case QEMU_OPTION_mtdblock:
|
||||
drive_add(IF_MTD, -1, optarg, MTD_OPTS);
|
||||
break;
|
||||
@ -2978,7 +2978,7 @@ int main(int argc, char **argv, char **envp)
|
||||
fprintf(stderr, "qemu: invalid physical CHS format\n");
|
||||
exit(1);
|
||||
}
|
||||
if (hda_opts != NULL) {
|
||||
if (hda_opts != NULL) {
|
||||
char num[16];
|
||||
snprintf(num, sizeof(num), "%d", cyls);
|
||||
qemu_opt_set(hda_opts, "cyls", num);
|
||||
@ -3152,9 +3152,9 @@ int main(int argc, char **argv, char **envp)
|
||||
case QEMU_OPTION_S:
|
||||
autostart = 0;
|
||||
break;
|
||||
case QEMU_OPTION_k:
|
||||
keyboard_layout = optarg;
|
||||
break;
|
||||
case QEMU_OPTION_k:
|
||||
keyboard_layout = optarg;
|
||||
break;
|
||||
case QEMU_OPTION_localtime:
|
||||
rtc_utc = 0;
|
||||
break;
|
||||
@ -3362,9 +3362,9 @@ int main(int argc, char **argv, char **envp)
|
||||
case QEMU_OPTION_debugcon:
|
||||
add_device_config(DEV_DEBUGCON, optarg);
|
||||
break;
|
||||
case QEMU_OPTION_loadvm:
|
||||
loadvm = optarg;
|
||||
break;
|
||||
case QEMU_OPTION_loadvm:
|
||||
loadvm = optarg;
|
||||
break;
|
||||
case QEMU_OPTION_full_screen:
|
||||
full_screen = 1;
|
||||
break;
|
||||
@ -3476,7 +3476,7 @@ int main(int argc, char **argv, char **envp)
|
||||
exit(1);
|
||||
}
|
||||
break;
|
||||
case QEMU_OPTION_vnc:
|
||||
case QEMU_OPTION_vnc:
|
||||
#ifdef CONFIG_VNC
|
||||
display_remote++;
|
||||
vnc_display = optarg;
|
||||
@ -3514,11 +3514,11 @@ int main(int argc, char **argv, char **envp)
|
||||
}
|
||||
qemu_uuid_set = true;
|
||||
break;
|
||||
case QEMU_OPTION_option_rom:
|
||||
if (nb_option_roms >= MAX_OPTION_ROMS) {
|
||||
fprintf(stderr, "Too many option ROMs\n");
|
||||
exit(1);
|
||||
}
|
||||
case QEMU_OPTION_option_rom:
|
||||
if (nb_option_roms >= MAX_OPTION_ROMS) {
|
||||
fprintf(stderr, "Too many option ROMs\n");
|
||||
exit(1);
|
||||
}
|
||||
opts = qemu_opts_parse(qemu_find_opts("option-rom"), optarg, 1);
|
||||
if (!opts) {
|
||||
exit(1);
|
||||
@ -3530,8 +3530,8 @@ int main(int argc, char **argv, char **envp)
|
||||
fprintf(stderr, "Option ROM file is not specified\n");
|
||||
exit(1);
|
||||
}
|
||||
nb_option_roms++;
|
||||
break;
|
||||
nb_option_roms++;
|
||||
break;
|
||||
case QEMU_OPTION_semihosting:
|
||||
semihosting_enabled = 1;
|
||||
semihosting_target = SEMIHOSTING_TARGET_AUTO;
|
||||
|
Loading…
Reference in New Issue
Block a user