aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2009-05-11 13:50:34 +0100
committerKeir Fraser <keir.fraser@citrix.com>2009-05-11 13:50:34 +0100
commita9f4e685137b87485e9e810d0af632040629bd4c (patch)
treee6b48abf0c96af5b69588eb1c474c3825100e1f3 /tools/examples
parenta5db2986d47fafc5e62f992616f057bfa43015d9 (diff)
downloadxen-a9f4e685137b87485e9e810d0af632040629bd4c.tar.gz
xen-a9f4e685137b87485e9e810d0af632040629bd4c.tar.bz2
xen-a9f4e685137b87485e9e810d0af632040629bd4c.zip
stubdom docs: Update to reflect the new way of configuring stubdom domains.
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tools/examples')
-rw-r--r--tools/examples/Makefile1
-rw-r--r--tools/examples/xmexample.hvm-dm14
-rw-r--r--tools/examples/xmexample.hvm-stubdom16
3 files changed, 5 insertions, 26 deletions
diff --git a/tools/examples/Makefile b/tools/examples/Makefile
index 6c8349b154..ecddb43e77 100644
--- a/tools/examples/Makefile
+++ b/tools/examples/Makefile
@@ -17,7 +17,6 @@ XEN_CONFIGS += xmexample2
XEN_CONFIGS += xmexample3
XEN_CONFIGS += xmexample.hvm
XEN_CONFIGS += xmexample.hvm-stubdom
-XEN_CONFIGS += xmexample.hvm-dm
XEN_CONFIGS += xmexample.pv-grub
XEN_CONFIGS += xmexample.nbd
XEN_CONFIGS += xmexample.vti
diff --git a/tools/examples/xmexample.hvm-dm b/tools/examples/xmexample.hvm-dm
deleted file mode 100644
index 9e7d207b98..0000000000
--- a/tools/examples/xmexample.hvm-dm
+++ /dev/null
@@ -1,14 +0,0 @@
-# Not to be started directly,
-# See xmexample.hvm-stubdom and stubdom/README for more details
-
-kernel = "/usr/lib/xen/boot/ioemu-stubdom.gz"
-
-# Must be the same as in xmexample.hvm-stubdom, with a prepended vif for TCP/IP
-# networking in the stubdomain itself, here just ''
-vif = [ '', 'type=ioemu, bridge=xenbr0' ]
-
-# Set here instead of in xmexample.hvm-stubdom
-disk = [ 'file:/var/images/min-el3-i386.img,hda,w', ',hdc:cdrom,r' ]
-
-# Actual output via PVFB
-vfb = [ 'sdl=1' ]
diff --git a/tools/examples/xmexample.hvm-stubdom b/tools/examples/xmexample.hvm-stubdom
index bfceef30f3..acc250eb22 100644
--- a/tools/examples/xmexample.hvm-stubdom
+++ b/tools/examples/xmexample.hvm-stubdom
@@ -6,8 +6,7 @@
# you can set the parameters for the domain on the xm command line.
#============================================================================
#
-# This is a version using a stubdomain for device model, see
-# xmexample.hvm-dm and README.stubdom for more details
+# This is a version using a stubdomain for device model
# The differences with xmexample.hvm are marked with "STUBDOM"
#----------------------------------------------------------------------------
@@ -68,11 +67,8 @@ vif = [ 'type=ioemu, bridge=xenbr0' ]
# Each disk entry is of the form phy:UNAME,DEV,MODE
# where UNAME is the device, DEV is the device name the domain will see,
# and MODE is r for read-only, w for read-write.
-#
-# STUBDOM: do not put it here but in stubdom-ExampleHVMDomain
-#disk = [ 'phy:hda1,hda1,r' ]
-#disk = [ 'file:/var/images/min-el3-i386.img,hda,w', ',hdc:cdrom,r' ]
+disk = [ 'file:/var/images/min-el3-i386.img,hda,w', 'phy:/dev/cdrom,hdc:cdrom,r' ]
#----------------------------------------------------------------------------
# Configure the behaviour when a domain exits. There are three 'reasons'
@@ -127,7 +123,7 @@ device_model = '/usr/lib/xen/bin/stubdom-dm'
#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c), Network (n) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
-#boot="cda"
+boot="cda"
#-----------------------------------------------------------------------------
# write to temporary files instead of disk image files
@@ -136,19 +132,17 @@ device_model = '/usr/lib/xen/bin/stubdom-dm'
#----------------------------------------------------------------------------
# enable SDL library for graphics, default = 0
#
-# STUBDOM: always disable since the stub domain doesn't have direct X access
sdl=0
#----------------------------------------------------------------------------
# enable OpenGL for texture rendering inside the SDL window, default = 1
# valid only if sdl is enabled.
#
-# STUBDOM: always disable for the same reason
-opengl=0
+opengl=1
#----------------------------------------------------------------------------
# enable VNC library for graphics, default = 1
-vnc=0
+vnc=1
#----------------------------------------------------------------------------
# address that should be listened on for the VNC server if vnc is set.