Commit Graph
354 Commits
Author SHA1 Message Date
kaf24@scramble.cl.cam.ac.uk 5f53c9cfb8 bitkeeper revision 1.1236.28.1 (42340a42zVMF1dHpLj0Rzok7P9t48Q)
Manual merge.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-13 09:39:14 +00:00
cl349@firebug.cl.cam.ac.uk b1520cbb5a bitkeeper revision 1.1236.25.10 (42335daeuY-j8gV61kHapguVRal9ig)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk-2.6.11
2005-03-12 21:22:54 +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
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
kaf24@firebug.cl.cam.ac.uk c05cf24716 bitkeeper revision 1.1236.1.75 (4230715amFhBlsGlZ_IAsONxYJw8Dw)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-03-10 16:10:02 +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
riel@redhat.com[kaf24] aa4b616c67 bitkeeper revision 1.1236.1.62 (422996dcaXWGIhR3ZzSlNz3XpvLF0A)
[PATCH] [PATCH] gcc4isms part 2

This completes the gcc4ism changes to the Xen tree.  All of
the changes in this patch are in the tools/ subdirectory and
are pretty simple.  Some of the changes are for overly strict
gcc4 warnings, but I guess it's still good to verify that the
variable really wasn't unused, or that the sign change is
really harmless.

I guess I really do like -Werror now...

Signed-off-by: Rik van Riel <riel@redhat.com>

 libxc/xc_linux_build.c      |    2 +-
 libxc/xc_plan9_build.c      |   24 ++++++++++++------------
 libxc/xc_vmx_build.c        |    2 +-
 python/xen/lowlevel/xu/xu.c |    2 +-
 xcs/xcs.c                   |    2 +-
 xfrd/lzi_stream.c           |    2 +-
 xfrd/marshal.c              |    4 ++--
 xfrd/xdr.c                  |    2 +-
 xfrd/xfrd.c                 |   12 ++++++------
 9 files changed, 26 insertions(+), 26 deletions(-)
2005-03-05 11:24:12 +00:00
akw27@arcadians.cl.cam.ac.uk 4b93b36dc6 bitkeeper revision 1.1236.1.53 (42277c41EuPccbqmVurI0fsfmSfYuA)
fix conflict.
2005-03-03 21:06:09 +00:00
akw27@arcadians.cl.cam.ac.uk c63b6d985b bitkeeper revision 1.1236.7.1 (42277b06gMBo3oqaq35om--uwNImNg)
Initial checkin of parallax code.
See README-PARALLAX for details.

Signed-off-by: andrew.warfield@cl.cam.ac.uk
2005-03-03 21:00:54 +00:00
kaf24@scramble.cl.cam.ac.uk 047fb79307 bitkeeper revision 1.1236.1.46 (4225fdb2Fsz5LfXWKyVON4u_POTHkQ)
Credit-based rate limiting in net backend. From Ross Mcilroy.
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
2005-03-02 17:53:54 +00:00
kaf24@scramble.cl.cam.ac.uk 072f03be95 bitkeeper revision 1.1236.1.44 (4224f156AyEV3oV5JinuYtfS9e_ITA)
Rationalise memory-barrier definitions in user-space tools.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-01 22:48:54 +00:00
akw27@arcadians.cl.cam.ac.uk 626a253ce5 bitkeeper revision 1.1236.1.29 (421facf0U_Bl4zERFH7SO_Vg0H8Ebg)
Move xcs to unix domain sockets.

signed-off-by: akw27@cl.cam.ac.uk
2005-02-25 22:55:44 +00:00
kaf24@scramble.cl.cam.ac.uk 841d10cf2c bitkeeper revision 1.1229 (42180985F67QALsnFjovJHWiIDEz_A)
Fix return-code checking in tools.
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-02-20 03:52:37 +00:00
iap10@labyrinth.cl.cam.ac.uk 3b66390a75 bitkeeper revision 1.1159.1.555 (42094892MsTPGiy_x_uFbwMVQuq4Qg)
Fix the synchronization issues between xend and the device model at 
startup time.

Initialize the shared page in the hypervisor. Otherwise, the hypervisor
might try to inject spurious interrupts into the guest due to
uninitialized data.

Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-08 23:17:38 +00:00
akw27@labyrinth.cl.cam.ac.uk 0bb3ebdb6c bitkeeper revision 1.1159.1.551 (42090342LHDFQZTluOIKtDxiXyfkHA)
Initial checkin of blktap user-land tools.  These are fairly experimental, 
but a few people have asked to use them.  This checkin also includes 
Christian's gnbd client library code.

Signed-off-by: andrew.warfield@cl.cam.ac.uk
2005-02-08 18:21:54 +00:00
iap10@labyrinth.cl.cam.ac.uk f4411a4540 bitkeeper revision 1.1159.212.122 (420813205N6xleek-CEt8_zMptvY9w)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-02-08 01:17:20 +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 992671e0ec bitkeeper revision 1.1159.212.113 (4207b492G2gu92Nd8QzJaaXA-ogT4g)
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-xenod/BK/xen-unstable.bk
2005-02-07 18:33:54 +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 4fb1a7d302 bitkeeper revision 1.1159.212.66 (42001b6f4kUEhmWXQmgg_vNH-AqiWQ)
Right now, the memory for the 1:1 physical mode page tables comes from the
VMX domain's memory. With this change, when the user asks for a domain with
M Megabytes of memory, we actually allocate M+N megabytes in xend, where
N is the memory for the page table pages.

