view README @ 23319:ff523faf2be1

x86/mm: fix mod_l1_entry() return value when encountering r/o MMIO page

While putting together the workaround announced in
http://lists.xen.org/archives/html/xen-devel/2012-06/msg00709.html, I
found that mod_l1_entry(), upon encountering a set bit in
mmio_ro_ranges, would return 1 instead of 0 (the removal of the write
permission is supposed to be entirely transparent to the caller, even
more so to the calling guest).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen-unstable changeset: 25487:baa85434d0ec
xen-unstable date: Thu Jun 21 11:30:59 2012 +0200
author Jan Beulich <jbeulich@novell.com>
date Mon Jul 09 10:30:16 2012 +0100 (2012-07-09)
parents 943a1d993dcd
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 * Development install of uuid (e.g. uuid-dev)
50 * bridge-utils package (/sbin/brctl)
51 * iproute package (/sbin/ip)
52 * hotplug or udev
53 * GNU bison and GNU flex
54 * GNU gettext
55 * 16-bit x86 assembler, loader and compiler (dev86 rpm or bin86 & bcc debs)
56 * ACPI ASL compiler (iasl)
58 Second, you need to acquire a suitable kernel for use in domain 0. If
59 possible you should use a kernel provided by your OS distributor. If
60 no suitable kernel is available from your OS distributor then refer to
61 http://wiki.xen.org/xenwiki/XenDom0Kernels for suggestions for
62 suitable kernels to use.
63 If you are looking to compile a Dom0 kernel from source, please refer to
64 http://wiki.xensource.com/xenwiki/XenParavirtOps.
66 [NB. Unless noted otherwise, all the following steps should be
67 performed with root privileges.]
69 1. Download and untar the source tarball file. This will be a
70 file named xen-unstable-src.tgz, or xen-$version-src.tgz.
71 You can also pull the current version from the mercurial
72 repository at http://xenbits.xen.org/
74 # tar xzf xen-unstable-src.tgz
76 Assuming you are using the unstable tree, this will
77 untar into xen-unstable. The rest of the instructions
78 use the unstable tree as an example, substitute the
79 version for unstable.
81 2. cd to xen-unstable (or whatever you sensibly rename it to).
83 3. For the very first build, or if you want to destroy build trees,
84 perform the following steps:
86 # make world
87 # make install
89 This will create and install onto the local machine. It will build
90 the xen binary (xen.gz), the tools and the documentation.
92 You can override the destination for make install by setting DESTDIR
93 to some value.
95 4. To rebuild an existing tree without modifying the config:
96 # make dist
98 This will build and install xen, tools, and docs into the local dist/
99 directory.
101 You can override the destination for make install by setting DISTDIR
102 to some value.
104 make install and make dist differ in that make install does the
105 right things for your local machine (installing the appropriate
106 version of hotplug or udev scripts, for example), but make dist
107 includes all versions of those scripts, so that you can copy the dist
108 directory to another machine and install from that distribution.
110 Python Runtime Libraries
111 ========================
113 Xend (the Xen daemon) has the following runtime dependencies:
115 * Python 2.3 or later.
116 In some distros, the XML-aspects to the standard library
117 (xml.dom.minidom etc) are broken out into a separate python-xml package.
118 This is also required.
119 In more recent versions of Debian and Ubuntu the XML-aspects are included
120 in the base python package however (python-xml has been removed
121 from Debian in squeeze and from Ubuntu in intrepid).
123 URL: http://www.python.org/
124 Debian: python
126 * For optional SSL support, pyOpenSSL:
127 URL: http://pyopenssl.sourceforge.net/
128 Debian: python-pyopenssl
130 * For optional PAM support, PyPAM:
131 URL: http://www.pangalactic.org/PyPAM/
132 Debian: python-pam
134 * For optional XenAPI support in XM, PyXML:
135 URL: http://codespeak.net/lxml/
136 Debian: python-lxml
137 YUM: python-lxml
140 Intel(R) Trusted Execution Technology Support
141 =============================================
143 Intel's technology for safer computing, Intel(R) Trusted Execution Technology
144 (Intel(R) TXT), defines platform-level enhancements that provide the building
145 blocks for creating trusted platforms. For more information, see
146 http://www.intel.com/technology/security/.
148 Intel(R) TXT support is provided by the Trusted Boot (tboot) module in
149 conjunction with minimal logic in the Xen hypervisor.
151 Tboot is an open source, pre- kernel/VMM module that uses Intel(R) TXT to
152 perform a measured and verified launch of an OS kernel/VMM.
154 The Trusted Boot module is available from
155 http://sourceforge.net/projects/tboot. This project hosts the code in a
156 mercurial repo at http://tboot.sourceforge.net/hg/tboot.hg and contains
157 tarballs of the source. Instructions in the tboot README describe how
158 to modify grub.conf to use tboot to launch Xen.
160 There are optional targets as part of Xen's top-level makefile that will
161 download and build tboot: install-tboot, build-tboot, dist-tboot, clean-tboot.
162 These will download the latest tar file from the SourceForge site using wget,
163 then build/install/dist according to Xen's settings.