diff options
author | chris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com> | 2006-08-03 18:28:29 +0100 |
---|---|---|
committer | chris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com> | 2006-08-03 18:28:29 +0100 |
commit | ae97d42025bb00a13fd9562920f743b0a555cff6 (patch) | |
tree | 03c0fd20d4ff73c13ac84a2808df2706844ecdb3 /tools/examples/xmexample.hvm | |
parent | 931e1a3a502ec16cd8c7ba154f13620c534e96dd (diff) | |
download | xen-ae97d42025bb00a13fd9562920f743b0a555cff6.tar.gz xen-ae97d42025bb00a13fd9562920f743b0a555cff6.tar.bz2 xen-ae97d42025bb00a13fd9562920f743b0a555cff6.zip |
[qemu] Use xenstore to configure ioemu block devices.
- read ioemu block device config from xenstore
- don't require the ioemu: prefix on block devices any longer
- allow change of media associated with cdrom drives
- replace cdrom= option by :cdrom suffix on regular block device config:
'file:/root/mytest.iso,hdc:cdrom,r'
- don't create default cdrom drive anymore - to create default empty
cdrom drive use: ',hdc:cdrom,r'
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Diffstat (limited to 'tools/examples/xmexample.hvm')
-rw-r--r-- | tools/examples/xmexample.hvm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/examples/xmexample.hvm b/tools/examples/xmexample.hvm index 2d2eef8735..b303adfead 100644 --- a/tools/examples/xmexample.hvm +++ b/tools/examples/xmexample.hvm @@ -66,7 +66,7 @@ vif = [ 'type=ioemu, bridge=xenbr0' ] # and MODE is r for read-only, w for read-write. #disk = [ 'phy:hda1,hda1,r' ] -disk = [ 'file:/var/images/min-el3-i386.img,ioemu:hda,w' ] +disk = [ 'file:/var/images/min-el3-i386.img,hda,w', ',hdc:cdrom,r' ] #---------------------------------------------------------------------------- # Configure the behaviour when a domain exits. There are three 'reasons' @@ -111,10 +111,6 @@ disk = [ 'file:/var/images/min-el3-i386.img,ioemu:hda,w' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' #----------------------------------------------------------------------------- -# Disk image for -#cdrom= - -#----------------------------------------------------------------------------- # boot on floppy (a), hard disk (c) or CD-ROM (d) #boot=[a|c|d] #----------------------------------------------------------------------------- |