Commit Graph
1037 Commits
Author SHA1 Message Date
cl349@firebug.cl.cam.ac.uk acbaea9bb9 bitkeeper revision 1.1159.258.159 (429c6342A2HJ4wUj0nM5MNauX7azZQ)
vnet-xend.txt, user.tex, README:
  Update the Linux kernel version number from 2.6.9 to 2.6 or 2.6.11
  in several places in documentation.
Original patch provided by Andrew Thompson <andrewkt@aktzero.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 13:14:42 +00:00
cl349@firebug.cl.cam.ac.uk f2070412f6 bitkeeper revision 1.1159.258.158 (429c2ed9fqwHGLXrjJlLr96kpvW_UA)
XendConsole.py:
  Remove unused code.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 09:31:05 +00:00
cl349@firebug.cl.cam.ac.uk 962e7da06c bitkeeper revision 1.1159.258.157 (429c276eHQwfuqCUJJBnQeDTzUz3lg)
XendRoot.py:
  XendRoot::logDebug wrongly set the message format to 'info', instead
  of 'debug'.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-31 08:59:26 +00:00
kaf24@firebug.cl.cam.ac.uk 342b92476c bitkeeper revision 1.1159.258.136 (428af5483Yn2FWcrPnTRD2GVmftlhQ)
Fallback behaviour of the network startup script is now same as it
always was: IP addresses of eth0 are transferred to the bridge device
but not deleted from eth0. This is needed for the 2.0-series tools,
which by default look only at eth0 to determine IP parameters for domU.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-18 07:56:56 +00:00
kaf24@firebug.cl.cam.ac.uk 974467723b bitkeeper revision 1.1159.258.135 (428a3218LRhrEVrFCYcKckXl2ziRCQ)
Backport of network script fix from unstable.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-17 18:04:08 +00:00
kaf24@firebug.cl.cam.ac.uk af97a9b045 bitkeeper revision 1.1159.283.1 (4288ce19qPIaLjPeI1_LphAJ6cDCJA)
Local netfront/netback emulation for domain0, to clean up and fix
Etherbridge setup.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-16 16:45:13 +00:00
iap10@freefall.cl.cam.ac.uk 81f16c9023 bitkeeper revision 1.1159.258.127 (4286dddb-5dYH1S3phGceqJNfCfQbg)
update xen-clone (nightly build script) to cope with trees with new kernel symlinks
2005-05-15 05:27:55 +00:00
cl349@firebug.cl.cam.ac.uk 34b55f35a7 bitkeeper revision 1.1159.281.1 (4284bb83DRFxFAWqa-zevESa69akFA)
sxpr_parser.c, sxpr_parser.h:
  Revert size of sxpr parser input buffer to original size and make
  buffer allocated dynamically and increasing in size on demand.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-13 14:36:51 +00:00
lists-xen@pimb.org[kaf24] c4d7a1af8e bitkeeper revision 1.1159.258.114 (427dcfb8HaNsKoCdNjOQCEM_vCEWTA)
[PATCH] [PATCH] Increase size of sxpr parser input buffer

Increase the size of the sxpr parser input buffer from 1024 characters, which
isn't long enough to hold larger domain configurations (xfrd transmits the
entire domain config sxpr as a single atom inside of another sxpr).

Signed-off-by: Jody Belka <knew (dash) xen (at) pimb (dot) org>
2005-05-08 08:37:12 +00:00
iap10@freefall.cl.cam.ac.uk d25f5a7f56 bitkeeper revision 1.1159.258.103 (42642c5djs1dzMOSs-vIJLlGCQyrMQ)
Allow xc_domain_info_t to be optional in xc_domain_getfullinfo
From: Kip Macy
Signed-off-by: ian@xensource.com
2005-04-18 21:53:33 +00:00
iap10@freefall.cl.cam.ac.uk 4d872314e5 bitkeeper revision 1.1159.258.102 (42642814jW88x6oBUhJL6cOEJiTYjA)
Add a check for the 'ip' iproute tools in the install script.
Suggested by Sam Johnston [samjie@gmail.com]
Signed-off-by: ian@xensource.com
2005-04-18 21:35:16 +00:00
iap10@freefall.cl.cam.ac.uk 85ba283513 bitkeeper revision 1.1159.258.100 (4264223aKtYgG3NrSKfbwM7nfkpGcg)
Fix curldebug function in xendomain.c of xfrd. Function takes argument
"size_t buf_num" and uses it as the field width to print, that has to be
an int. While size_t on 32 bit systems is 4bytes (or size of an int) it
is 8bytes on 64bit systems (not size of an int). So this function should
just use "int buf_num". This function is not used in the code anywhere.
This will fix compilation on x86-64.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
2005-04-18 21:10:18 +00:00
katzj@redhat.com[iap10] c9505fed46 bitkeeper revision 1.1159.258.97 (42603992S3sF-t0yBth7NEBevozVOg)
[PATCH] Make non-native python path handling a
> > Although I don't really agree with the installing of the
> > python bits to the non-native paths, I can see where it's
> > useful as long as the module ABI doesn't change if you're
> > trying to distribute binary tarballs.  But with the current
> > handling it adds module lookup costs for the native path case
> > (which would be the norm) as well as prevents using
> > PYTHONPATH to look to a different location for the modules.
> >
> > The attached patch changes things so that at first, the xen
> > module is attempted to be imported from the stock paths.  If
> > we get an ImportError exception, then it adds /usr/lib/python
> > to the end of the python path and imports again.
>
> Do you prefer this to just unconditionally addding /usr/lib/python to
> the end of the path rather than the front?

