Commit Graph
402 Commits
Author SHA1 Message Date
mjw@wray-m-3.hpl.hp.com 007d7b6e1e bitkeeper revision 1.1403 (4284c2edzLTGTr4gHmGzYsZMuetTRQ)
Switch to using unix-domain interface on xend instead
of http via libcurl.
Sundry other merges and fixes.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-05-13 15:08:29 +00:00
xenbk@gandalf.hpl.hp.com 5149cc539b bitkeeper revision 1.1400 (4284b9fcQX9z9IzwMeHwdHYRkEIjFA)
Merge
2005-05-13 14:30:20 +00:00
cl349@firebug.cl.cam.ac.uk 1ab02347d8 bitkeeper revision 1.1389.15.14 (428242a6WycHvjFblUGQbKtJd94NPg)
Many files:
  Merge interface changes from previous 'Split out context fetching into
  separate DOM0 op' and 'xen,tools: pincpu use vcpu and cpumap_t' checkins.
xc_linux_save.c:
  Undo incorrect change from previous patch.
xc.h, xc_domain.c:
  Cleanup whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-11 17:36:38 +00:00
xenbk@gandalf.hpl.hp.com 5d44c5a1f2 bitkeeper revision 1.1399 (42820c16ZkkGzrd1OssY0unvIvY5Cw)
Merge http://xen.bkbits.net:8080/xeno-unstable.bk
into gandalf.hpl.hp.com:/var/bk/xeno-unstable.bk
2005-05-11 13:43:50 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] b7c498208c bitkeeper revision 1.1389.15.10 (428202c9Vz9xfNsG-q-WtZpPrER7xQ)
[PATCH] xen,tools: pincpu use vcpu and cpumap_t

The following patch updates the dom0 pincpu operation to read the VCPU
value from the xend interface rather than hard-coding the exec_domain to
0.  This prevented pinning VCPUS other than 0 to a particular cpu.  The
pincpu cpu argument is replaced with cpumap, a u64 bitmap representing
which CPUs a VCPU can use.

