Commit Graph
321 Commits
Author SHA1 Message Date
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
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@labyrinth.cl.cam.ac.uk f5fedc454d bitkeeper revision 1.1159.223.78 (42081302-eWxmHBN6T8FdRJD5VvsOg)
This very simple patch is really just cosmetic.  It "fixes" xend so that
it doesn't report restart as: "WARNING (XendDomainInfo:1038) Unknown
config field restart" in the xend.log.  I'm not sure who should sign off
on this, but the patch is attached.

From: "B.G. Bruce" <bgb@nt-nv.com>
Signed-off-by: ian@xensource.com
2005-02-08 01:16:50 +00:00
iap10@freefall.cl.cam.ac.uk 6f6dcfb95e bitkeeper revision 1.1159.223.76 (4207b472nHz4nbC_OJgbSmfRVow8XQ)
Don't let xend throw away stderr...
2005-02-07 18:33:22 +00:00
iap10@labyrinth.cl.cam.ac.uk 2eb8f64d4a bitkeeper revision 1.1159.223.56 (41fffbb0baSUSOWVCJ_0NFmEtCmUkw)
Fix the device number calculation for /dev/hd* device names;
ide device numbering works differently to scsi

Signed-off-by: Jody Belka <knew-xen@pimb.org>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-01 21:59:12 +00:00
kaf24@scramble.cl.cam.ac.uk 157e1a5562 bitkeeper revision 1.1159.223.47 (41f9109fKznqwLcV_lTngHAhBvwOZw)
Minor domU net-backend fixes.
2005-01-27 16:02:39 +00:00
kaf24@scramble.cl.cam.ac.uk 2f34aafbb6 bitkeeper revision 1.1159.223.44 (41f8c832pMZZ7WmykH_gAUBQHtPF1A)
Allow target architecture to be specified by specifying ARCH variable to
root Makefile (e.g, make ARCH=x86_32).
2005-01-27 10:53:38 +00:00
kaf24@scramble.cl.cam.ac.uk 3279b48916 bitkeeper revision 1.1159.223.40 (41f676cbajLGqFeWFqajtJ3X4OkgoA)
Build system fixes.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-01-25 16:41:47 +00:00
iap10@labyrinth.cl.cam.ac.uk d2f5d53621 bitkeeper revision 1.1159.223.26 (41f2cdb6LNpheOtPoAKEUn-czlZFig)
Description: use DESTDIR correctly
Standard makefiles always attempt to install to the root(/).  Setting
DESTDIR is the normal way to install to an alternative location.
Setting prefix has the possibility of breaking programs, as the prefix
may have been embedded inside a compiled binary.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 22:03:34 +00:00
iap10@labyrinth.cl.cam.ac.uk 84a280c892 bitkeeper revision 1.1159.223.25 (41f2cb9aEKMZkZbvqBE0eXhpljlV4Q)
Description: fix path to python
There is no python2 in debian.  Instead, use python.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:54:34 +00:00
iap10@labyrinth.cl.cam.ac.uk 41df713e01 bitkeeper revision 1.1159.223.23 (41f2c9e33H5dJn6K7RN-o2UASMwI3Q)
Description: Use FHS-compatible paths

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:47:15 +00:00
iap10@labyrinth.cl.cam.ac.uk fc7758e894 bitkeeper revision 1.1159.170.96 (41e8fbeayXDKhR25_xBQP3hTDrVJbQ)
Symptom:
When using a udev-based dom0, if you try to create a domU with a virtual
sda device and you do not have a local scsi device xm create fails.

Fix:
When using udev, only the device nodes needed are made.  The follow
patch changes Xend to return a device number based on:

http://www.lanana.org/docs/device-list/devices.txt

For sd and hd devices if stat() fails.  It was tested against both 2.0.2
and 2.0.3.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-01-15 11:18:02 +00:00
kaf24@scramble.cl.cam.ac.uk e214e5c6c1 bitkeeper revision 1.1159.170.93 (41e661e138UbGRYHtgaE3FTrqTgzzw)
Add VIF-routing capability to xend. The default is still to bridge.
2005-01-13 11:56:17 +00:00
kaf24@scramble.cl.cam.ac.uk cf36fcf0e3 bitkeeper revision 1.1159.170.89 (41e4ef8aHmcX3lP2zVDZBpN59cSX6A)
Python packages always install to ${prefix}/us/lib/python/xen/...
2005-01-12 09:36:10 +00:00
iap10@labyrinth.cl.cam.ac.uk 5dc6acb5fd bitkeeper revision 1.1159.187.81 (41cc934bUot13IO0-1LsmhYl0sW9Zw)
Add plan9 builder support.
2004-12-24 22:08:11 +00:00
kaf24@scramble.cl.cam.ac.uk f35db3d964 bitkeeper revision 1.1159.187.78 (41c9d4768ZT219TwwhKCb8dfwHcdkA)
xencons fix.
2004-12-22 20:09:26 +00:00
kaf24@scramble.cl.cam.ac.uk 08b6b66579 bitkeeper revision 1.1159.187.67 (41bf7064JLmIpzjd7PLO18qfijLBrA)
Avoid backtraces from Python console client.
2004-12-14 22:59:48 +00:00
kaf24@scramble.cl.cam.ac.uk e044b31856 bitkeeper revision 1.1159.187.60 (41b899a4tjdjzfL7v1mQOH5gIHlqQQ)
Another sysrq fix...
2004-12-09 18:29:56 +00:00
kaf24@scramble.cl.cam.ac.uk bc05bbc8f7 bitkeeper revision 1.1159.187.58 (41b88ba7ZjuJcwYxAL5HR5J_1FXMYw)
sysrq hacks from Matt Bloch
2004-12-09 17:30:15 +00:00
kaf24@scramble.cl.cam.ac.uk aee8954955 bitkeeper revision 1.1159.187.57 (41b5eb65x_JxVnjR7uA3FzGZDy11Hw)
xend fixes.
2004-12-07 17:41:57 +00:00
cl349@arcadians.cl.cam.ac.uk c584b00571 bitkeeper revision 1.1159.194.4 (41a5e757kS3W0lQ0UXkviQYcgBr7Gg)
XendDomainInfo.py:
  Fix check for no configured block devices.
