debuggers.hg

view README @ 22848:6341fe0f4e5a

Added tag 4.1.0-rc2 for changeset 9dca60d88c63
author Keir Fraser <keir@xen.org>
date Tue Jan 25 14:06:55 2011 +0000 (2011-01-25)
parents b8cc53d22545
children
line source
1 #################################
2 __ __ _ _ _
3 \ \/ /___ _ __ | || | / |
4 \ // _ \ '_ \ | || |_ | |
5 / \ __/ | | | |__ _|| |
6 /_/\_\___|_| |_| |_|(_)_|
8 #################################
10 http://www.xen.org/
12 What is Xen?
13 ============
15 Xen is a Virtual Machine Monitor (VMM) originally developed by the
16 Systems Research Group of the University of Cambridge Computer
17 Laboratory, as part of the UK-EPSRC funded XenoServers project. Xen
18 is freely-distributable Open Source software, released under the GNU
19 GPL. Since its initial public release, Xen has grown a large
20 development community, spearheaded by xen.org (http://www.xen.org).
22 The 4.1 release offers excellent performance, hardware support and
23 enterprise-grade features such as x86_32-PAE, x86_64, SMP guests and
24 live relocation of VMs. Ports to Linux, NetBSD, FreeBSD and Solaris
25 are available from the community.
27 This file contains some quick-start instructions to install Xen on
28 your system. For full documentation, see the Xen User Manual. If this
29 is a pre-built release then you can find the manual at:
30 dist/install/usr/share/doc/xen/pdf/user.pdf
31 If you have a source release, then 'make -C docs' will build the
32 manual at docs/pdf/user.pdf.
34 Quick-Start Guide
35 =================
37 First, there are a number of prerequisites for building a Xen source
38 release. Make sure you have all the following installed, either by
39 visiting the project webpage or installing a pre-built package
40 provided by your OS distributor:
41 * GCC v3.4 or later
42 * GNU Make
43 * GNU Binutils
44 * Development install of zlib (e.g., zlib-dev)
45 * Development install of Python v2.3 or later (e.g., python-dev)
46 * Development install of curses (e.g., libncurses-dev)
47 * Development install of openssl (e.g., openssl-dev)
48 * Development install of x11 (e.g. xorg-x11-dev)
49 * bridge-utils package (/sbin/brctl)
50 * iproute package (/sbin/ip)
51 * hotplug or udev
52 * GNU bison and GNU flex
54 Second, you need to acquire a suitable kernel for use in domain 0. If
55 possible you should use a kernel provided by your OS distributor. If
56 no suitable kernel is available from your OS distributor then refer to
57 http://wiki.xen.org/xenwiki/XenDom0Kernels for suggestions for
58 suitable kernels to use.
60 [NB. Unless noted otherwise, all the following steps should be
61 performed with root privileges.]
63 1. Download and untar the source tarball file. This will be a
64 file named xen-unstable-src.tgz, or xen-$version-src.tgz.
65 You can also pull the current version from the mercurial
66 repository at http://xenbits.xen.org/
68 # tar xzf xen-unstable-src.tgz
70 Assuming you are using the unstable tree, this will
71 untar into xen-unstable. The rest of the instructions
72 use the unstable tree as an example, substitute the
73 version for unstable.
75 2. cd to xen-unstable (or whatever you sensibly rename it to).
77 3. For the very first build, or if you want to destroy build trees,
78 perform the following steps:
80 # make world
81 # make install
83 This will create and install onto the local machine. It will build
84 the xen binary (xen.gz), the tools and the documentation.
86 You can override the destination for make install by setting DESTDIR
87 to some value.
89 4. To rebuild an existing tree without modifying the config:
90 # make dist
92 This will build and install xen, tools, and docs into the local dist/
93 directory.
95 You can override the destination for make install by setting DISTDIR
96 to some value.
98 make install and make dist differ in that make install does the
99 right things for your local machine (installing the appropriate
100 version of hotplug or udev scripts, for example), but make dist
101 includes all versions of those scripts, so that you can copy the dist
102 directory to another machine and install from that distribution.
104 Python Runtime Libraries
105 ========================
107 Xend (the Xen daemon) has the following runtime dependencies:
109 * Python 2.3 or later.
110 In some distros, the XML-aspects to the standard library
111 (xml.dom.minidom etc) are broken out into a separate python-xml package.
112 This is also required.
113 In more recent versions of Debian and Ubuntu the XML-aspects are included
114 in the base python package however (python-xml has been removed
115 from Debian in squeeze and from Ubuntu in intrepid).
117 URL: http://www.python.org/
118 Debian: python
120 * For optional SSL support, pyOpenSSL:
121 URL: http://pyopenssl.sourceforge.net/
122 Debian: python-pyopenssl
124 * For optional PAM support, PyPAM:
125 URL: http://www.pangalactic.org/PyPAM/
126 Debian: python-pam
128 * For optional XenAPI support in XM, PyXML:
129 URL: http://codespeak.net/lxml/
130 Debian: python-lxml
131 YUM: python-lxml
134 Intel(R) Trusted Execution Technology Support
135 =============================================
137 Intel's technology for safer computing, Intel(R) Trusted Execution Technology
138 (Intel(R) TXT), defines platform-level enhancements that provide the building
139 blocks for creating trusted platforms. For more information, see
140 http://www.intel.com/technology/security/.
142 Intel(R) TXT support is provided by the Trusted Boot (tboot) module in
143 conjunction with minimal logic in the Xen hypervisor.
145 Tboot is an open source, pre- kernel/VMM module that uses Intel(R) TXT to
146 perform a measured and verified launch of an OS kernel/VMM.
148 The Trusted Boot module is available from
149 http://sourceforge.net/projects/tboot. This project hosts the code in a
150 mercurial repo at http://tboot.sourceforge.net/hg/tboot.hg and contains
151 tarballs of the source. Instructions in the tboot README describe how
152 to modify grub.conf to use tboot to launch Xen.
154 There are optional targets as part of Xen's top-level makefile that will
155 download and build tboot: install-tboot, build-tboot, dist-tboot, clean-tboot.
156 These will download the latest tar file from the SourceForge site using wget,
157 then build/install/dist according to Xen's settings.