Commit Graph
713 Commits
Author SHA1 Message Date
kaf24@scramble.cl.cam.ac.uk f953ebc4f2 bitkeeper revision 1.1159.17.24 (411bf61edgcR_nOyvkAutrxUxR2tRg)
Add close-on-exec to open fd's on /dev/mem and /dev/xen/evtchn in xend.
2004-08-12 22:58:38 +00:00
kaf24@scramble.cl.cam.ac.uk 4037eca6ae bitkeeper revision 1.1159.25.1 (411b92dbFatpuCFS9px_DggrIbxQsg)
Extra barriers in async shared-memory comms code.
2004-08-12 15:55:07 +00:00
iap10@labyrinth.cl.cam.ac.uk 8ec1bc1a78 bitkeeper revision 1.1159.17.14 (411b1b16kI8OhQTxCf1kbM8dV6LXcA)
prepare 2.6 blkfront for suspend/resume
2004-08-12 07:24:06 +00:00
iap10@labyrinth.cl.cam.ac.uk 2972bce6a6 bitkeeper revision 1.1159.17.13 (411b0b36peqhPJFT111OsxoPfmLexQ)
updates to xen-clone script : build linux 2.6
2004-08-12 06:16:22 +00:00
kaf24@scramble.cl.cam.ac.uk d985fae1b4 bitkeeper revision 1.1159.17.6 (41193a207z6kESTDa2SXhULAPY-Bmw)
Fix the broken build. Also avoid floating-point code in Xen.
2004-08-10 21:12:00 +00:00
kaf24@scramble.cl.cam.ac.uk 19d8529486 bitkeeper revision 1.1159.17.5 (4119385aTLA7Shj5_vrBcoAQ3-zimg)
Cset exclude: gm281@boulderdash.cl.cam.ac.uk|ChangeSet|20040810153437|54233
2004-08-10 21:04:26 +00:00
iap10@labyrinth.cl.cam.ac.uk 29ab24c974 bitkeeper revision 1.1159.17.1 (4118f0d483Vmdw5e5g0BuoQ37QULyg)
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-08-10 15:59:16 +00:00
gm281@boulderdash.cl.cam.ac.uk 92080adc56 bitkeeper revision 1.1159.16.2 (4118ed20n9s8eU8-4zEBAN9uVi9YWQ)
Fix to a broken build (previously not picked up by make). Prorer fix will follow soon.
2004-08-10 15:43:28 +00:00
gm281@boulderdash.cl.cam.ac.uk dc14d2650d bitkeeper revision 1.1159.16.1 (4118eb18njwywlAm0qNOsL9sSbNjjg)
Merge boulderdash.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno-unstable.bk
into boulderdash.cl.cam.ac.uk:/auto/anfs/scratch/boulderdash/gm281/xeno-clone/xeno.bk
2004-08-10 15:34:48 +00:00
gm281@boulderdash.cl.cam.ac.uk a80edc3e70 bitkeeper revision 1.1159.15.1 (4118eb0dXk4yJUHKqaxLdR-bj_e6Zg)
The weight of domains created with xm created can be specified with "weight=x" command line option, or put into the config file. Specific scheduler is responsible for handling this additional information. RRobin and Atropos ignore the argument.
2004-08-10 15:34:37 +00:00
mjw@wray-m-3.hpl.hp.com 488c30084e bitkeeper revision 1.1159.1.34 (4118d9b1ZXvgrP7sHLCZ6HCI8E4V0g)
Fix some restore problems.
2004-08-10 14:20:33 +00:00
xenbk@gandalf.hpl.hp.com a38cc7a883 bitkeeper revision 1.1159.1.33 (4118d52eOtuHiHU1zvAQ3fccBON6ng)
Merge http://xen.bkbits.net:8080/xeno-unstable.bk
into gandalf.hpl.hp.com:/var/bk/xeno-unstable.bk
2004-08-10 14:01:18 +00:00
iap10@labyrinth.cl.cam.ac.uk 43940acfca bitkeeper revision 1.1159.1.32 (4118d35c609YWhxt_3C-hWCNhXozxA)
migration integration with new xend
2004-08-10 13:53:32 +00:00
mjw@wray-m-3.hpl.hp.com 103f4e1670 bitkeeper revision 1.1159.14.4 (4118d2b68g453DSG6YDQBLmCyvKVgA)
Sundry fixes to domain restore.
2004-08-10 13:50:46 +00:00
mjw@wray-m-3.hpl.hp.com 46ef4b6ecd bitkeeper revision 1.1159.14.3 (4118cbcbViBc-_SwC7TL33vEzHCY7Q)
Don't build the domain when restoring.
2004-08-10 13:21:15 +00:00
mjw@wray-m-3.hpl.hp.com 4609d6a6f6 bitkeeper revision 1.1159.14.2 (4118cb0281sulMDs4loWPr772DRiNA)
Fix save/restore of the vm config and rebuilding a restored domain.
2004-08-10 13:17:54 +00:00
xenbk@gandalf.hpl.hp.com 1e160fdb1c bitkeeper revision 1.1159.14.1 (4118b580s6wv9f_TYlNpiSrvoYj-qQ)
Merge http://xen.bkbits.net:8080/xeno-unstable.bk
into gandalf.hpl.hp.com:/var/bk/xeno-unstable.bk
2004-08-10 11:46:08 +00:00
mjw@wray-m-3.hpl.hp.com 65b26b87a2 bitkeeper revision 1.1159.13.3 (4118a2b8Vq29DYYv3u6Iy7NHB25wRw)
Make the suspend callback for migrate/save wait until the domain
is suspended.
2004-08-10 10:26:00 +00:00
mjw@wray-m-3.hpl.hp.com 32f81b2eea bitkeeper revision 1.1159.13.2 (4118a05d8c-7rVahMVITdEqi_yjy1Q)
Modify domain events, add an event when a suspend completes.
2004-08-10 10:15:57 +00:00
mjw@wray-m-3.hpl.hp.com c9e3a237d7 bitkeeper revision 1.1159.13.1 (4118a004V4kwgoMR9dGS7kTWxK4rmg)
Fix restart problem caused by old info in domain object.
2004-08-10 10:14:28 +00:00
iap10@labyrinth.cl.cam.ac.uk 75c7e9b523 bitkeeper revision 1.1159.1.28 (41187b95qq9FYQ9PqtZM83wzpOUnlw)
cleanups
2004-08-10 07:39:01 +00:00
iap10@labyrinth.cl.cam.ac.uk 3e468e8ded bitkeeper revision 1.1159.12.2 (4117f3b8rwM8OBu0SxwoWkvUXsjLTQ)
add migration support to ngio frontend blk driver.
2004-08-09 21:59:20 +00:00
iap10@labyrinth.cl.cam.ac.uk 243a9ec343 bitkeeper revision 1.1159.1.24 (4117b6a1euBrYZVVvGdpODhTzq8iNA)
Fix migrate to cope with domains that are paused.
2004-08-09 17:38:41 +00:00
iap10@labyrinth.cl.cam.ac.uk 78bb261825 bitkeeper revision 1.1159.1.23 (41179ee4n9QXN7n4rAIyAzqiQEpN0Q)
Merge ssh://xenbk@gandalf.hpl.hp.com//var/bk/xeno-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
2004-08-09 15:57:24 +00:00
mjw@wray-m-3.hpl.hp.com 21e0d175ee bitkeeper revision 1.1159.6.6 (41179dabYIpxIUZuaPwVjF-Fu7boXA)
Fix restore to have correct arguments.
2004-08-09 15:52:11 +00:00
mjw@wray-m-3.hpl.hp.com 9b9aa8ef37 bitkeeper revision 1.1159.6.5 (41179cd0aGJI1_zvJCg05dqagSOrlw)
Fix problem with wrong domain name in vifctl down.
Add generic support to XendRoot to solve recursive
mutual import problem.
2004-08-09 15:48:32 +00:00
iap10@labyrinth.cl.cam.ac.uk 3c0166bc17 bitkeeper revision 1.1159.1.22 (4117984cSNOqKVTFV97zIpybL33vEA)
Merge ssh://xenbk@gandalf.hpl.hp.com//var/bk/xeno-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
2004-08-09 15:29:16 +00:00
mjw@wray-m-3.hpl.hp.com 693c7beb98 bitkeeper revision 1.1159.6.4 (41177393RXYTn_RK_wu6NpLesN04YA)
Raise an error when vbd grow fails.
2004-08-09 12:52:35 +00:00
kaf24@scramble.cl.cam.ac.uk 57f343458a bitkeeper revision 1.1159.1.19 (41176ec3W_DH9FPkB5dCwvX6Px3Ikg)
Fix the broken build.
2004-08-09 12:32:03 +00:00
mjw@wray-m-3.hpl.hp.com 7993995afc bitkeeper revision 1.1159.6.3 (41176e6a6b2iBgpt5G6vdnKJ6_grmw)
Fix error when save terminates.
2004-08-09 12:30:34 +00:00
mjw@wray-m-3.hpl.hp.com 754df6c6f4 bitkeeper revision 1.1159.6.2 (41176d3eHxHC1VGHGu53bIhNRwFGGg)
Keep domain list up-to-date on domain shutdown.
2004-08-09 12:25:34 +00:00
iap10@labyrinth.cl.cam.ac.uk bdb77ad595 bitkeeper revision 1.1159.7.1 (41174951klGy2QEbQWYmrGAtzPji9A)
Merge
2004-08-09 09:52:17 +00:00
mjw@wray-m-3.hpl.hp.com 3d3c4e1d63 bitkeeper revision 1.1159.6.1 (411748d7-DyfJk-MOXRVdFnSV7ZYdw)
Merge xenbk@gandalf:/var/bk/xeno-unstable.bk
into wray-m-3.hpl.hp.com:/home/mjw/repos-bk/xeno-unstable.bk
2004-08-09 09:50:15 +00:00
iap10@labyrinth.cl.cam.ac.uk 4284063463 bitkeeper revision 1.1108.57.1 (4117460ajav0OLcX9y8IQtXQMz0RvQ)
step 1 of fixing migration support after the interface changes
2004-08-09 09:38:18 +00:00
iap10@labyrinth.cl.cam.ac.uk d0aaf6018a bitkeeper revision 1.1159.1.8 (4114e84532jMbVgxayKe_J9XghOtWw)
Allow vbd device names to be used with and without /dev/ prefix
2004-08-07 14:33:41 +00:00
iap10@labyrinth.cl.cam.ac.uk bea911cf0d bitkeeper revision 1.1159.4.1 (4113d1b8oHof-8weGeQ3gNQFteLGEg)
David Becker writes:
This patch adds support for high memory to /proc/xen/memory_target,
and it restores the mem= linux boot parameter.  This is for 2.4.26 only.
I haven't looked at 2.6 yet.  (remmeber that CONFIG_HIGHMEM
is not on by default in the xen0 and xenU configs)
I have racks of 2g and 4g machines, hence my interest.