2004-11-25 14:08:23 +00:00
bren@anvil.research b6a7435a48 bitkeeper revision 1.1159.170.42 (419b69c7gX234yN4MLjxZjle-ovjcQ)
Fix my own mistake. Should pass the backend domain ID.
2004-11-17 15:09:59 +00:00
bren@anvil.research 3d95c17302 bitkeeper revision 1.1159.170.36 (419b409dgOm9WpCUrkZWaLcFuKDTIw)
Solve hang at net frontend initialization by necessarily passing domain ID to NetDev in xend.
This follows Andy's cset to support backends in unprivileged domains.
2004-11-17 12:14:21 +00:00
akw27@labyrinth.cl.cam.ac.uk 896fb4d9cc bitkeeper revision 1.1159.170.28 (4199f979RH9YDYvR9XUZksaNnSlnLQ)
Fixes to xend for backends in domains other than dom0.
2004-11-16 12:58:33 +00:00
iap10@tetris.cl.cam.ac.uk aae8f96153 bitkeeper revision 1.1159.1.365 (418a0a91qNKrNOnOWtCM1nF1-HmNrA)
change readline to _readline to keep Twisted happy,
2004-11-04 10:55:13 +00:00
iap10@labyrinth.cl.cam.ac.uk 8550730aff bitkeeper revision 1.1159.1.364 (418a057eM4RcTJveJTOXENObPg0_SQ)
Cset exclude: mwilli2@equilibrium.research|ChangeSet|20041103171613|48470
2004-11-04 10:33:34 +00:00
iap10@labyrinth.cl.cam.ac.uk 64815fdde7 bitkeeper revision 1.1159.1.363 (418a0575yNZLM5woi8ymt4nfB0T_xA)
Cset exclude: mwilli2@equilibrium.research|ChangeSet|20041104003258|47721
2004-11-04 10:33:25 +00:00
iap10@labyrinth.cl.cam.ac.uk f2fd7b7419 bitkeeper revision 1.1159.1.359 (41898114F_zAayDscoCC43HUnOIsPw)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
2004-11-04 01:08:36 +00:00
mwilli2@equilibrium.research 3f96a09036 bitkeeper revision 1.1159.1.358 (418978baFzv03HdTaa43BJsoKTl3dA)
Better fix for popen.  Also makes it easier to log stderr output
from popen'd commands, which we previously threw away.  For now,
I'm also throwing it away.
2004-11-04 00:32:58 +00:00
cl349@freefall.cl.cam.ac.uk 5693a9fd4b bitkeeper revision 1.1159.155.7 (41896362-2P6ibesMBXM0pV5gks0Bw)
Apply changes from Mike Wray:
- Get domain creation errors returned to the caller.
- Add logging for domain create failures.
2004-11-03 23:01:54 +00:00
cl349@freefall.cl.cam.ac.uk 983ac8ad41 bitkeeper revision 1.1159.155.6 (418960fcc8HEe_ZDfftWd3gpkqGjnw)
Cleanup code to reconnect domain control channel after xend restart.
Based on code by Mike Wray.
2004-11-03 22:51:40 +00:00
mwilli2@equilibrium.research 6ab8abb18d bitkeeper revision 1.1159.154.1 (4189125da-JXVx56I2Sl4SQmQFvGcA)
Fix for os.popen problems on some systems.  Not pretty.
2004-11-03 17:16:13 +00:00
kaf24@freefall.cl.cam.ac.uk 58f3afdd98 bitkeeper revision 1.1159.1.332 (41874e954CLIDA2J3phVFD2RnzVTpA)
Clean up public XenLinux header files. Now accessible from userspace as
#include <xen/linux...>
Got rid of the linux-xen-sparse symlink as it's no longer needed.
2004-11-02 09:08:37 +00:00
mwilli2@equilibrium.research c22b0ab804 bitkeeper revision 1.1159.1.329 (4186e250v4q4bACc3tLT1SAh95SQxw)
A coven of new wizards for Xensv (please test).  Some of this might
need refactoring but it should make the web interface more useful.

