@ -148,6 +148,9 @@ Define a new drive. Valid options are:
This option defines which disk image ( @ pxref { disk_images } ) to use with
this drive . If the filename contains comma , you must double it
( for i n s t a n c e , " f i l e = m y , , f i l e " t o u s e f i l e " m y , f i l e " ) .
Special files such as iSCSI devices can be specified using protocol
specific URLs . See the section for " D e v i c e U R L S y n t a x " f o r m o r e i n f o r m a t i o n .
@ item if = @ v a r { i n t e r f a c e }
This option defines on which type on interface t h e d r i v e i s c o n n e c t e d .
Available types are : ide , scsi , sd , mtd , floppy , pflash , virtio .
@ -1718,6 +1721,45 @@ ETEXI
DEFHEADING ( )
STEXI
DEFHEADING ( Device U R L S y n t a x : )
In addition to using normal file images for the emulated storage devices ,
QEMU can also use networked resources such as iSCSI devices . These are
specified using a special URL syntax .
@ table @ option
@ item iSCSI
iSCSI support allows QEMU to access iSCSI resources directly and use as
images for t h e g u e s t s t o r a g e . B o t h d i s k a n d c d r o m i m a g e s a r e s u p p o r t e d .
Syntax for s p e c i f y i n g i S C S I L U N s i s
` ` iscsi : //<target-ip>[:<port>]/<target-iqn>/<lun>''
Example ( without a u t h e n t i c a t i o n ) :
@ example
qemu - cdrom iscsi : //192.0.2.1/iqn.2001-04.com.example/2 \
-- drive file = iscsi : //192.0.2.1/iqn.2001-04.com.example/1
@ end example
Example ( CHAP u s e r n a m e / p a s s w o r d v i a U R L ) :
@ example
qemu -- drive file = iscsi : //user%password@@192.0.2.1/iqn.2001-04.com.example/1
@ end example
Example ( CHAP u s e r n a m e / p a s s w o r d v i a e n v i r o n m e n t v a r i a b l e s ) :
@ example
LIBISCSI_CHAP_USERNAME = " u s e r " \
LIBISCSI_CHAP_PASSWORD = " p a s s w o r d " \
qemu -- drive file = iscsi : //192.0.2.1/iqn.2001-04.com.example/1
@ end example
iSCSI support is an optional feature of QEMU and only available when
compiled and linked against libiscsi .
@ end table
ETEXI
DEFHEADING ( Bluetooth ( R ) o p t i o n s : )
DEF ( " b t " , HAS_ARG , QEMU_OPTION_bt , \