I added the number of VCPUS to the main xm list output and also included
a new sub-option to xm list to display the VCPU to CPU mapping.  While
working on the pincpu code, I fixed an out-of-bounds indexing for the
pincpu operation that wasn't previously exposed since the
vcpu/exec_domain value was hard-coded to 0.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-11 13:04:09 +00:00
kaf24@firebug.cl.cam.ac.uk bb5ae6b5cc bitkeeper revision 1.1389.5.37 (427f9fd5lvofpMsmBQ2h16fsuXQH6Q)
Manual merge.
2005-05-09 17:37:25 +00:00
mjw@wray-m-3.hpl.hp.com cc5f6e3045 bitkeeper revision 1.1397 (4277741fdlZ9gO-8RTiQcqQmqkKEEw)
Fix import.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-05-03 12:52:47 +00:00
xenbk@gandalf.hpl.hp.com 34f6661b0a bitkeeper revision 1.1396 (4277318fhBrWTxIQcLWvjKyF4aX-_w)
Merge
2005-05-03 08:08:47 +00:00
kaf24@firebug.cl.cam.ac.uk[kaf24] f497950f3f bitkeeper revision 1.1389.1.18 (4273a203Crs6SOBhDcJcXdza1-0gNw)
dump-enable.patch
Dump guest core if enable-dump is set.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
2005-04-30 15:19:31 +00:00
kaf24@firebug.cl.cam.ac.uk[kaf24] b61e6cb4e9 bitkeeper revision 1.1389.1.16 (4273458eyxEjHSppjkQyDsXHHxOY9Q)
coredump.patch
Extend libxc and gdb server to coredump a domain.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
2005-04-30 08:45:02 +00:00
mjw@wray-m-3.hpl.hp.com 83a12f2ba6 bitkeeper revision 1.1327.2.15 (4270e4efrExxOueWy0PzsA_9yhB0tA)
Move blkif utility functions into xen.util.
Importing xen.xend.server.blkif from xm create caused
errors.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-28 13:28:15 +00:00
mjw@wray-m-3.hpl.hp.com 51a9f171a5 bitkeeper revision 1.1327.2.13 (4270d6c35WpxFmhdkREjmSvk82s-Bg)
Merge Jeremy's pygrub bootloader patch.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-28 12:27:47 +00:00
mjw@wray-m-3.hpl.hp.com b4ac7763be bitkeeper revision 1.1327.2.12 (4270a5f3EYQTq9cfFkGDYjjJ7ckjuw)
Fix problem with Python 2.4 caused by change in error behaviour
of dircache.listdir. In 2.4 it throws an error on non-existent
directories instead of returning an empty list.
See 'Porting to 2.4' in the Python release notes.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-28 08:59:31 +00:00
mjw@wray-m-3.hpl.hp.com 5ee95edd62 bitkeeper revision 1.1327.2.11 (426fb893OrpBVeRpaWJ0atIxlG4Hxw)
Add support for unix-domain sockets to consoles and the
event server.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-27 16:06:43 +00:00
mjw@wray-m-3.hpl.hp.com 21e79ab902 bitkeeper revision 1.1327.2.10 (426fa4e4eW-9e4FXXSNCILoSYO6KKA)
Add error handling so that disconnecting from a console
producing fast output doesn't cause an error loop.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-27 14:42:44 +00:00
mjw@wray-m-3.hpl.hp.com 084b3e366e bitkeeper revision 1.1327.2.9 (426f9bfcIjY9QAFCPqWBbFw35vclow)
Add support for unix-domain sockets on xend.
Remove some dead code.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-27 14:04:44 +00:00
mjw@wray-m-3.hpl.hp.com 890ea518d9 bitkeeper revision 1.1327.2.8 (426cead1A05puWeKCli1otyMkZ6B9A)
Refresh domain list periodically.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-25 13:04:17 +00:00
mjw@wray-m-3.hpl.hp.com 4ef819374f bitkeeper revision 1.1327.2.7 (42692f39Ootfn2QyViUck00eh0wT7Q)
Remove deferred and dead code.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-22 17:07:05 +00:00
mjw@wray-m-3.hpl.hp.com eae3cc0a1f bitkeeper revision 1.1327.2.6 (4269277eFXyepEq1XdwqGS1lcCxhhg)
Fix problem with netdevs not coming back on reboot.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-22 16:34:06 +00:00
mjw@wray-m-3.hpl.hp.com 790a97e56c bitkeeper revision 1.1327.2.5 (426921fa25ZaWjkBe-mPZImv-iXvmg)
Message unpacking fix.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-22 16:10:34 +00:00
mjw@wray-m-3.hpl.hp.com a2dd80a6ea bitkeeper revision 1.1327.2.4 (426918a34Af7gihN8mTkq-P3KrAZXg)
Remove twisted from save/migrate handling.
This needs to use threads, so add thread support for
http server requests.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-22 15:30:43 +00:00
mjw@wray-m-3.hpl.hp.com 1075f20bac bitkeeper revision 1.1327.2.3 (4267b4918M714ImdecocSvKqAkVj1A)
Add some locking to console handling.
Remove a dead file.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-21 14:11:29 +00:00
mjw@wray-m-3.hpl.hp.com 14a5b54eb0 bitkeeper revision 1.1327.2.2 (4267a9b3MhPpljnjQ5IbfLdzcW2K3w)
Remove twisted from the HTTP server and replace with a 
threaded server. Add classes to provide tcp and unix servers
using threads instead of twisted. Remove use of twisted from
the consoles, event server and HTTP resources

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-21 13:25:07 +00:00
iap10@freefall.cl.cam.ac.uk e631a47cf6 bitkeeper revision 1.1346.1.1 (42670505dNhgnJm5dQD81pCalXMZgw)
manual merge
2005-04-21 01:42:29 +00:00
mjw@wray-m-3.hpl.hp.com ebd2e8acfb bitkeeper revision 1.1327.2.1 (4266169fT9qqykPCJWENnvnqwf71kQ)
Refactor domain construction and device controllers to
remove use of twisted. Use threads to dispatch channel
input. Move device controllers into domains.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-20 08:45:19 +00:00
sd386@font.cl.cam.ac.uk 2208888f15 bitkeeper revision 1.1159.170.110 (42527636gInunc40rkIVZVCuDC-_OQ)
Merge
2005-04-05 11:27:50 +00:00
vh249@arcadians.cl.cam.ac.uk 39b25a53dc bitkeeper revision 1.1236.1.215 (42526b63vLzmU02tqgo2T5K1cqfpBQ)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/vh249/xen-unstable.bk
2005-04-05 10:41:39 +00:00
vh249@arcadians.cl.cam.ac.uk 90522d3b36 bitkeeper revision 1.1236.57.2 (4252646a-w2lxhow-zRG4FwNSoDk5A)
add support for memory suffix in user tools and in kernel

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-04-05 10:11:54 +00:00
kaf24@firebug.cl.cam.ac.uk 976f6fc92c bitkeeper revision 1.1236.1.209 (42517173PR-QieAWB-SNd4qnSxKmMQ)
Remove broken atropos and round-robin schedulers. Clean up the
scheduler plugin interface a little.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-04 16:55:15 +00:00
vh249@arcadians.cl.cam.ac.uk 4a0b5ba481 bitkeeper revision 1.1236.51.2 (424d4e45s3_LSUrubUDpgLTFNoQ2xw)
add support for refreshing vbds

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-04-01 13:36:05 +00:00
kaf24@firebug.cl.cam.ac.uk 7b7eedda27 bitkeeper revision 1.1236.1.173 (424bd85e5lo6-hlVKAhgf-Zu85iruw)
Clean up ctrl msg handling in Linux. Remove VBD_GROW/SHRINK -- a VBD
now maps onto a single complete major/minor that is specified at
VBD_CREATE time. Also improve blkdev request_queue unplugging in the
2.6 backend driver to promote better batching.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-31 11:00:46 +00:00
kaf24@firebug.cl.cam.ac.uk ee389d3f4d bitkeeper revision 1.1236.1.147 (42490b0352incZSDDiAEv28xZljTkw)
Merge
2005-03-29 08:00:03 +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
iap10@freefall.cl.cam.ac.uk 8dc1edbaf7 bitkeeper revision 1.1236.43.7 (4243f97eb4lvXCcsGyPLWnCdNiwFVg)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-03-25 11:43:58 +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
iap10@freefall.cl.cam.ac.uk e9d4be73ca bitkeeper revision 1.1236.43.6 (4243f3f3rPSrXq5qC_rXYAkeTrQ7dQ)
manual merge
2005-03-25 11:20:19 +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
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 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
iap10@tetris.cl.cam.ac.uk 1d9fba5615 bitkeeper revision 1.1236.28.3 (42345466qhL5SYA2jy18RZHvB-s1qg)
Merge tetris.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into tetris.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-03-13 14:55:34 +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
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 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