# Not to be started directly,
# See xmexample.hvm-stubdom and stubdom/README for more details
-import os, re
-arch = os.uname()[4]
-if re.search('64', arch):
- arch_libdir = 'lib64'
-else:
- arch_libdir = 'lib'
-
-kernel = "/usr/" + arch_libdir + "/xen/boot/ioemu-stubdom.gz"
+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 ''
#----------------------------------------------------------------------------
# Kernel image file.
-kernel = "/usr/" + arch_libdir + "/xen/boot/hvmloader"
+kernel = "/usr/lib/xen/boot/hvmloader"
# The domain build function. HVM domain uses 'hvm'.
builder='hvm'
# stubdom-ExampleHVMDomain and stubdom/README for more details
# The differences with xmexample.hvm are marked with "STUBDOM"
-import os, re
-arch = os.uname()[4]
-if re.search('64', arch):
- arch_libdir = 'lib64'
-else:
- arch_libdir = 'lib'
-
#----------------------------------------------------------------------------
# Kernel image file.
-kernel = "/usr/" + arch_libdir + "/xen/boot/hvmloader"
+kernel = "/usr/lib/xen/boot/hvmloader"
# The domain build function. HVM domain uses 'hvm'.
builder='hvm'
#
# STUBDOM: this is a script that creates the stub domain running the device
# model
-device_model = '/usr/' + arch_libdir + '/xen/bin/stubdom-dm'
+device_model = '/usr/lib/xen/bin/stubdom-dm'
#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c), Network (n) or CD-ROM (d)