diff --git a/check-libvncserver.patch b/15059-check-libvncserver.patch similarity index 100% rename from check-libvncserver.patch rename to 15059-check-libvncserver.patch diff --git a/check-xenapi.patch b/15060-check-xenapi.patch similarity index 74% rename from check-xenapi.patch rename to 15060-check-xenapi.patch index 45b6ff9..0abd7e1 100644 --- a/check-xenapi.patch +++ b/15060-check-xenapi.patch @@ -1,7 +1,16 @@ -Index: 2007-04-18/tools/check/Makefile -=================================================================== ---- 2007-04-18.orig/tools/check/Makefile 2006-12-14 22:49:54.000000000 +0100 -+++ 2007-04-18/tools/check/Makefile 2007-04-24 16:32:39.000000000 +0200 + +# HG changeset patch +# User kfraser@localhost.localdomain +# Date 1179219794 -3600 +# Node ID e72e94d2987cfa20d3ac6b34972d0ce639efb1fa +# Parent e1d9d2884245461576631134db46dda67994989b +tools: check for curl-devel and libxml2-devel +when they are required for LIBXENAPI_BINDINGS. + +Signed-off-by: Jan Beulich + +--- a/tools/check/Makefile Tue May 15 10:01:14 2007 +0100 ++++ b/tools/check/Makefile Tue May 15 10:03:14 2007 +0100 @@ -7,7 +7,7 @@ all: build # Check this machine is OK for building on. .PHONY: build @@ -20,10 +29,8 @@ Index: 2007-04-18/tools/check/Makefile .PHONY: clean clean: -Index: 2007-04-18/tools/check/check_curl -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ 2007-04-18/tools/check/check_curl 2007-04-24 16:41:08.000000000 +0200 +--- /dev/null Thu Jan 01 00:00:00 1970 +0000 ++++ b/tools/check/check_curl Tue May 15 10:03:14 2007 +0100 @@ -0,0 +1,38 @@ +#!/bin/sh +# CHECK-BUILD CHECK-INSTALL @@ -63,10 +70,8 @@ Index: 2007-04-18/tools/check/check_curl +rm -f $tmpfile + +exit $RC -Index: 2007-04-18/tools/check/check_xml2 -=================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ 2007-04-18/tools/check/check_xml2 2007-04-24 16:41:16.000000000 +0200 +--- /dev/null Thu Jan 01 00:00:00 1970 +0000 ++++ b/tools/check/check_xml2 Tue May 15 10:03:14 2007 +0100 @@ -0,0 +1,38 @@ +#!/bin/sh +# CHECK-BUILD CHECK-INSTALL @@ -106,3 +111,4 @@ Index: 2007-04-18/tools/check/check_xml2 +rm -f $tmpfile + +exit $RC + diff --git a/kill-sh_mapcache.patch b/15061-kill-sh_mapcache.patch similarity index 100% rename from kill-sh_mapcache.patch rename to 15061-kill-sh_mapcache.patch diff --git a/man-page.diff b/15480-man-xm.patch similarity index 94% rename from man-page.diff rename to 15480-man-xm.patch index dc0dd1a..53fc1fa 100644 --- a/man-page.diff +++ b/15480-man-xm.patch @@ -1,7 +1,21 @@ -Index: xen-3.1-testing/docs/man/xm.pod.1 -=================================================================== ---- xen-3.1-testing.orig/docs/man/xm.pod.1 -+++ xen-3.1-testing/docs/man/xm.pod.1 + +# HG changeset patch +# User kfraser@localhost.localdomain +# Date 1183729502 -3600 +# Node ID daa07db3ca845c9b08415d19a4d888902abf8321 +# Parent d49e6a814d9a4cc8b136b599b77557920abd7921 +docs: update xm man page + +- Fixed description of "Mem" column in "xm list" output. +- Added a bit of text for the credit scheduler. +- Described the --force option to block-detach. +- Made formatting and spelling more consistent. +- etc... + +Signed-off-by: Charles Coffing + +--- a/docs/man/xm.pod.1 Fri Jul 06 14:43:51 2007 +0100 ++++ b/docs/man/xm.pod.1 Fri Jul 06 14:45:02 2007 +0100 @@ -4,7 +4,7 @@ xm - Xen management user interface =head1 SYNOPSIS @@ -11,17 +25,19 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 =head1 DESCRIPTION -@@ -13,46 +13,50 @@ domains. The program can be used to crea +@@ -13,46 +13,50 @@ domains. It can also be used to list cur domains. It can also be used to list current domains, enable or pin VCPUs, and attach or detach virtual block devices. -The basic structure of every xm command is almost always: -+The basic structure of every B command is almost always: - +- - xm [OPTIONS] -+=over 2 - +- -Where I is one of the sub commands listed below, I ++The basic structure of every B command is almost always: ++ ++=over 2 ++ +B I I [I] + +=back @@ -77,22 +93,24 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 have a traditional log in console this will look much like a normal text log in screen. -@@ -63,15 +67,15 @@ The attached console will perform much l +@@ -63,15 +67,15 @@ so running curses based interfaces over so running curses based interfaces over the console B. Vi tends to get very odd when using it over this interface. -=item B I<[-c]> I I<[name=value]>.. -+=item B [B<-c>] I [I=I].. - +- -The create sub command requires a configfile and can optional take a ++=item B [B<-c>] I [I=I].. ++ +The create sub command requires a config file and can optionally take a series of name value pairs that add to or override variables defined in the config file. See L for full details of that file format, and possible options used in either the configfile or -Name=Value combinations. -+I=I combinations. - +- -Configfile can either be an absolute path to a file, or a relative ++I=I combinations. ++ +I can either be an absolute path to a file, or a relative path to a file located in /etc/xen. @@ -214,7 +232,7 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 =item B I I -@@ -252,20 +258,20 @@ Set the domain's used memory using the b +@@ -252,20 +258,20 @@ operation requires cooperation from the operation requires cooperation from the domain operating system, there is no guarantee that it will succeed. @@ -224,10 +242,11 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 careful when using this command on running domains. -=item B I I I<[options]> -+=item B I I [I] - +- -Migrate a domain to another Host machine. B must be running on -other host machine, it must be running the same version of xen, it ++=item B I I [I] ++ +Migrate a domain to another host machine. Xend must be running on +other host machine, it must be running the same version of Xen, it must have the migration TCP port open and accepting connections from @@ -258,7 +277,7 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 Set maximum Mbs allowed for migrating the domain. This ensures that the network link is not saturated with migration traffic while -@@ -293,7 +299,7 @@ Pause a domain. When in a paused state +@@ -293,7 +299,7 @@ allocated resources such as memory, but allocated resources such as memory, but will not be eligible for scheduling by the Xen hypervisor. @@ -267,7 +286,7 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 Reboot a domain. This acts just as if the domain had the B command run from the console. The command returns as soon as it has -@@ -301,18 +307,18 @@ executed the reboot action, which may be +@@ -301,18 +307,18 @@ domain actually reboots. domain actually reboots. The behavior of what happens to a domain when it reboots is set by the @@ -280,12 +299,14 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 =over 4 -=item B<-a, --all> -+=item B<-a>, B<--all> - +- -Reboot all domains -+Reboot all domains. - +- -=item B<-w, --wait> ++=item B<-a>, B<--all> ++ ++Reboot all domains. ++ +=item B<-w>, B<--wait> Wait for reboot to complete before returning. This may take a while, @@ -299,7 +320,7 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 =item B I I -@@ -334,16 +340,16 @@ This is roughly equivalent to doing a hi +@@ -334,16 +340,16 @@ with all the same limitations. Open net with all the same limitations. Open network connections may be severed upon restore, as TCP timeouts may have expired. @@ -319,7 +340,7 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 created. B -@@ -386,7 +392,7 @@ Attempting to set the VCPUs to a number +@@ -386,7 +392,7 @@ configured VCPU count is an error. Tryi configured VCPU count is an error. Trying to set VCPUs to < 1 will be quietly ignored. @@ -355,7 +376,7 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 Clears Xen's message buffer. -@@ -431,8 +437,8 @@ Print information about the Xen host in +@@ -431,8 +437,8 @@ reporting a Xen bug, please provide this reporting a Xen bug, please provide this information as part of the bug report. @@ -366,7 +387,7 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 host : talon release : 2.6.12.6-xen0 -@@ -470,36 +476,36 @@ B +@@ -470,36 +476,36 @@ Not all fields will be explained here, b Not all fields will be explained here, but some of the less obvious ones deserve explanation: @@ -378,22 +399,26 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 field in /proc/cpuinfo on a normal Linux machine. -=item I -+=item B - +- -Available memory (in MB) not allocated to Xen, or any other Domains. -+Available memory (in MB) not allocated to Xen, or any other domains. - +- -=item I -+=item B - +- -The xen version, architecture. Architecture values can be one of: ++=item B ++ ++Available memory (in MB) not allocated to Xen, or any other domains. ++ ++=item B ++ +The Xen version and architecture. Architecture values can be one of: x86_32, x86_32p (i.e. PAE enabled), x86_64, ia64. -=item I -+=item B - +- -The xen mercurial changeset id. Very useful for determining exactly ++=item B ++ +The Xen mercurial changeset id. Very useful for determining exactly what version of code your Xen system was built from. @@ -412,7 +437,7 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 domains. Xentop is a curses interface, and reasonably self explanatory. -@@ -508,13 +514,41 @@ explanatory. +@@ -508,12 +514,40 @@ explanatory. =head1 SCHEDULER SUBCOMMANDS Xen ships with a number of domain schedulers, which can be set at boot @@ -424,7 +449,7 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 FIXME: we really need a scheduler expert to write up this section. =over 4 - ++ +=item B [ B<-d> I [ B<-w>[B<=>I] | B<-c>[B<=>I] ] ] + +Set credit scheduler parameters. The credit scheduler is a @@ -452,10 +477,9 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 +no upper cap. + +=back -+ + =item B I I I I I - Set Simple EDF (Earliest Deadline First) scheduler parameters. This @@ -546,7 +580,7 @@ Flag for allowing domain to run in extra =item I @@ -496,11 +520,17 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 =back -=item B I I -+=item B I I [B<--force>] - +- -Destroy a domain's virtual block device. devid B be the device -id given to the device by domain 0. You will need to run I to determine that number. +- +-FIXME: this is currently B. Even though a block device is +-removed from domU, it appears to still be allocated in the domain 0. +- +-=item B I<[-l|--long]> I ++=item B I I [B<--force>] ++ +Detach a domain's virtual block device. I may be the symbolic +name or the numeric device id given to the device by domain 0. You +will need to run B to determine that number. @@ -510,11 +540,7 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 +or is still using the device), the detach will fail. The B<--force> +parameter will forcefully detach the device, but may cause IO errors +in the domain. - --FIXME: this is currently B. Even though a block device is --removed from domU, it appears to still be allocated in the domain 0. -- --=item B I<[-l|--long]> I ++ +=item B [B<-l>|B<--long>] I List virtual block devices for a domain. The returned output is @@ -525,10 +551,11 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 -=item B I I<[script=scriptname]> I<[ip=ipaddr]> -I<[mac=macaddr]> I<[bridge=bridge-name]> I<[backend=bedomain-id]> +- +-Creates a new network device in the domain specified by domain-id. It +=item B I [BI] [BI] +[BI] [BI] [BI] - --Creates a new network device in the domain specified by domain-id. It ++ +Creates a new network device in the domain specified by I. It takes the following optional options: @@ -541,9 +568,10 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 Use the specified script name to bring up the network. Defaults to -the default setting in xend-config.sxp for I. -+the default setting in xend-config.sxp for B. - +- -=item I ++the default setting in xend-config.sxp for B. ++ +=item BI Passes the specified IP Address to the adapter on creation. @@ -563,14 +591,15 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 The name of the bridge to attach the vif to, in case you have more -than one. This defaults to -+than one. This defaults to xenbr0. - +- -=item I ++than one. This defaults to xenbr0. ++ +=item BI The backend domain id. By default this is domain 0. -@@ -705,17 +742,17 @@ I is the virtual interface device +@@ -705,17 +742,17 @@ FIXME: this is currently B. Net FIXME: this is currently B. Network devices aren't completely removed from domain 0. @@ -601,7 +630,7 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 List vnets. -@@ -762,7 +799,7 @@ subcommands described below. Currently, +@@ -762,7 +799,7 @@ interpret labels: interpret labels: (1) Simple Type Enforcement: Labels are interpreted to decide access @@ -634,32 +663,36 @@ Index: xen-3.1-testing/docs/man/xm.pod.1 is 'dom'. The labels are arranged in alphabetical order. -=item B I