ia64/xen-unstable

view tools/examples/xmexample.vti @ 8964:8946b6dcd49e

Fix x86_64 Xen build.

event_callback_cs and failsafe_callback_cs are x86_32 only.

Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
author Ian.Campbell@xensource.com
date Wed Feb 22 17:26:39 2006 +0000 (2006-02-22)
parents 985228c22276
children e04978011d2d
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. VMX domain uses 'vmx'.
18 builder='vmx'
20 # Initial memory allocation (in megabytes) for the new domain.
21 memory = 256
23 # A name for your domain. All domains must have different names.
24 name = "ExampleVTIDomain"
26 # List of which CPUS this domain is allowed to use, default Xen picks
27 #cpus = "" # leave to Xen to pick
28 #cpus = "0" # all vcpus run on CPU0
29 #cpus = "0-3,5,^1" # run on cpus 0,2,3,5
31 # Optionally define mac and/or bridge for the network interfaces.
32 # Random MACs are assigned if not given.
33 #vif = [ 'type=ioemu, mac=00:16:3e:00:00:11, bridge=xenbr0' ]
34 # type=ioemu specify the NIC is an ioemu device not netfront
35 vif = [ 'type=ioemu, bridge=xenbr0' ]
36 # for multiple NICs in device model, 3 in this example
37 #vif = [ 'type=ioemu, bridge=xenbr0', 'type=ioemu', 'type=ioemu']
39 #----------------------------------------------------------------------------
40 # Define the disk devices you want the domain to have access to, and
41 # what you want them accessible as.
42 # Each disk entry is of the form phy:UNAME,DEV,MODE
43 # where UNAME is the device, DEV is the device name the domain will see,
44 # and MODE is r for read-only, w for read-write.
46 #disk = [ 'phy:hda1,hda1,r' ]
47 disk = [ 'file:/var/images/xenia64.img,ioemu:hda,w' ]
49 #----------------------------------------------------------------------------
50 # Set according to whether you want the domain restarted when it exits.
51 # The default is 'onreboot', which restarts the domain when it shuts down
52 # with exit code reboot.
53 # Other values are 'always', and 'never'.
55 #restart = 'onreboot'
57 #============================================================================
59 # New stuff
60 device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
62 # Advanced users only. Don't touch if you don't know what you're doing
63 memmap = '/usr/lib/xen/boot/mem-map.sxp'
65 #-----------------------------------------------------------------------------
66 # Disk image for
67 #cdrom=
69 #-----------------------------------------------------------------------------
70 # boot on floppy (a), hard disk (c) or CD-ROM (d)
71 #boot=[a|c|d]
72 #-----------------------------------------------------------------------------
73 # write to temporary files instead of disk image files
74 #snapshot=1
76 #----------------------------------------------------------------------------
77 # enable SDL library for graphics, default = 0
78 sdl=1
80 stdvga=1
81 #----------------------------------------------------------------------------
82 # enable VNC library for graphics, default = 1
83 vnc=0
85 #----------------------------------------------------------------------------
86 # enable spawning vncviewer(only valid when vnc=1), default = 1
87 vncviewer=0
89 #----------------------------------------------------------------------------
90 # no graphics, use serial port
91 #nographic=0
94 #-----------------------------------------------------------------------------
95 # enable audio support
96 #enable-audio=1
99 #-----------------------------------------------------------------------------
100 # set the real time clock to local time [default=0 i.e. set to utc]
101 #localtime=1
104 #-----------------------------------------------------------------------------
105 # start in full screen
106 #full-screen=1 diff -r 42cab8724273 tools/libxc/xc_ia64_stubs.c