ia64/xen-unstable

changeset 10068:c20e766a1f72

Our 10,000th changeset! (Clean up trailing whitespace in README file :-)

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue May 16 13:46:57 2006 +0100 (2006-05-16)
parents bc7d49df1651
children 3dca5b4add2b
files README
line diff
     1.1 --- a/README	Tue May 16 13:35:59 2006 +0100
     1.2 +++ b/README	Tue May 16 13:46:57 2006 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4  ################################
     1.5 - __  __            _____  ___  
     1.6 - \ \/ /___ _ __   |___ / / _ \ 
     1.7 + __  __            _____  ___
     1.8 + \ \/ /___ _ __   |___ / / _ \
     1.9    \  // _ \ '_ \    |_ \| | | |
    1.10    /  \  __/ | | |  ___) | |_| |
    1.11 - /_/\_\___|_| |_| |____(_)___/ 
    1.12 + /_/\_\___|_| |_| |____(_)___/
    1.13  
    1.14  ################################
    1.15  
    1.16 @@ -66,14 +66,14 @@ 2. Configure your bootloader to boot Xen
    1.17  
    1.18     The linux command line takes all the usual options, such as
    1.19     root=<root-dev> to specify your usual root partition (e.g.,
    1.20 -   /dev/hda1).  
    1.21 +   /dev/hda1).
    1.22  
    1.23     The Xen command line takes a number of optional arguments described
    1.24     in the manual. The most common is 'dom0_mem=xxxM' which sets the
    1.25     amount of memory to allocate for use by your initial virtual
    1.26     machine (known as domain 0). Note that Xen itself reserves about
    1.27     32MB memory for internal use, which is not available for allocation
    1.28 -   to virtual machines.  
    1.29 +   to virtual machines.
    1.30  
    1.31  3. Reboot your system and select the "Xen 3.0 / XenLinux 2.6" menu
    1.32     option. After booting Xen, Linux will start and your initialisation
    1.33 @@ -86,7 +86,7 @@ First, there are a number of prerequisit
    1.34  release. Make sure you have all the following installed, either by
    1.35  visiting the project webpage or installing a pre-built package
    1.36  provided by your Linux distributor:
    1.37 -    * GCC (preferably v3.2.x or v3.3.x; older versions are unsupported) 
    1.38 +    * GCC (preferably v3.2.x or v3.3.x; older versions are unsupported)
    1.39      * GNU Make
    1.40      * GNU Binutils
    1.41      * Development install of zlib (e.g., zlib-dev)
    1.42 @@ -122,19 +122,19 @@ 3. For the very first build, or if you w
    1.43      # make world
    1.44      # make install
    1.45  
    1.46 -   This will create and install onto the local machine. It will build 
    1.47 +   This will create and install onto the local machine. It will build
    1.48     the xen binary (xen.gz), and a linux kernel and modules that can be
    1.49     used in both dom0 and an unprivileged guest kernel (vmlinuz-2.6.x-xen),
    1.50     the tools and the documentation.
    1.51  
    1.52 -   You can override the destination for make install by setting DESTDIR 
    1.53 +   You can override the destination for make install by setting DESTDIR
    1.54     to some value.
    1.55  
    1.56 -   The make command line defaults to building the kernel vmlinuz-2.6.x-xen. 
    1.57 -   You can override this default by specifying KERNELS=kernelname. For 
    1.58 -   example, you can make two kernels - linux-2.6-xen0 
    1.59 -   and linux-2.6-xenU - which are smaller builds containing only selected 
    1.60 -   modules, intended primarily for developers that don't like to wait 
    1.61 +   The make command line defaults to building the kernel vmlinuz-2.6.x-xen.
    1.62 +   You can override this default by specifying KERNELS=kernelname. For
    1.63 +   example, you can make two kernels - linux-2.6-xen0
    1.64 +   and linux-2.6-xenU - which are smaller builds containing only selected
    1.65 +   modules, intended primarily for developers that don't like to wait
    1.66     for a full -xen kernel to build. The -xenU kernel is particularly small,
    1.67     as it does not contain any physical device drivers, and hence is
    1.68     only useful for guest domains.
    1.69 @@ -153,15 +153,15 @@ 4. To rebuild an existing tree without m
    1.70      # make dist
    1.71  
    1.72     This will build and install xen, kernels, tools, and
    1.73 -   docs into the local dist/ directory. 
    1.74 +   docs into the local dist/ directory.
    1.75  
    1.76 -   You can override the destination for make install by setting DISTDIR 
    1.77 +   You can override the destination for make install by setting DISTDIR
    1.78     to some value.
    1.79  
    1.80 -   make install and make dist differ in that make install does the 
    1.81 -   right things for your local machine (installing the appropriate 
    1.82 -   version of hotplug or udev scripts, for example), but make dist 
    1.83 -   includes all versions of those scripts, so that you can copy the dist 
    1.84 +   make install and make dist differ in that make install does the
    1.85 +   right things for your local machine (installing the appropriate
    1.86 +   version of hotplug or udev scripts, for example), but make dist
    1.87 +   includes all versions of those scripts, so that you can copy the dist
    1.88     directory to another machine and install from that distribution.
    1.89  
    1.90  5. To rebuild a kernel with a modified config:
    1.91 @@ -171,6 +171,6 @@ 5. To rebuild a kernel with a modified c
    1.92      # make linux-2.6-xen-install
    1.93  
    1.94     Depending on your config, you may need to use 'mkinitrd' to create
    1.95 -   an initial ram disk, just like a native system e.g. 
    1.96 +   an initial ram disk, just like a native system e.g.
    1.97      # depmod 2.6.16-xen
    1.98      # mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod initrd-2.6.16-xen.img 2.6.16-xen
     2.1 --- a/tools/xentrace/tbctl.c	Tue May 16 13:35:59 2006 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,26 +0,0 @@
     2.4 -#include <stdlib.h>
     2.5 -#include <stdio.h>
     2.6 -#include <errno.h>
     2.7 -#include <xenctrl.h>
     2.8 -
     2.9 -int main(int argc, char * argv[])
    2.10 -{
    2.11 -    int enable;
    2.12 -    int xc_handle = xc_interface_open();
    2.13 -    
    2.14 -    if (argc < 2) {
    2.15 -      printf("usage: %s [0|1]\n", argv[0]);
    2.16 -      exit(1);
    2.17 -    }
    2.18 -    enable = atoi(argv[1]);
    2.19 -
    2.20 -    if (xc_tbuf_enable(xc_handle, enable) != 0) {
    2.21 -        perror("Enable/Disable Hypercall failure");
    2.22 -        exit(1);
    2.23 -    }
    2.24 -    else
    2.25 -      printf("Tracing now %s\n", (enable ? "enabled" : "disabled"));
    2.26 -
    2.27 -    xc_interface_close(xc_handle);
    2.28 -    return 0;
    2.29 -}