Commit Graph
332 Commits
Author SHA1 Message Date
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
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