qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] cdrom hardcoded index
@ 2006-08-24 19:31 drtyc
  2006-08-27 23:32 ` Pascal Terjan
  2006-08-28 11:41 ` RE : " Sylvain Petreolle
  0 siblings, 2 replies; 7+ messages in thread
From: drtyc @ 2006-08-24 19:31 UTC (permalink / raw)
  To: qemu-devel

Hello.

How about finally not having cdrom hardcoded? Right now installing some distro that reqires hda and hdc to be active raid components and having to change that single variable initialization vaue is easy but not comfortable enough with recompiling the qemu...

Someone tried this already with qemu-flex_cd.patch but looking at it now it will require some changes to apply...

Thanks.

not speaking about more then one images as cdrom

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] cdrom hardcoded index
  2006-08-24 19:31 [Qemu-devel] cdrom hardcoded index drtyc
@ 2006-08-27 23:32 ` Pascal Terjan
  2006-08-28 11:41 ` RE : " Sylvain Petreolle
  1 sibling, 0 replies; 7+ messages in thread
From: Pascal Terjan @ 2006-08-27 23:32 UTC (permalink / raw)
  To: qemu-devel

On 8/24/06, drtyc@centrum.cz <drtyc@centrum.cz> wrote:
> Hello.
>
> How about finally not having cdrom hardcoded?
[...]
> not speaking about more then one images as cdrom

What about something like -hdX test.iso,hw=cdrom with default hw being disk ?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE : [Qemu-devel] cdrom hardcoded index
  2006-08-24 19:31 [Qemu-devel] cdrom hardcoded index drtyc
  2006-08-27 23:32 ` Pascal Terjan
@ 2006-08-28 11:41 ` Sylvain Petreolle
  2006-08-28 22:10   ` Fabrice Bellard
  1 sibling, 1 reply; 7+ messages in thread
From: Sylvain Petreolle @ 2006-08-28 11:41 UTC (permalink / raw)
  To: qemu-devel

hi,
--- drtyc@centrum.cz a écrit :

> Hello.
> 
> How about finally not having cdrom hardcoded? Right now installing some distro that reqires hda
> and hdc to be active raid components and having to change that single variable initialization
> vaue is easy but not comfortable enough with recompiling the qemu...
> 
> Someone tried this already with qemu-flex_cd.patch but looking at it now it will require some
> changes to apply...
> 
Jim sent a patch that works beautifully,
it adds -cdrom-[a,b,c,d] and even gives ability to have multiple cdrom drives.

Its vl.multicdrom, and you can download it from the archives at :
http://lists.gnu.org/archive/html/qemu-devel/2006-04/msg00289.html

Have fun.

Kind regards,
Sylvain Petreolle (aka Usurp)
--- --- --- --- --- --- --- --- --- --- --- --- ---

 Run your favorite Windows apps with free ReactOS : http://www.reactos.org
Listen to non-DRMised Music: http://www.jamendo.com


Linux is not as well stable as it is told to. The proof is, mine has restarted two years ago, on the occasion of a power cut.
- H. Eychenne

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Re: [Qemu-devel] cdrom hardcoded index
@ 2006-08-28 12:07 Míguel
  0 siblings, 0 replies; 7+ messages in thread
From: Míguel @ 2006-08-28 12:07 UTC (permalink / raw)
  To: qemu-devel

> What about something like -hdX test.iso,hw=cdrom with default hw being disk?

And why not a shorted and more standard solution?

-ideN [hd:|cd:]filename

Examples:

-ide0 /tmp/myimage.dsk
Set primary master as harddisk (hd: is the default)

-ide1 hd:/tmp/myimage.dsk
Set primary slave as harddisk (hd: is not necessary in this case, as
it's the default).

-ide3 cd:/dev/cdrom
Set secondary slave as cdrom using device /dev/cdrom

-ide0 cd:/tmp/myimage.iso
Set primary master as cdrom using an ISO image file.

Of course, the previous parameters (hda, hdb, hdc, hdd and cdrom)
should be also available for compatibility reasons.

And you could also add -fd0 (for -fda) and -fd1(for -fdb) for
consistency with the rest of parameters.

Just my two cents.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Re: [Qemu-devel] cdrom hardcoded index
@ 2006-08-28 12:20 Armistead, Jason
  0 siblings, 0 replies; 7+ messages in thread
From: Armistead, Jason @ 2006-08-28 12:20 UTC (permalink / raw)
  To: 'qemu-devel@nongnu.org'

On Monday, 28 August 2006 10:08 PM (AEST) Míguel wrote:

>> What about something like -hdX test.iso,hw=cdrom with default hw being
disk?
>
>And why not a shorted and more standard solution?
>
>-ideN [hd:|cd:]filename
>
>Examples:
>
>-ide0 /tmp/myimage.dsk
>Set primary master as harddisk (hd: is the default)
>
>-ide1 hd:/tmp/myimage.dsk
>Set primary slave as harddisk (hd: is not necessary in this case, as
>it's the default).
>
>-ide3 cd:/dev/cdrom
>Set secondary slave as cdrom using device /dev/cdrom
>
>-ide0 cd:/tmp/myimage.iso
>Set primary master as cdrom using an ISO image file.
>
>Of course, the previous parameters (hda, hdb, hdc, hdd and cdrom)
>should be also available for compatibility reasons.
>
>And you could also add -fd0 (for -fda) and -fd1(for -fdb) for
>consistency with the rest of parameters.
>
>Just my two cents.


And what about non-PC guest environments like Sparcs where there are no IDE
drives, only SCSI ones for hard disk, CD and (I think) for floppy drives ?
How would you expand that syntax ?

Not everyone running QEMU is seeking to run a "PC in PC" configurations.

Cheers

Jason

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: RE : [Qemu-devel] cdrom hardcoded index
  2006-08-28 11:41 ` RE : " Sylvain Petreolle
