ia64/xen-unstable

view tools/examples/xmexample.vti @ 7720:b2ea26d2099a

Support recent change moving virtual IOAPIC model into Xen for
ia64/VTI. Now ia64/vti will create links to arch/x86/dm/vmx_vioapic.c
and include/x86/vmx_vlapic.h.

Firstly, a small change to common virtual IOAPIC model to be used by
both sides. Also some compilation fix to tools is included in first
one. Secondly, there are ia64-specific changes to hook to common
IOAPIC model.

Based on this patch upon latest xen-ia64-unstable tip, we can see
multiple domains working again on XEN/IA64, including both domU and
VTI domain simultaneously in run-time.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
Signed-off-by Anthony Xu <Anthony.xu@intel.com>
Signed-off-by Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by Eddie Dong <eddie.dong@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Nov 09 14:53:12 2005 +0100 (2005-11-09)
parents 7eac3edd0589
children a9c35cd7e559
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 = "ExampleVMXDomain"
26 # Which CPU to start domain on?
27 #cpu = -1 # leave to Xen to pick
29 # Disable vif for now
30 nics=0
32 # Optionally define mac and/or bridge for the network interfaces.
33 # Random MACs are assigned if not given.
34 #vif = [ 'mac=aa:00:00:00:00:11, bridge=xen-br0' ]
36 #----------------------------------------------------------------------------
37 # Define the disk devices you want the domain to have access to, and
38 # what you want them accessible as.
39 # Each disk entry is of the form phy:UNAME,DEV,MODE
40 # where UNAME is the device, DEV is the device name the domain will see,
41 # and MODE is r for read-only, w for read-write.
43 #disk = [ 'phy:hda1,hda1,r' ]
44 disk = [ 'file:/var/images/xenia64.img,ioemu:hda,w' ]
46 #----------------------------------------------------------------------------
47 # Set according to whether you want the domain restarted when it exits.
48 # The default is 'onreboot', which restarts the domain when it shuts down
49 # with exit code reboot.
50 # Other values are 'always', and 'never'.
52 #restart = 'onreboot'
54 #============================================================================
56 # New stuff
57 device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm.debug'
59 # Advanced users only. Don't touch if you don't know what you're doing
60 memmap = '/usr/lib/xen/boot/mem-map.sxp'
62 #-----------------------------------------------------------------------------
63 # Disk image for
64 #cdrom=
66 #-----------------------------------------------------------------------------
67 # boot on floppy (a), hard disk (c) or CD-ROM (d)
68 #boot=[a|c|d]
69 #-----------------------------------------------------------------------------
70 # write to temporary files instead of disk image files
71 #snapshot=1
73 #----------------------------------------------------------------------------
74 # enable SDL library for graphics, default = 0
75 sdl=1
77 stdvga=1
78 #----------------------------------------------------------------------------
79 # enable VNC library for graphics, default = 1
80 vnc=0
82 #----------------------------------------------------------------------------
83 # enable spawning vncviewer(only valid when vnc=1), default = 1
84 vncviewer=0
86 #----------------------------------------------------------------------------
87 # no graphics, use serial port
88 #nographic=0
91 #-----------------------------------------------------------------------------
92 # enable audio support
93 #enable-audio=1
96 #-----------------------------------------------------------------------------
97 # set the real time clock to local time [default=0 i.e. set to utc]
98 #localtime=1
101 #-----------------------------------------------------------------------------
102 # start in full screen
103 #full-screen=1 diff -r 42cab8724273 tools/libxc/xc_ia64_stubs.c