Slightly, but just because having /usr/lib/python in my sys.path is
ugly :-)  I can look over it, though... patch doing that attached

Signed-off-by: Jeremy Katz <katzj@redhat.com>

===== tools/misc/netfix 1.13 vs edited =====
2005-04-15 22:00:50 +00:00
katzj@redhat.com[iap10] 60332d49d6 bitkeeper revision 1.1159.258.95 (42602010v-eE8RbyDMcA8iwS-dRkcg)
[PATCH] [PATCH] Man page path

The FHS has said that manpages go in /usr/share/man instead of /usr/man
since FHS 2.0 which dates back to 1997 or so, if I remember correctly.
Having the makefiles drop things in the right place makes the packages a
little cleaner.

Signed-off-by: Jeremy Katz <katzj@redhat.com>

===== tools/xentrace/Makefile 1.24 vs edited =====
2005-04-15 20:12:00 +00:00
ccoffing@novell.com[iap10] e4c215974f bitkeeper revision 1.1159.258.90 (425a82f9SNVZLPiwpO07IDSTr_VE7g)
[PATCH]  stream fixes for migration

I've attached a patch for libxutil/libxc.  This fixes one of the hangs =
I've seen during migrations.  It applies against 2.0 and 2.0-testing.

Changes:
 * Encountering EOF or error when xfrd reads from stream could cause an =
infinite loop.
 * Cleaned up the closing of streams.
 * Fixed several memory leaks.

Signed-off-by: Charles Coffing <ccoffing@novell.com>
2005-04-11 14:00:25 +00:00
kaf24@firebug.cl.cam.ac.uk cb666ced1a bitkeeper revision 1.1159.258.80 (424baef1fEkcfSfQH4BQ1MHHtsEiYQ)
Fix memset arg ordering.
2005-03-31 08:04:01 +00:00
kaf24@firebug.cl.cam.ac.uk 2dc5f21f49 bitkeeper revision 1.1159.258.76 (42490c5b3SVISdc-fROkhmb0BdgCvA)
Use fwrite() to write variable string in xfrd, to make it 64-bit safe.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-29 08:05:47 +00:00
mwilli2@equilibrium.research ec90dc4bb9 bitkeeper revision 1.1159.276.1 (4248a7f9-4Jb7VaVyStfIWsk_XitsQ)
Make sysrq work.