This simplifies the code in the device models that maps guest memory (we
now map all of it) and the E820 map can also give the full M megabytes to
the guest.

Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-02 00:14:39 +00:00
iap10@labyrinth.cl.cam.ac.uk 12814f99e4 bitkeeper revision 1.1159.212.64 (42000361XrdUoEK_vD6RMga2eLmwZg)
Allow specification of backend vif MAC addresses. If a backend
MAC is not provided, generate one as before

Signed-off-by: Jody Belka <knew-xen@pimb.org>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-01 22:32:01 +00:00
iap10@labyrinth.cl.cam.ac.uk d4aa4577a8 bitkeeper revision 1.1159.212.63 (41fffd320J5fzfKolmEyIb6tg5-a_w)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-02-01 22:05:38 +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
cl349@arcadians.cl.cam.ac.uk 2ef6d5718f bitkeeper revision 1.1159.231.8 (41f92d4dBn-4k24hnQtAJIjhmWfRjQ)
Merge changes from 2.0-testing.

Signed-off-by: c@pin.lu
2005-01-27 18:05:01 +00:00
akw27@labyrinth.cl.cam.ac.uk e84843b9d5 bitkeeper revision 1.1159.231.7 (41f913d39TdyKRddqjGU3m60tTUoUQ)
Remove excessive debug messages from xend/xcs interface code.
2005-01-27 16:16:19 +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 affd79216c bitkeeper revision 1.1159.231.2 (41f8c846X6nmyCraD342rP9SirCaqg)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-01-27 10:53:58 +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 ad6b799253 bitkeeper revision 1.1159.212.41 (41f6787aKvcI0-k3FYgkk8w74QD5gg)
manual merge.
2005-01-25 16:48:58 +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@freefall.cl.cam.ac.uk 7a564e6a4c bitkeeper revision 1.1159.212.34 (41f5a289J4SAf6zaQUhGEBrQWQ14dA)
manual merge
2005-01-25 01:36:09 +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
mwilli2@equilibrium.research 1858ac4f9d bitkeeper revision 1.1159.212.23 (41ee5e8fnbA6nB8wOl_As73BmvhklQ)
Support for USB virtualisation.  Adds the USB frontend / backend, update build options,
make the control tools understand USB interfaces.

One extra file from vanilla Linux is imported (linux-2.4.28-xen-sparse/drivers/usb/hcd.c)
because small changes were required to make XenU domains build with a USB frontend.  This
will not be required for the revised host controller infrastructure in Linux 2.6.

To use this, set "usb = " a list of USB ports in the domain config file.  Ports are
specified as a path, e.g. '1' = the first USB port on the host, '1/2' is the second port
on the hub on the first host port, etc.

Should work for most mass storage and isochronous devices.  May work for some HID devices
but these are not as intelligent and may have trouble supporting virtualisation.
2005-01-19 13:20:15 +00:00
cl349@arcadians.cl.cam.ac.uk 6df77776ad bitkeeper revision 1.1159.217.20 (41ebdda5ZO9YBU_VHuSh0IwgcQe0Ng)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/cl349/xen-unstable.bk-merge
2005-01-17 15:45:41 +00:00
cl349@arcadians.cl.cam.ac.uk c4fea86999 bitkeeper revision 1.1159.222.1 (41ebdd9btvi-aV_bkwfCgKSenC9XbQ)
Add an optional parameter (vcpus) to the xc_linux_build function replacing
the getenv() previously used and removing the requirement of using maxcpus
kernel parameter to limit the number of virtual cpus a guest uses.  The value
can now be controlled in the domain configuration files.

The default value of 1 is set in XenDomainInfo.py but is overridden by
parsing the config value.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
2005-01-17 15:45:31 +00:00
iap10@labyrinth.cl.cam.ac.uk 75acdfad0f bitkeeper revision 1.1159.217.18 (41ea5633KLfjrmzpi1tzeYsbJqWJOw)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xen-unstable.bk
2005-01-16 11:55:31 +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 efee3e1abd bitkeeper revision 1.1159.217.14 (41e6620e1bqDGxYXJ_4L3rtRz9G5sQ)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-01-13 11:57: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 61618a0936 bitkeeper revision 1.1159.217.10 (41e4efd62HR6KHx5S8553JDf-xT3zg)
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-01-12 09:37:26 +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 179b35aad7 bitkeeper revision 1.1159.212.10 (41dde8b1uPUodrtnTKejSUrLg-fcoQ)
xend extensiosn for VMX guests
2005-01-07 01:41:05 +00:00
kaf24@scramble.cl.cam.ac.uk 8b313272dd bitkeeper revision 1.1159.1.525 (41d58ba8VgPwkfEiKrUXF8b7LLwQ5Q)
Andy's control-interface message switch -- first cut.
2004-12-31 17:26:00 +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