ia64/xen-unstable
changeset 7502:7eac3edd0589
Oops, missed hg add of vti example file
author | djm@kirby.fc.hp.com |
---|---|
date | Mon Oct 24 21:00:35 2005 -0600 (2005-10-24) |
parents | 8928c89a8d0a |
children | aa81f4e44ca5 eee0489b3a17 |
files | tools/examples/xmexample.vti |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tools/examples/xmexample.vti Mon Oct 24 21:00:35 2005 -0600 1.3 @@ -0,0 +1,100 @@ 1.4 +# -*- mode: python; -*- 1.5 +#============================================================================ 1.6 +# Python configuration setup for 'xm create'. 1.7 +# This script sets the parameters used when a domain is created using 'xm create'. 1.8 +# You use a separate script for each domain you want to create, or 1.9 +# you can set the parameters for the domain on the xm command line. 1.10 +#============================================================================ 1.11 + 1.12 +import os, re 1.13 +arch = os.uname()[4] 1.14 +arch_libdir = 'lib' 1.15 + 1.16 +#---------------------------------------------------------------------------- 1.17 +# Kernel image file. 1.18 +kernel = "/boot/Flash.fd" 1.19 + 1.20 +# The domain build function. VMX domain uses 'vmx'. 1.21 +builder='vmx' 1.22 + 1.23 +# Initial memory allocation (in megabytes) for the new domain. 1.24 +memory = 256 1.25 + 1.26 +# A name for your domain. All domains must have different names. 1.27 +name = "ExampleVMXDomain" 1.28 + 1.29 +# Which CPU to start domain on? 1.30 +#cpu = -1 # leave to Xen to pick 1.31 + 1.32 +# Optionally define mac and/or bridge for the network interfaces. 1.33 +# Random MACs are assigned if not given. 1.34 +#vif = [ 'mac=aa:00:00:00:00:11, bridge=xen-br0' ] 1.35 + 1.36 +#---------------------------------------------------------------------------- 1.37 +# Define the disk devices you want the domain to have access to, and 1.38 +# what you want them accessible as. 1.39 +# Each disk entry is of the form phy:UNAME,DEV,MODE 1.40 +# where UNAME is the device, DEV is the device name the domain will see, 1.41 +# and MODE is r for read-only, w for read-write. 1.42 + 1.43 +#disk = [ 'phy:hda1,hda1,r' ] 1.44 +disk = [ 'file:/var/images/xenia64.img,ioemu:hda,w' ] 1.45 + 1.46 +#---------------------------------------------------------------------------- 1.47 +# Set according to whether you want the domain restarted when it exits. 1.48 +# The default is 'onreboot', which restarts the domain when it shuts down 1.49 +# with exit code reboot. 1.50 +# Other values are 'always', and 'never'. 1.51 + 1.52 +#restart = 'onreboot' 1.53 + 1.54 +#============================================================================ 1.55 + 1.56 +# New stuff 1.57 +device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm.debug' 1.58 + 1.59 +# Advanced users only. Don't touch if you don't know what you're doing 1.60 +memmap = '/usr/lib/xen/boot/mem-map.sxp' 1.61 + 1.62 +#----------------------------------------------------------------------------- 1.63 +# Disk image for 1.64 +#cdrom= 1.65 + 1.66 +#----------------------------------------------------------------------------- 1.67 +# boot on floppy (a), hard disk (c) or CD-ROM (d) 1.68 +#boot=[a|c|d] 1.69 +#----------------------------------------------------------------------------- 1.70 +# write to temporary files instead of disk image files 1.71 +#snapshot=1 1.72 + 1.73 +#---------------------------------------------------------------------------- 1.74 +# enable SDL library for graphics, default = 0 1.75 +sdl=1 1.76 + 1.77 +stdvga=1 1.78 +#---------------------------------------------------------------------------- 1.79 +# enable VNC library for graphics, default = 1 1.80 +vnc=0 1.81 + 1.82 +#---------------------------------------------------------------------------- 1.83 +# enable spawning vncviewer(only valid when vnc=1), default = 1 1.84 +vncviewer=0 1.85 + 1.86 +#---------------------------------------------------------------------------- 1.87 +# no graphics, use serial port 1.88 +#nographic=0 1.89 + 1.90 + 1.91 +#----------------------------------------------------------------------------- 1.92 +# enable audio support 1.93 +#enable-audio=1 1.94 + 1.95 + 1.96 +#----------------------------------------------------------------------------- 1.97 +# set the real time clock to local time [default=0 i.e. set to utc] 1.98 +#localtime=1 1.99 + 1.100 + 1.101 +#----------------------------------------------------------------------------- 1.102 +# start in full screen 1.103 +#full-screen=1 diff -r 42cab8724273 tools/libxc/xc_ia64_stubs.c