Signed-off-by: <mark.williamson@cl.cam.ac.uk>
2005-03-29 00:57:29 +00:00
kaf24@firebug.cl.cam.ac.uk f9774e8f73 bitkeeper revision 1.1159.258.70 (4244a079wh98lZeg0t3eZdAEyBTNPQ)
Tools makefile cleanup and fix for parallel build.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-25 23:36:25 +00:00
iap10@freefall.cl.cam.ac.uk[iap10] 521752c0b7 bitkeeper revision 1.1159.258.67 (4243f8f4bOCvwTNPuva3gzEiuhWgSw)
fix to xend
2005-03-25 11:41:40 +00:00
mjw@wray-m-3.hpl.hp.com 241ca5086b bitkeeper revision 1.1159.258.65 (424331652VL7RiaHBn8P0uqDDLtLBA)
Merge xenbk@gandalf:/var/bk/xen-2.0-testing.bk
into wray-m-3.hpl.hp.com:/home/mjw/repos-bk/xen-2.0-testing.bk
2005-03-24 21:25:36 +00:00
xenbk@gandalf.hpl.hp.com aef1d1bbd7 bitkeeper revision 1.1159.274.1 (42433164m51bkJUX_X_oXhp9fyHXlA)
Merge http://xen.bkbits.net:8080/xen-2.0-testing.bk
into gandalf.hpl.hp.com:/var/bk/xen-2.0-testing.bk
2005-03-24 21:30:12 +00:00
mjw@wray-m-3.hpl.hp.com 3aca223127 bitkeeper revision 1.1159.258.64 (42433016pzi5kr8wggkPTZcHlxXCpg)
Back out changes to netif backend messaging to set vifname.
Try using 'ip link' instead.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-03-24 21:24:38 +00:00
kaf24@firebug.cl.cam.ac.uk 74f81dd1a5 bitkeeper revision 1.1159.272.9 (424131e1AxW6hgsgUY2M3meFO0k4MQ)
libxc reacts to memory allocation delay because memory is on the 
scrub list.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-23 09:07:45 +00:00
mjw@wray-m-3.hpl.hp.com b9aefb2dd7 bitkeeper revision 1.1159.258.63 (423ef73fgHxWB39GjIH7wq4Q4o6-3Q)
Change to choose a free vnc display based on netstat.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-03-21 16:33:03 +00:00
xenbk@gandalf.hpl.hp.com 223619f4f8 bitkeeper revision 1.1159.258.61 (423ab8ffoSYKwCMKpGSklR9lHSby6g)
Merge http://xen.bkbits.net:8080/xen-2.0-testing.bk
into gandalf.hpl.hp.com:/var/bk/xen-2.0-testing.bk
2005-03-18 11:18:23 +00:00
mjw@wray-m-3.hpl.hp.com 7b14405f61 bitkeeper revision 1.1159.269.8 (423ab2eapL4QIhT8q2gPBPlVaSKmZw)
Script and xdm config to connect vnc in a domain back to
a viewer running in domain-0.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-03-18 10:52:26 +00:00
mjw@wray-m-3.hpl.hp.com 4e8d6c72d0 bitkeeper revision 1.1159.269.7 (4239b07dqrgbq5nyeaRv54s7lw6AsA)
Add sxpr function for installing a new type.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-03-17 16:29:49 +00:00
mjw@wray-m-3.hpl.hp.com 717339dbb2 bitkeeper revision 1.1159.269.6 (4239b032OtoMBkr4L88BtgvDYgxbLg)
Add support in 'xm create' for spawning a vncviewer.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-03-17 16:28:34 +00:00
mjw@wray-m-3.hpl.hp.com afedb1e48f bitkeeper revision 1.1159.269.5 (42386371nvHctvk3SHgDUG4w3o9URw)
Add support for specifying the interface name to be used by a netif
backend driver instead of the default vifD.N.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-03-16 16:48:49 +00:00
mjw@wray-m-3.hpl.hp.com 421b18073a bitkeeper revision 1.1159.269.4 (4236cdc9eib4ejH25MkiyfkGp022dQ)
Add channel function to close an event channel and
 call when devices are destroyed.
    
 Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-03-15 11:58:01 +00:00
