Hi, The attached patch update qemu-doc.texi with the definition of '-drive'.
Laurent -- ------------- [EMAIL PROTECTED] -------------- "Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke
--- qemu-doc.texi | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) Index: qemu/qemu-doc.texi =================================================================== --- qemu.orig/qemu-doc.texi 2007-12-10 10:27:32.000000000 +0100 +++ qemu/qemu-doc.texi 2007-12-10 10:35:21.000000000 +0100 @@ -227,6 +227,76 @@ Use @var{file} as CD-ROM image (you cann @option{-cdrom} at the same time). You can use the host CD-ROM by using @file{/dev/cdrom} as filename (@pxref{host_drives}). [EMAIL PROTECTED] -drive @var{option}[,@var{option}[,@var{option}[,...]]] + +Define a new drive. Valid options are: + [EMAIL PROTECTED] @code [EMAIL PROTECTED] [EMAIL PROTECTED] +This option defines which disk image (@pxref{disk_images}) to use with +this drive. [EMAIL PROTECTED] [EMAIL PROTECTED] +This option defines on which type on interface the drive is connected. +Available types are: ide, scsi, sd, mtd, floppy, pflash. [EMAIL PROTECTED] [EMAIL PROTECTED],[EMAIL PROTECTED] +These options define where is connected the drive by defining the bus number and +the unit id. [EMAIL PROTECTED] [EMAIL PROTECTED] +This option defines where is connected the drive by using an index in the list +of available connectors of a given interface type. [EMAIL PROTECTED] [EMAIL PROTECTED] +This option defines the type of the media: disk or cdrom. [EMAIL PROTECTED] [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED] +These options have the same definition as they have in @option{-hdachs}. [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] is "on" or "off" and allows to enable snapshot for given drive (see @option{-snapshot}). [EMAIL PROTECTED] table + +Instead of @option{-cdrom} you can use: [EMAIL PROTECTED] +qemu -drive file=file,index=2,media=cdrom [EMAIL PROTECTED] example + +Instead of @option{-hda}, @option{-hdb}, @option{-hdc}, @option{-hdd}, you can +use: [EMAIL PROTECTED] +qemu -drive file=file,index=0,media=disk +qemu -drive file=file,index=1,media=disk +qemu -drive file=file,index=2,media=disk +qemu -drive file=file,index=3,media=disk [EMAIL PROTECTED] example + +You can connect a CDROM to the slave of ide0: [EMAIL PROTECTED] +qemu -drive file=file,if=ide,index=1,media=cdrom [EMAIL PROTECTED] example + +If you don't specify the "file=" argument, you define an empty drive: [EMAIL PROTECTED] +qemu -drive if=ide,index=1,media=cdrom [EMAIL PROTECTED] example + +You can connect a SCSI disk with unit ID 6 on the bus #0: [EMAIL PROTECTED] +qemu -drive file=file,if=scsi,bus=0,unit=6 [EMAIL PROTECTED] example + +Instead of @option{-fda}, @option{-fdb}, you can use: [EMAIL PROTECTED] +qemu -drive file=file,index=0,if=floppy +qemu -drive file=file,index=1,if=floppy [EMAIL PROTECTED] example + +By default, @var{interface} is "ide" and @var{index} is automatically +incremented: [EMAIL PROTECTED] +qemu -drive file=a -drive file=b" [EMAIL PROTECTED] example +is interpreted like: [EMAIL PROTECTED] +qemu -hda a -hdb b [EMAIL PROTECTED] example + @item -boot [a|c|d|n] Boot on floppy (a), hard disk (c), CD-ROM (d), or Etherboot (n). Hard disk boot is the default.
signature.asc
Description: Ceci est une partie de message numériquement signée