The 'mem=' param tells linux the maximum amount of memory it can use.
The feature originated for hosts where the normal mem detection mechanisms
failed.   These days its main use in stock linux is to artificially
constrain how much memory linux uses for testing low memory systems.

With this patch, mem= now means the max memory linux could ever use.
When a domain is created with less than that the mem= value, linux will
behave as though that 'missing' memory is 'allocated'.   To give the
domain more memory, first run setdomainmaxmem in Dom-0 to raise Xen's
limit, then write the new total to /proc/xen/memory_target in the
domain.   When mem= is not explicitly set, it defaults to the 
boottime size of the domain.
 dom-0# xm create name=dom-1 memory=100 extra='-b mem=2g'
 dom-0# setdomainmaxmem 1 2g
 dom-1# echo 2g > /proc/xen/memory_target
2004-08-06 18:45:12 +00:00
kaf24@scramble.cl.cam.ac.uk 61536d2615 bitkeeper revision 1.1159.2.1 (41139d17RLVEh5iKEyxO0hVWOtdS6Q)
Domain ids are 16 bits.
2004-08-06 15:00:39 +00:00
gm281@boulderdash.cl.cam.ac.uk 438b8fa221 bitkeeper revision 1.1153 (41126318o43x3YiPCk8UwYtIQ4XdtA)
Fixes to the warping mechanism in BVT
2004-08-05 16:40:56 +00:00
cl349@freefall.cl.cam.ac.uk 8ebe5dea2b bitkeeper revision 1.1149.2.1 (4112365bnjnfkDEbbfEWWDz7AIB6Hw)
Don't set bridge hello time (specifically not to 0) since Linux 2.6 bridge
code doesn't deal well with sethello == 0 (domain doesn't block and thus
consumes cycles constantly).
2004-08-05 13:30:03 +00:00
gm281@boulderdash.cl.cam.ac.uk 061160d30e bitkeeper revision 1.1133 (410fb6c8BCfflcDT6Pjhr8MK2MOc2A)
The initial implementation of the warping in BVT
2004-08-03 16:01:12 +00:00
iap10@labyrinth.cl.cam.ac.uk bf6e099423 bitkeeper revision 1.1108.33.36 (410ec3d23YQIo1sHR3jYLaaZu51ykg)
trivial change to remove reliance on /etc/init.d/functions
2004-08-02 22:44:34 +00:00
iap10@labyrinth.cl.cam.ac.uk 72ded1ca58 bitkeeper revision 1.1108.52.1 (410eb854DZhEQqBAsiFdxS10QzU2Sg)
Avoid putting ip= on linux command line unless the user actually wants an address set or is using kernel dhcp.
2004-08-02 21:55:32 +00:00
kaf24@scramble.cl.cam.ac.uk 87fdd59317 bitkeeper revision 1.1108.33.24 (410e17ceXCIuaFvQA3AD25FUTF_Ohw)
For clarity, all interface header files are in Xen's hypervisor-ifs
directory. This includes the I/O headers and the xend header.
2004-08-02 10:30:38 +00:00
iap10@labyrinth.cl.cam.ac.uk e3993769c0 bitkeeper revision 1.1108.45.2 (410c1b12fr5E-nBaA3zFwFnI4yp4yg)
Hack to work around Python 2.2's lack of gnu style getopt parsing.
2004-07-31 22:20:02 +00:00
iap10@labyrinth.cl.cam.ac.uk 972900768d bitkeeper revision 1.1108.45.1 (410c1a5ciBWG2JsmEjIJbaQp8U-jtg)
Avoid use of /sbin/sfdisk in determining blk dev size.
2004-07-31 22:17:00 +00:00
iap10@labyrinth.cl.cam.ac.uk 83bf229e04 bitkeeper revision 1.1108.33.13 (410a4f615sv1r0U6d481Qr5KYOtvpQ)
Merge ssh://xenbk@gandalf.hpl.hp.com//var/bk/xeno-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
2004-07-30 13:38:41 +00:00
mjw@wray-m-3.hpl.hp.com dda0d0e879 bitkeeper revision 1.1108.35.8 (410a4c09l7HPWH1kBbpNNv0UFUHvCA)
Add missing call for console disconnect.
2004-07-30 13:24:25 +00:00
mjw@wray-m-3.hpl.hp.com 8a90781bf8 bitkeeper revision 1.1108.35.7 (410a0b93obztTzgYAKS6IcEBh3xJcQ)
Use environment variables XEND and XEND_ROOT to set the location
of the xend server and its root path.
2004-07-30 08:49:23 +00:00
mjw@wray-m-3.hpl.hp.com 48434773af bitkeeper revision 1.1108.35.6 (41091d99KjjPC1MDTpjZgbI8NuFnog)
Fix mac formatting.
2004-07-29 15:54:01 +00:00
mjw@wray-m-3.hpl.hp.com 10040e30aa bitkeeper revision 1.1108.35.5 (41090ef2VknMjEjPGflC7vkB7aE0IQ)
Add commands to convert between domain names and ids.
2004-07-29 14:51:30 +00:00