ia64/xen-unstable

view tools/examples/xmexample.vti @ 10098:48c0f5489d44

Remove Emacs variables settings from tail of our Linux files.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu May 18 11:39:03 2006 +0100 (2006-05-18)
parents ae709b250f43
children fbf676a36ee4
line source
1 # -*- mode: python; -*-
2 #============================================================================
3 # Python configuration setup for 'xm create'.
4 # This script sets the parameters used when a domain is created using 'xm create'.
5 # You use a separate script for each domain you want to create, or
6 # you can set the parameters for the domain on the xm command line.
7 #============================================================================
9 import os, re
10 arch = os.uname()[4]
11 arch_libdir = 'lib'
13 #----------------------------------------------------------------------------
14 # Kernel image file.
15 kernel = "/boot/Flash.fd"
17 # The domain build function. VTI domain uses 'hvm'.
18 builder='hvm'
20 # Initial memory allocation (in megabytes) for the new domain.
21 #
22 # WARNING: Creating a domain with insufficient memory may cause out of
23 # memory errors. The domain needs enough memory to boot kernel
24 # and modules. Allocating less than 32MBs is not recommended.
25 memory = 256
27 # A name for your domain. All domains must have different names.
28 name = "ExampleVTIDomain"
30 # List of which CPUS this domain is allowed to use, default Xen picks
31 #cpus = "" # leave to Xen to pick
32 #cpus = "0" # all vcpus run on CPU0
33 #cpus = "0-3,5,^1" # run on cpus 0,2,3,5
35 # Optionally define mac and/or bridge for the network interfaces.
36 # Random MACs are assigned if not given.
37 #vif = [ 'type=ioemu, mac=00:16:3e:00:00:11, bridge=xenbr0' ]
38 # type=ioemu specify the NIC is an ioemu device not netfront
39 #vif = [ 'type=ioemu, bridge=xenbr0' ]
40 # for multiple NICs in device model, 3 in this example
41 #vif = [ 'type=ioemu, bridge=xenbr0', 'type=ioemu', 'type=ioemu']
43 #----------------------------------------------------------------------------
44 # Define the disk devices you want the domain to have access to, and
45 # what you want them accessible as.
46 # Each disk entry is of the form phy:UNAME,DEV,MODE
47 # where UNAME is the device, DEV is the device name the domain will see,
48 # and MODE is r for read-only, w for read-write.
50 #disk = [ 'phy:hda1,hda1,r' ]
51 disk = [ 'file:/var/images/xenia64.img,ioemu:hda,w' ]
53 #----------------------------------------------------------------------------
54 # Set according to whether you want the domain restarted when it exits.
55 # The default is 'onreboot', which restarts the domain when it shuts down
56 # with exit code reboot.
57 # Other values are 'always', and 'never'.
59 #restart = 'onreboot'
61 #============================================================================
63 # New stuff
64 device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
66 # Advanced users only. Don't touch if you don't know what you're doing
67 memmap = '/usr/lib/xen/boot/mem-map.sxp'
69 #-----------------------------------------------------------------------------
70 # Disk image for
71 #cdrom=
73 #-----------------------------------------------------------------------------
74 # boot on floppy (a), hard disk (c) or CD-ROM (d)
75 #boot=[a|c|d]
76 #-----------------------------------------------------------------------------
77 # write to temporary files instead of disk image files
78 #snapshot=1
80 #----------------------------------------------------------------------------
81 # enable SDL library for graphics, default = 0
82 sdl=1
84 stdvga=1
85 #----------------------------------------------------------------------------
86 # enable VNC library for graphics, default = 1
87 vnc=0
89 #----------------------------------------------------------------------------
90 # enable spawning vncviewer(only valid when vnc=1), default = 1
91 vncviewer=0
93 #----------------------------------------------------------------------------
94 # no graphics, use serial port
95 #nographic=0
98 #-----------------------------------------------------------------------------
99 # enable audio support
100 #enable-audio=1
103 #-----------------------------------------------------------------------------
104 # set the real time clock to local time [default=0 i.e. set to utc]
105 #localtime=1
108 #-----------------------------------------------------------------------------
109 # start in full screen
110 #full-screen=1 diff -r 42cab8724273 tools/libxc/xc_ia64_stubs.c