Command line / invocation
Hi all,
I noticed there is a problem in qemu invocation.
The help actually says we have to use "-boot [a|b|c|d]" to specify the disk to boot on. This doesnt work, saying there is no such option.
Correct syntax seems to be "--boot", the same applies to --hda and --cdrom.
Do you want to change options to use a single hyphen or modify the help in the future ?
$ qemu -boot c -hda test c: No such file or directory C:\msys\1.0\home\syl\qemu_win32\qemu.exe: unknown option -- b C:\msys\1.0\home\syl\qemu_win32\qemu.exe: unknown option -- o C:\msys\1.0\home\syl\qemu_win32\qemu.exe: unknown option -- o C:\msys\1.0\home\syl\qemu_win32\qemu.exe: unknown option -- t qemu: could not open hard disk image 'c
=====
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) Say NO to software patents
Dites NON aux brevets logiciels
"You believe it's the year 1984, when in fact, its closer to 2184"1984 / Matrix
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com
Most programs tend to use a single hyphen for single letter switches, ie:
cp -r foo bar
And double hyphens for full switches, ie:
cp --recursive foo bar
And as in the case above, single letter switches are usually provided in addition to full switches as shortcuts. Both are valid.
Maybe as QEMU gains more features, thought could be given to prioritise which features actually warrant a single letter shortcut switch.
The boot option looks like an ideal candidate and it would be great if these two lines worked identically:
qemu -b c
qemu --boot c
Jamie.
----- Original Message -----
From: "Sylvain Petreolle" <[email protected]>
To: <[email protected]>
Sent: Thursday, May 13, 2004 2:36 AM
Subject: [Qemu-devel] Command line / invocation
Quoted 5 lines
Hi all,
I noticed there is a problem in qemu invocation.
The help actually says we have to use "-boot [a|b|c|d]" to specify the
disk to boot on.
Quoted 2 lines
This doesnt work, saying there is no such option. Correct syntax seems to be "--boot", the same applies to --hda
and --cdrom.
Quoted 2 lines
Do you want to change options to use a single hyphen or modify the help in
the future ?
Quoted 10 lines
$ qemu -boot c -hda test c: No such file or directory C:\msys\1.0\home\syl\qemu_win32\qemu.exe: unknown option -- b C:\msys\1.0\home\syl\qemu_win32\qemu.exe: unknown option -- o C:\msys\1.0\home\syl\qemu_win32\qemu.exe: unknown option -- o C:\msys\1.0\home\syl\qemu_win32\qemu.exe: unknown option -- t qemu: could not open hard disk image 'c
Quoted 6 lines
=====
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) Say NO to software patents
Dites NON aux brevets logiciels"You believe it's the year 1984, when in fact, its closer to 2184"1984 /
Matrix
Quoted 10 lines
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez
Yahoo! Messenger sur http://fr.messenger.yahoo.com
Quoted 6 lines
_______________________________________________
Qemu-devel mailing list
[email protected]
http://mail.nongnu.org/mailman/listinfo/qemu-devel
Hi,
Quoted 1 line · Sylvain Petreolle
The help actually says we have to use "-boot [a|b|c|d]" to specify the disk
to boot on.
Quoted 2 lines
This doesnt work, saying there is no such option.
Correct syntax seems to be "--boot", the same applies to --hda and --cdrom.
There isn't getopt_long_only function in MinGW library. So double hyphen "--" is needed for long option which is more than two characters.
I have written mini how to on Windows. Please see my site.
Regards,
kazu
http://www.h7.dion.ne.jp/~qemu-win/
Quoted 4 lines · Sylvain Petreolle
I noticed there is a problem in qemu invocation.
The help actually says we have to use "-boot [a|b|c|d]" to specify the disk to boot on. This doesnt work, saying there is no such option. Correct syntax seems to be "--boot", the same applies to --hda and --cdrom.
You can precise that you are talking about W$ version.
It is fixed in the CVS.
Fabrice.
Quoted 41 lines · Sylvain Petreolle
Hi all,
I noticed there is a problem in qemu invocation.
The help actually says we have to use "-boot [a|b|c|d]" to specify the disk to boot on. This doesnt work, saying there is no such option.
Correct syntax seems to be "--boot", the same applies to --hda and --cdrom.Do you want to change options to use a single hyphen or modify the help in the future ?
$ qemu -boot c -hda test c: No such file or directory C:\msys\1.0\home\syl\qemu_win32\qemu.exe: unknown option -- b C:\msys\1.0\home\syl\qemu_win32\qemu.exe: unknown option -- o C:\msys\1.0\home\syl\qemu_win32\qemu.exe: unknown option -- o C:\msys\1.0\home\syl\qemu_win32\qemu.exe: unknown option -- t qemu: could not open hard disk image 'c=====
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) Say NO to software patents
Dites NON aux brevets logiciels"You believe it's the year 1984, when in fact, its closer to 2184"1984 / Matrix
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com
_______________________________________________
Qemu-devel mailing list
[email protected]
http://mail.nongnu.org/mailman/listinfo/qemu-devel
I just updated the web site to include more information about the Windows port.
Fabrice.
Quoted 21 lines · kazu
Hi,
Quoted 1 line · Sylvain Petreolle
The help actually says we have to use "-boot [a|b|c|d]" to specify the disk
to boot on.
Quoted 2 lines
This doesnt work, saying there is no such option.
Correct syntax seems to be "--boot", the same applies to --hda and --cdrom.There isn't
getopt_long_onlyfunction in MinGW library. So double hyphen "--" is needed for long option which is more than two characters.I have written mini how to on Windows. Please see my site.
Regards,
kazu
http://www.h7.dion.ne.jp/~qemu-win/
I will give it a try.
Thanks for your time and this beautiful piece of software.
Quoted 4 lines · --- Fabrice Bellard
It is fixed in the CVS.
Fabrice.
=====
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net) Say NO to software patents
Dites NON aux brevets logiciels
"You believe it's the year 1984, when in fact, its closer to 2184"1984 / Matrix
Yahoo! Mail - Votre e-mail personnel et gratuit qui vous suit partout !
Créez votre adresse sur http://mail.yahoo.fr
[Qemu-devel] WinXP status
Hi,
I can install WinXP without any problems. It is normal WinXP without any service packs under academic licence. It automagically selected higher resolution without any external drivers (although it does not recognize the type of graphic card).
But I formated my partition (one drive, one partition about 2.5GB, dd image) to ntfs (quick format). So I cannot copy network and graphic drivers to it from linux. So I created second 50MB image, attached to hdb and formated under windows to fat. Then I mounted it under linux and copied three small files on it. I "booted" into WinXP back and the second drive was gone. I checked in device manager and there was some error that this device is already present in system. So I deleted it and rebooted. I made few more tests and the second image can be seen in My Computer only if it is attached to hdd. But even if it is, WinXP can detect that it is nearly free fat partition but can not see any files or directories on it.
Did I do something wrong? Or is the qemu disk emulation broken? And what with qemu dma support for disks (disk seem to work in pio mode)?
Thanks in advance,
Grzegorz Kulewski