ia64/xen-unstable

view stubdom/README @ 17062:0769835cf50f

x86 shadow: Reduce scope of shadow lock.

emulate_map_dest doesn't require holding lock, since
only shadow related operation possibly involved is to
remove shadow which is less frequent and can acquire
lock inside. Rest are either guest table walk or
per-vcpu monitor table manipulation

Signed-off-by Kevin Tian <kevin.tian@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Feb 14 10:33:12 2008 +0000 (2008-02-14)
parents a905c582a406
children 2a8eaba24bf0
line source
1 To compile
2 ==========
4 Just run make -j 4, that will download / patch / compile
5 Then make install to install the result.
7 Also, run make and make install in $XEN_ROOT/tools/fs-back
9 To run
10 ======
12 mkdir -p /exports/usr/share/qemu
13 ln -s /usr/share/qemu/keymaps /exports/usr/share/qemu
14 /usr/sbin/fs-backend &
17 In your HVM config "hvmconfig",
19 - use VNC, set vnclisten to "172.30.206.1" for instance:
21 vnc=1
22 vnclisten="172.30.206.1"
24 - use /usr/lib/xen/bin/stubdom-dm as dm script
26 device_model = '/usr/lib/xen/bin/stubdom-dm'
28 - comment the disk statement:
29 #disk = [ 'file:/tmp/install.iso,hdc:cdrom,r', 'phy:/dev/sda6,hda,w', 'file:/tmp/test,hdb,r' ]
31 Create /etc/xen/stubdom-hvmconfig ("hvmconfig" must match your main config file)
32 with
34 kernel="/usr/lib/xen/boot/stubdom.gz"
35 vif=[ 'ip=172.30.206.1', 'ip=10.0.1.1,mac=aa:00:00:12:23:34']
36 disk = [ 'file:/tmp/install.iso,hdc:cdrom,r', 'phy:/dev/sda6,hda,w', 'file:/tmp/test,hdb,r' ]
38 where
39 - 172.30.206.1 is the IP for vnc,
40 - 'ip=10.0.1.1,mac=' is the same net configuration as in the hvmconfig script,
41 - and disk = is the same block configuration as in the hvmconfig script.