boot device 'b' is not supported

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1136 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-11-14 15:42:27 +00:00
parent 61a8c4ec3a
commit 9e89a4be8e
1 changed files with 2 additions and 2 deletions

4
vl.c
View File

@ -2497,7 +2497,7 @@ void help(void)
"-hda/-hdb file use 'file' as IDE hard disk 0/1 image\n"
"-hdc/-hdd file use 'file' as IDE hard disk 2/3 image\n"
"-cdrom file use 'file' as IDE cdrom image (cdrom is ide1 master)\n"
"-boot [a|b|c|d] boot on floppy (a, b), hard disk (c) or CD-ROM (d)\n"
"-boot [a|c|d] boot on floppy (a), hard disk (c) or CD-ROM (d)\n"
"-snapshot write to temporary files instead of disk image files\n"
"-m megs set virtual RAM size to megs MB [default=%d]\n"
"-nographic disable graphical output and redirect serial I/Os to console\n"
@ -2910,7 +2910,7 @@ int main(int argc, char **argv)
break;
case QEMU_OPTION_boot:
boot_device = optarg[0];
if (boot_device != 'a' && boot_device != 'b' &&
if (boot_device != 'a' &&
boot_device != 'c' && boot_device != 'd') {
fprintf(stderr, "qemu: invalid boot device '%c'\n", boot_device);
exit(1);