also: misc version updates, some extra docs stuff.
2004-11-02 01:26:40 +00:00
mwilli2@equilibrium.research a8815ae95b bitkeeper revision 1.1159.148.1 (41865b23MSxWQXEIk2apsTy8V4Nhcw)
Tweaks.
2004-11-01 15:49:55 +00:00
mwilli2@pug.(none) daf01d76f7 bitkeeper revision 1.1159.1.317 (41858a05X_g4Uut3LMGwGYbviy2MVg)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into pug.(none):/home/irchomes/mwilli2/xeno-docs.bk
2004-11-01 00:57:41 +00:00
mwilli2@pug.(none) 8d6c8dcaa9 bitkeeper revision 1.1159.145.1 (418589ecOlV-GVwffq5GiB8-Ew2Ikw)
More tutorial material on specific xm commands.
Needs more work after I've slept ;-)
2004-11-01 00:57:16 +00:00
mwilli2@anvil.research 70912d6cea bitkeeper revision 1.1159.1.316 (418580d5gYF87eBU_ebP1s7cMleu3g)
Merge ssh://srg//auto/groups/xeno/BK/xeno.bk
into anvil.research:/home/irchomes/mwilli2/xen-dmesg-clear.bk
2004-11-01 00:18:29 +00:00
mwilli2@anvil.research b5d713886d bitkeeper revision 1.1159.1.315 (41857fdeXcTRTZARibSHQW4l1prQyw)
Minor tweaks to xm dmesg.
2004-11-01 00:14:22 +00:00
kaf24@freefall.cl.cam.ac.uk 908871cf62 bitkeeper revision 1.1159.142.4 (4184b6d4rc3Jd2irJimPyupm4TO06A)
Rename Xen public interfaces.
 1. hypervisor-if.h is now xen.h
 2. hypervisor-ifs/ directory is now:
     <include/public/...> in Xen
     <asm/xen-public/...> in Linux
     <xen/...> in user space
2004-10-31 09:56:36 +00:00
mark@maw48.kings.cam.ac.uk 4f4f7d0265 bitkeeper revision 1.1159.1.314 (418442e0ulgOgW7-GQoSm-dOij6jwg)
Add dmesg clear op.
2004-10-31 01:41:52 +00:00
cl349@freefall.cl.cam.ac.uk d56277d652 bitkeeper revision 1.1159.1.305 (41821c04Hgz7FcHvApbz2HGtGaBtjA)
blkif.py:
  Distinguish between /dev/hda1 and /dev/hda11 when processing mount output.
2004-10-29 10:31:32 +00:00
cl349@freefall.cl.cam.ac.uk 13d3a566ac bitkeeper revision 1.1159.1.301 (41817fb7qo-OpONURmWllN-zVtSETA)
Add checks to prevent unsafe sharing of block devices between domains.
Can be overridden by adding ! to the devices mode.
2004-10-28 23:24:39 +00:00
cl349@freefall.cl.cam.ac.uk 9cca9d355b bitkeeper revision 1.1159.1.293 (4180123d6fy9CmhZFhA2dxg-C2tnig)
create.py:
  Set the name of the vm to the config file's basename if no name is
  specified in the config file or on the commandline.
opts.py:
  Handle trailing getopt arguments correctly.
2004-10-27 21:25:17 +00:00
cl349@freefall.cl.cam.ac.uk eb7ab5175a bitkeeper revision 1.1159.1.292 (41800989G4HjOPTJHRAf8UYug6chUA)
Parse bare words as config files making the -f before a config filename
optional.
Make parsing intermingled ``getopt'' and ``var=val'' options sane and
add support for a default option handler for bare words.
2004-10-27 20:48:09 +00:00
cl349@freefall.cl.cam.ac.uk e5901452e9 bitkeeper revision 1.1159.135.1 (417fd3b8e-uijqG_Stg0EouCeWPftA)
Add network bandwidth adaptive rate limiting to migration and
timestamped info messages.
2004-10-27 16:58:32 +00:00
cl349@freefall.cl.cam.ac.uk 2d6e60f320 bitkeeper revision 1.1159.1.265 (41796a46qnHwXIMDGBF85CbCyNp6Ng)
Remove last reboot, last_reboot, lastboot and rebooted.
2004-10-22 20:15:02 +00:00
cl349@freefall.cl.cam.ac.uk acaff99a9f bitkeeper revision 1.1159.1.264 (417963deTKJzOFoPmj0ZA8TSc7OtRQ)
Fix domain restart.
2004-10-22 19:47:42 +00:00
cl349@freefall.cl.cam.ac.uk 01b09086c9 bitkeeper revision 1.1159.1.263 (41794718665LsSG3Fbsy6vsHfoGMOA)
Use updated evtchn interface to allow console reconnect after xend restart.
2004-10-22 17:44:56 +00:00