[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is conne
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom |
Date: |
Mon, 29 Oct 2007 13:25:25 +0000 |
User-agent: |
Mutt/1.4.1i |
On Sun, Oct 28, 2007 at 11:43:33PM +0100, address@hidden wrote:
> From: Laurent Vivier <address@hidden(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.
Regards,
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules: http://search.cpan.org/~danberr/ -=|
|=- Projects: http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|
- [Qemu-devel] [PATCH 0/3] Add SCSI support for PC target, Laurent . Vivier, 2007/10/28
- [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom, Laurent . Vivier, 2007/10/28
- [Qemu-devel] [PATCH 2/3] Add arg -disk to define new disk with more features, Laurent . Vivier, 2007/10/28
- Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom, Johannes Schindelin, 2007/10/29
- Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom,
Daniel P. Berrange <=
- Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom, Laurent Vivier, 2007/10/29
- Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom, risc, 2007/10/29
- Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom, Markus Hitter, 2007/10/29
- Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom, Laurent Vivier, 2007/10/29
- Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom, Blue Swirl, 2007/10/29
- Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom, Thiemo Seufer, 2007/10/29
- Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom, andrzej zaborowski, 2007/10/29
- Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom, Daniel P. Berrange, 2007/10/29
- Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom, andrzej zaborowski, 2007/10/29
- Re: [Qemu-devel] [PATCH 1/3] Add args to -cdrom to define where is connected the cdrom, Anthony Liguori, 2007/10/29