@ 2006-08-28 22:10   ` Fabrice Bellard
  2006-08-28 22:46     ` RE : " Sylvain Petreolle
  0 siblings, 1 reply; 7+ messages in thread
From: Fabrice Bellard @ 2006-08-28 22:10 UTC (permalink / raw)
  To: qemu-devel

Sylvain Petreolle wrote:
> hi,
> --- drtyc@centrum.cz a écrit :
> 
> 
>>Hello.
>>
>>How about finally not having cdrom hardcoded? Right now installing some distro that reqires hda
>>and hdc to be active raid components and having to change that single variable initialization
>>vaue is easy but not comfortable enough with recompiling the qemu...
>>
>>Someone tried this already with qemu-flex_cd.patch but looking at it now it will require some
>>changes to apply...
>>
> 
> Jim sent a patch that works beautifully,
> it adds -cdrom-[a,b,c,d] and even gives ability to have multiple cdrom drives.
> 
> Its vl.multicdrom, and you can download it from the archives at :
> http://lists.gnu.org/archive/html/qemu-devel/2006-04/msg00289.html

A VM configuration file will be added in QEMU very soon. People wishing 
to have weird hardware setups will have to use it. I am not sure it is 
necessary to complicate the command line syntax for very specific cases.

Regards,

Fabrice.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE : Re: RE : [Qemu-devel] cdrom hardcoded index
  2006-08-28 22:10   ` Fabrice Bellard
@ 2006-08-28 22:46     ` Sylvain Petreolle
  0 siblings, 0 replies; 7+ messages in thread
From: Sylvain Petreolle @ 2006-08-28 22:46 UTC (permalink / raw)
  To: qemu-devel

Hi Fabrice,
--- Fabrice Bellard <fabrice@bellard.org> a écrit :

> > Its vl.multicdrom, and you can download it from the archives at :
> > http://lists.gnu.org/archive/html/qemu-devel/2006-04/msg00289.html
> 
> A VM configuration file will be added in QEMU very soon. People wishing 
> to have weird hardware setups will have to use it. I am not sure it is 
> necessary to complicate the command line syntax for very specific cases.
> 
this one is very simple, and the current command line syntax doesnt change at all.
an option available only in a config file would be a bad idea imho.

Kind regards,
Sylvain Petreolle (aka Usurp)
--- --- --- --- --- --- --- --- --- --- --- --- ---

 Run your favorite Windows apps with free ReactOS : http://www.reactos.org
Listen to non-DRMised Music: http://www.jamendo.com


Linux is not as well stable as it is told to. The proof is, mine has restarted two years ago, on the occasion of a power cut.
- H. Eychenne

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-08-28 22:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-24 19:31 [Qemu-devel] cdrom hardcoded index drtyc
2006-08-27 23:32 ` Pascal Terjan
2006-08-28 11:41 ` RE : " Sylvain Petreolle
2006-08-28 22:10   ` Fabrice Bellard
2006-08-28 22:46     ` RE : " Sylvain Petreolle
  -- strict thread matches above, loose matches on Subject: below --
2006-08-28 12:07 Míguel
2006-08-28 12:20 Armistead, Jason

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).