qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Blue Swirl" <blauwirbel@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom
Date: Mon, 29 Oct 2007 19:23:49 +0200	[thread overview]
Message-ID: <f43fc5580710291023i62386fdr3a140f0fbe8355a3@mail.gmail.com> (raw)
In-Reply-To: <4726005B.5000902@bull.net>

On 10/29/07, Laurent Vivier <Laurent.Vivier@bull.net> wrote:
> risc@volumehost.com a écrit :
> > On Mon, Oct 29, 2007 at 03:02:21PM +0100, Laurent Vivier wrote:
> >> Daniel P. Berrange a écrit :
> >>> On Sun, Oct 28, 2007 at 11:43:33PM +0100, Laurent.Vivier@bull.net wrote:
> >>>> From: Laurent Vivier <vivierl@frecb07144.(none)>
> >>>>
> >>>> This patch allows to define where is connected the CDROM device (bus,
> >>>> unit).
> >>>> It extends the "-cdrom" syntax to add these paramaters:
> >>>>
> >>>>     -cdrom file[,if=type][,bus=n][,unit=m]
> >>>>
> >>>> where "type" defines the interface (by default, "ide")
> >>>>       "n" defines the bus number (by default 1)
> >>>>       "m" defines the unit number (by default 0)
> >>>
> >>> Having a separately named arg just for CDROMs was always rather
> >>> odd/unhelpful.
> >>> I'd suggest that we leave all the -hda,hdb,hdc,-cdrom,-fda,-fdb etc
> >>> unchanged
> >>> and use the -disk for setting up all types of disks, floppys, cdroms, etc.
> >>> It
> >>> would just require one extra field for the -disk arg:
> >>>
> >>>      -disk file[,if=type][,bus=n][,unit=m][,mode=mode]
> >>>
> >>>  where "type" defines the interface. [ide,scsi,fd] (by default, "ide")
> >>>        "n" defines the bus number (by default 1)
> >>>        "m" defines the unit number (by default 0)
> >>>        "mode" defines one of [disk,floppy,cdrom]
> >>>
> >>> If we ever up able to emulate other types of SCSI / IDE devices (tape
> >>> drives,
> >>> cdr, dvd perhaps) then the 'mode' can easily be extended to cover them.
> >> I agree with that. And if everyone agrees I can modify patches to do that...
> >>
> >> Laurent
> >> --
> >> ---------------- Laurent.Vivier@bull.net  -----------------
> >> "Given enough eyeballs, all bugs are shallow" E. S. Raymond
> >>
> >>
> >>
> > not to be rude, but "my" version of the scsi patch supports three controllers,
> > for a total of 21 disks. might i reccomend you impliment -disk with a controller,
> > bus, target syntax, ALA sun?
>
> Well, IMHO, bus number should be enough, because the bus identify the
> controller... but we can discuss that later, as the syntax allows to add easily
> a "controller" arg to "-disk".

And also "lun"?

  reply	other threads:[~2007-10-29 17:23 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-28 22:43 [Qemu-devel] [PATCH 0/3] Add SCSI support for PC target Laurent.Vivier
2007-10-28 22:43 ` [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom Laurent.Vivier
2007-10-28 22:43   ` [Qemu-devel] [PATCH 2/3] Add arg -disk to define new disk with more features Laurent.Vivier
2007-10-28 22:43     ` [Qemu-devel] [PATCH 3/3] Add scsi support to pc target Laurent.Vivier
2007-10-29 12:03   ` [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom Johannes Schindelin
2007-10-29 12:36     ` Laurent Vivier
2007-10-29 13:25   ` Daniel P. Berrange
2007-10-29 14:02     ` Laurent Vivier
2007-10-29 14:07       ` risc
2007-10-29 14:54         ` Markus Hitter
2007-10-29 15:46         ` Laurent Vivier
2007-10-29 17:23           ` Blue Swirl [this message]
2007-10-29 14:34       ` Thiemo Seufer
2007-11-02 13:24         ` Laurent Vivier
2007-11-07 23:32           ` Fabrice Bellard
2007-11-08  9:02             ` Laurent Vivier
2007-11-08  9:33               ` Fabrice Bellard
2007-11-10  0:02             ` Laurent Vivier
2007-10-29 14:49     ` andrzej zaborowski
2007-10-29 15:23       ` Thiemo Seufer
2007-10-29 15:28       ` Daniel P. Berrange
2007-10-29 17:14         ` andrzej zaborowski
2007-10-29 21:58           ` Anthony Liguori
2007-10-31  9:50 ` [Qemu-devel] [PATCH 0/3] Add SCSI support for PC target Dan Kenigsberg
2007-10-31 10:17   ` Laurent Vivier
2007-10-31 12:56     ` Dan Kenigsberg
2007-10-31 13:48       ` Daniel P. Berrange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f43fc5580710291023i62386fdr3a140f0fbe8355a3@mail.gmail.com \
    --to=blauwirbel@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).