mjw@wray-m-3.hpl.hp.com 8d90977141 bitkeeper revision 1.1159.269.3 (4236cc98Jkx2LDbrsWrj59Z-UTR_jA)
Change default config to bind to localhost only.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-03-15 11:52:56 +00:00
iap10@tetris.cl.cam.ac.uk 979c0140ab bitkeeper revision 1.1159.258.54 (42345449eD0_m04QlYElhVoRN9Iyow)
Bug fix in recent xend checking
Signed-off-by: ian@xensource.com
2005-03-13 14:55:05 +00:00
iap10@freefall.cl.cam.ac.uk 2af36c51a2 bitkeeper revision 1.1159.258.51 (42332e7fgmGVTCY4Es7dEft7_Ne7MQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
2005-03-12 18:01:35 +00:00
kaf24@viper.(none) 322cee6129 bitkeeper revision 1.1159.270.4 (42330defA42oRGAfkwmQERgN45uyOg)
Python packages can be installed to the Python installation's 'native'
location, instead of generic /usr/lib/python, by specifying
XEN_PYTHON_NATIVE_INSTALL in the environment or on the make command line.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-12 15:42:39 +00:00
doogie@brainfood.com[kaf24] be7913c187 bitkeeper revision 1.1159.270.3 (42330ae8efsd9SdlhNX6EpksrtV6oQ)
[PATCH] add-build.patch

 Add build targets to all makefiles.  Debian does builds as non-root, so
 it's better to do as much as possible before requiring root privs.
Signed-off-by: Adam Heath <doogie@brainfood.com>
2005-03-12 15:29:44 +00:00
doogie@brainfood.com[kaf24] 61b59d9dd5 bitkeeper revision 1.1159.270.2 (42330a929cE0pKehTkalVAgu8SLwKQ)
[PATCH] non-xen-init-exit.patch

Name: non-xen-init-exit.patch
Description: exit if not running on a xen dom0 kernel.
 If /proc/xen/privcmd doesn't exist, then exit successfully.  This allows
 for dual-boot setups, and installing xen before rebooting into a real
 xen kernel.
Signed-off-by: Adam Heath <doogie@brainfood.com>
2005-03-12 15:28:18 +00:00
mjw@wray-m-3.hpl.hp.com b7df222032 bitkeeper revision 1.1159.269.2 (4231ceccPlcoLKWWixfu3trU9tb-_A)
Improve error reporting for save/restore/migrate.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-03-11 17:01:00 +00:00
iap10@freefall.cl.cam.ac.uk e77f3b1346 bitkeeper revision 1.1159.258.50 (4231b14a0Nqrojj7aAwM5Ge5I8cg9w)
Change defaults in /etc/xen/xend-config.sxp :
 * xend will now only listen on localhost for conenctions from 'xm'.
 * consoles are only available from localhost too

Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-03-11 14:55:06 +00:00
mjw@wray-m-3.hpl.hp.com 463ad03ce1 bitkeeper revision 1.1159.269.1 (42319894M6nLc3wwj0MrCHle52x6Cg)
Merge xenbk@gandalf:/var/bk/xen-2.0-testing.bk
into wray-m-3.hpl.hp.com:/home/mjw/repos-bk/xen-2.0-testing.bk
2005-03-11 13:09:40 +00:00
mjw@wray-m-3.hpl.hp.com ddc8c34b8f bitkeeper revision 1.1159.265.3 (42319571gIMQdofIDztktCfg053n-A)
Fix some errors in default error handling.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-03-11 12:56:17 +00:00
mjw@wray-m-3.hpl.hp.com fd4de8dfe3 bitkeeper revision 1.1159.265.2 (42319500DXIXjiTkjszNpliySomMvA)
Add support for setting the listen address for consoles
and the event port.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-03-11 12:54:24 +00:00
iap10@tetris.cl.cam.ac.uk 96839bbe7e bitkeeper revision 1.1159.258.38 (4230628bX3yukmWYtNDh925BckMoHQ)
Merge ssh://xenbk@gandalf.hpl.hp.com//var/bk/xen-2.0-testing.bk
into tetris.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
2005-03-10 15:06:51 +00:00
mjw@wray-m-3.hpl.hp.com 59f0cea86a bitkeeper revision 1.1159.265.1 (42305f54c1QGh-jqx__ZfFdzrPJWDA)
Make xend parent sleep a bit at start, so when it returns
xend is running.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-03-10 14:53:08 +00:00
iap10@freefall.cl.cam.ac.uk 15f6b230e3 bitkeeper revision 1.1159.258.36 (42305b3948mU75urrgzQftpV3eNPbg)
Tidy up ugly warning in debug builds from xc_linux_restore.
Signed-off-by: ian@xensource.com
2005-03-10 14:35:37 +00:00
iap10@freefall.cl.cam.ac.uk c3918e84f7 bitkeeper revision 1.1159.258.35 (42305966D0gCjlR6KGQJ4LZR2FIX3g)
Fix to xfrd stream handling which was messing up save/restore/migrate on some systems.
Signed-off-by: ian@xensource.com
2005-03-10 14:27:50 +00:00
cl349@firebug.cl.cam.ac.uk b819ef725e bitkeeper revision 1.1159.258.21 (4227b272juDzo6xMj-KE4nB4e0xsmA)
xmexample updates.
Signed-off-by: chris@xensource.com
2005-03-04 00:57:22 +00:00
iap10@tetris.cl.cam.ac.uk 60f2a76e4a bitkeeper revision 1.1159.258.20 (42277e15JmrB3LkX2vA4MklHkX1hQA)
Fix build
Signed-off-by: ian@xensource.com
2005-03-03 21:13:57 +00:00
rminnich@lanl.gov[iap10] 52da82dbd6 bitkeeper revision 1.1159.258.19 (42273652yPWGOWH6C8w45TOchk7Jog)
This patch enables argument passing to plan 9 domains, so that users can 
now have parameters for things like Venti etc.

Signed-off-by: ron minnich <rminnich@lanl.gov>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-03-03 16:07:46 +00:00
kaf24@scramble.cl.cam.ac.uk 126860c4ee bitkeeper revision 1.1159.258.17 (4224a8faTVrzHrdNP0aTwjJrfZ4vnw)
Fix another -Wall -Werror compile error.
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
2005-03-01 17:40:10 +00:00