* [Qemu-devel] Command line / invocation
@ 2004-05-13 1:36 Sylvain Petreolle
2004-05-13 2:18 ` Jamie Burns
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Sylvain Petreolle @ 2004-05-13 1:36 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] Command line / invocation
2004-05-13 1:36 [Qemu-devel] Command line / invocation Sylvain Petreolle
@ 2004-05-13 2:18 ` Jamie Burns
2004-05-13 5:25 ` kazu
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: Jamie Burns @ 2004-05-13 2:18 UTC (permalink / raw)
To: spetreolle, qemu-devel
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" <spetreolle@yahoo.fr>
To: <qemu-devel@nongnu.org>
Sent: Thursday, May 13, 2004 2:36 AM
Subject: [Qemu-devel] 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
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/qemu-devel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] Command line / invocation
2004-05-13 1:36 [Qemu-devel] Command line / invocation Sylvain Petreolle
2004-05-13 2:18 ` Jamie Burns
@ 2004-05-13 5:25 ` kazu
2004-05-13 22:43 ` Fabrice Bellard
2004-05-13 6:58 ` vaise
2004-05-13 22:04 ` Fabrice Bellard
3 siblings, 1 reply; 8+ messages in thread
From: kazu @ 2004-05-13 5:25 UTC (permalink / raw)
To: spetreolle, qemu-devel
Hi,
Sylvain Petreolle wrote:
>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.
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/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] Command line / invocation
2004-05-13 1:36 [Qemu-devel] Command line / invocation Sylvain Petreolle
2004-05-13 2:18 ` Jamie Burns
2004-05-13 5:25 ` kazu
@ 2004-05-13 6:58 ` vaise
2004-05-13 22:04 ` Fabrice Bellard
3 siblings, 0 replies; 8+ messages in thread
From: vaise @ 2004-05-13 6:58 UTC (permalink / raw)
To: spetreolle, qemu-devel
On Thursday 13 May 2004 02:36, Sylvain Petreolle wrote:
> 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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] Command line / invocation
2004-05-13 1:36 [Qemu-devel] Command line / invocation Sylvain Petreolle
` (2 preceding siblings ...)
2004-05-13 6:58 ` vaise
@ 2004-05-13 22:04 ` Fabrice Bellard
2004-05-15 12:48 ` Sylvain Petreolle
3 siblings, 1 reply; 8+ messages in thread
From: Fabrice Bellard @ 2004-05-13 22:04 UTC (permalink / raw)
To: qemu-devel
It is fixed in the CVS.
Fabrice.
Sylvain Petreolle wrote:
> 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
> Qemu-devel@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/qemu-devel
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] Command line / invocation
2004-05-13 5:25 ` kazu
@ 2004-05-13 22:43 ` Fabrice Bellard
0 siblings, 0 replies; 8+ messages in thread
From: Fabrice Bellard @ 2004-05-13 22:43 UTC (permalink / raw)
To: qemu-devel
I just updated the web site to include more information about the
Windows port.
Fabrice.
kazu wrote:
> Hi,
>
> Sylvain Petreolle wrote:
>
>
>>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.
>
>
> 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/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Qemu-devel] Command line / invocation
2004-05-13 22:04 ` Fabrice Bellard
@ 2004-05-15 12:48 ` Sylvain Petreolle
2004-05-15 17:45 ` [Qemu-devel] WinXP status Grzegorz Kulewski
0 siblings, 1 reply; 8+ messages in thread
From: Sylvain Petreolle @ 2004-05-15 12:48 UTC (permalink / raw)
To: qemu-devel
I will give it a try.
Thanks for your time and this beautiful piece of software.
--- Fabrice Bellard <fabrice@bellard.org> a écrit :
> 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Qemu-devel] WinXP status
2004-05-15 12:48 ` Sylvain Petreolle
@ 2004-05-15 17:45 ` Grzegorz Kulewski
0 siblings, 0 replies; 8+ messages in thread
From: Grzegorz Kulewski @ 2004-05-15 17:45 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-05-15 17:46 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-13 1:36 [Qemu-devel] Command line / invocation Sylvain Petreolle
2004-05-13 2:18 ` Jamie Burns
2004-05-13 5:25 ` kazu
2004-05-13 22:43 ` Fabrice Bellard
2004-05-13 6:58 ` vaise
2004-05-13 22:04 ` Fabrice Bellard
2004-05-15 12:48 ` Sylvain Petreolle
2004-05-15 17:45 ` [Qemu-devel] WinXP status Grzegorz Kulewski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).