Commit Graph
5470 Commits
Author SHA1 Message Date
iap10@tetris.cl.cam.ac.uk 227aeb4d79 bitkeeper revision 1.1717 (42b3442b7kXKhXN5lvR9spIGT5LsYQ)
When xend starts, it fires off xcs.  If you're running on a slow
machine its possible that xcs started but xend didnt wait long 
enough to notice.  The attached patch loops several times while 
waiting for xcs to come up.  It seems to be working here while the 
original is not (slow machine here).

From: Tim Newsham [newsham@lava.net]
Signed-off-by: ian@xensource.com
2005-06-17 21:44:11 +00:00
iap10@freefall.cl.cam.ac.uk 86d6165ed3 bitkeeper revision 1.1716 (42b336f8VKVQeJVq9gIppvvdYPrMmw)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-06-17 20:47:52 +00:00
cl349@firebug.cl.cam.ac.uk 6d76d5803f bitkeeper revision 1.1713.3.14 (42b31404a5lBMKNKYzOsHXWQ0k_d-Q)
xsnode.py:
  Updated watches/event code from Mike Wray.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 18:18:44 +00:00
cl349@firebug.cl.cam.ac.uk b00fe9d709 bitkeeper revision 1.1713.3.13 (42b30f66_kcj5tkDzz9DSBmqEbyHrQ)
xs.c:
  Update comment.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 17:59:02 +00:00
cl349@firebug.cl.cam.ac.uk 996ee15db0 bitkeeper revision 1.1713.3.12 (42b30f09wgYSRV9tHZUjq2JpreIozQ)
xs.c:
  Fix some oversights in watch/token code.
  Cleanup whitespace.
  Move method documentation next to method definition.
  Reorder functions in file.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 17:57:29 +00:00
cl349@firebug.cl.cam.ac.uk 21f4c1e5b9 bitkeeper revision 1.1713.3.11 (42b30a02txpfqH2-OnZmhyrJWqPgHQ)
xs.c:
  Add copyright notice.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 17:36:02 +00:00
cl349@firebug.cl.cam.ac.uk 8994c2f2ef bitkeeper revision 1.1713.3.10 (42b306faXfFxqDZahYvvQJPQeaDm1A)
netif.py:
  Add mtu config option for network interfaces.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 17:23:06 +00:00
cl349@firebug.cl.cam.ac.uk 53f499bc57 bitkeeper revision 1.1713.3.9 (42b306d0pFeN318FP89TE8LRrhROMQ)
xsobj.py:
  Cleanup interface to DB.
  Updated watches/event code.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 17:22:24 +00:00
cl349@firebug.cl.cam.ac.uk 936d91fbba bitkeeper revision 1.1713.3.8 (42b2f91bG45uUFWHhUaUha3e1OAxJQ)
xsnode.py:
  Updated watches/event code from Mike Wray.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 16:23:55 +00:00
cl349@firebug.cl.cam.ac.uk c7fcce5589 bitkeeper revision 1.1713.3.7 (42b2eca9N1e5S0oGdW8OeKAkL9oDOQ)
netif.py, blkif.py:
  Add exportToDB functions to save evtchn port.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 15:30:49 +00:00
cl349@firebug.cl.cam.ac.uk 99a2107ffa bitkeeper revision 1.1713.3.6 (42b2dc47kgG53fAZb70R3lHX96n7dw)
xsobj.py:
  Handle attribute lookups for non-existing attributes.
  Use setAttr consistently.
  Fix access to data in convertFromDB.
console.py:
  Cleanup whitespace.
channel.py:
  Cleanup saveToDB.
blkif.py:
  Save dev_handle in DB.
image.py:
  Cleanup exportToDB.
XendDomainInfo.py:
  Cleanup {save,export}toDB use.
  Cleanup whitespace.
  Change id type to be int.
  Output store_mfn in sxpr.
  Use id variable name consistently for domain id's.
  Add eventChannel comment.
  On restore, the uuid must be known.
Signed-off-by: Mike Wray <mike.wray@hp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 14:20:55 +00:00
cl349@firebug.cl.cam.ac.uk 4ddc54b2db bitkeeper revision 1.1713.3.5 (42b2a4e2r6SNlC_nq2hAkXEQjEFAmA)
Many files:
  - watch now takes a token, returned when reading watch
  - More tests
  - Fix domain shared page communication (flush output)
  - Add "home" path for domains
  - More permissions checks in various functions
  - Simplify watch acknowledgement code and fix occasional bug
xs_watch_stress.c, 12readonly.sh, 11domain-watch.sh, 10domain-homedir.sh:
  new file
xs_stress.c, xs_lib.h, xs_lib.c:
  Cleanup whitespace.
ignore:
  Add tools/xenstore/xs_watch_stress
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 10:24:34 +00:00
cl349@firebug.cl.cam.ac.uk c364cd9e1a bitkeeper revision 1.1713.3.4 (42b29eb6XRlJtKSkJ3VkG8PI0Dl4sg)
ignore:
  Add tools/xenstore/xs_dom0_test
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 09:58:14 +00:00
cl349@firebug.cl.cam.ac.uk 6e1ff5f262 bitkeeper revision 1.1713.3.3 (42b2995e93GNUwPpV6yP21Fl3iIRRQ)
Makefile:
  Add xs_dom0_test program to test IOCTL_PRIVCMD_INITDOMAIN_STORE.
xs_dom0_test.c:
  new file
From: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 09:35:26 +00:00
cl349@firebug.cl.cam.ac.uk b68bddb480 bitkeeper revision 1.1713.3.2 (42b296adTFf-i3SL6NuYF5MX4ai91Q)
Makefile:
  Build libxenstore-pic.a.
setup.py:
  Link with libxenstore-pic.a.
Makefile:
  Build libxc-pic.a.
  Build xenstore once is enough.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 09:23:57 +00:00
cl349@firebug.cl.cam.ac.uk 128fb33d1b bitkeeper revision 1.1713.3.1 (42b28e04xelbNlMIz5vWQQ5_M71w0A)
privcmd.h, privcmd.c:
  Add IOCTL_PRIVCMD_INITDOMAIN_STORE to setup dom0 xenstore page
  and event channel.
From: Rusty Russell <rusty@rustcorp.com.au>                                     
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-06-17 08:47:00 +00:00
sos22@douglas.cl.cam.ac.uk e7399d6ff4 bitkeeper revision 1.1713.1.13 (42b16610ojQcHPRC6Ao_1CKXClza9A)
Slightly disgusting hack to avoid using lots of lock instructions on a uniprocessor
machine just because we happened to compile with CONFIG_SMP.  Essentially, we
make a big table of all of the instruction sequences which differ in ``easy''
ways between UP and SMP kernels, and then select which one to use at run time.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
2005-06-16 11:44:16 +00:00
kaf24@firebug.cl.cam.ac.uk 7752c1a036 bitkeeper revision 1.1713.1.12 (42b0da31QIvTtfE2iHo4yER4A1GFIw)
serial.c:
  Fix serial_getc locking.
2005-06-16 01:47:29 +00:00
ach61@arcadians.cl.cam.ac.uk c39f4a5931 bitkeeper revision 1.1713.1.11 (42b03e2dFl47vRNjIHPpu-GWrag_zA)
remove obsolete debugger documentation
2005-06-15 14:41:49 +00:00
ach61@arcadians.cl.cam.ac.uk f987bb1035 bitkeeper revision 1.1713.1.10 (42b03d19TAy64Sdjkm7M7nVoGNwCVw)
readme for pdb 0.3
2005-06-15 14:37:13 +00:00
chrisw@osdl.org[kaf24] 972a32cf66 bitkeeper revision 1.1713.1.9 (42af306adOSGlJaEmolMoERc4oAXYg)
[PATCH] x86_64 entry.S cleanup - take 3

This patch cleans up x86_64 entry.S.  Namely, it updates the Xen relevant
macros to be the simpler version that's found in i386.  This means that:

 - XEN_[UN]BLOCK_EVENTS interface now takes care of dealing with
   SMP issues and is no longer conditionally defined
 - XEN_LOCKED_[UN]BLOCK_EVENTS is identical in both cases (SMP and UP)
   and no longer needs to be conditionally defined
 - XEN_[UN]LOCK_VPCU_INFO_SMP is dropped in favor of XEN_GET/PUT_VCPU_INFO

This cleans up the code, minimizes the differences with i386 code, and
lays the groundwork for SMP support (the real reason I did this ;-).
It's booting, executing syscalls, taking interrupts, etc (it's what I'm
using to send this e-mail).

Signed-off-by: Chris Wright <chrisw@osdl.org>

===== linux-2.6.11-xen-sparse/arch/xen/x86_64/kernel/entry.S 1.10 vs edited =====
2005-06-14 19:30:50 +00:00
arun.sharma@intel.com[kaf24] 0e6cf5a2af bitkeeper revision 1.1713.1.8 (42aed659DzIwFCeaK8Cxa8ZpzbHR-Q)
[PATCH] 64-session-id.patch

session_id is an opaque pointer, so should be wider on 64 bit platforms.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-14 13:06:33 +00:00
chrisw@osdl.org[kaf24] 2d0fe9c80f bitkeeper revision 1.1713.1.7 (42ae0dd6jIaFvKcbyu8YLCgOrZScdg)
[PATCH] [PATCH] fix x86_64 initrd support

* Chris Wright (chrisw@osdl.org) wrote:

Ugh, that one had some tab damage, here's the proper patch.
-chris
2005-06-13 22:51:02 +00:00
arun.sharma@intel.com[kaf24] 264c8b7aac bitkeeper revision 1.1713.1.6 (42ae0d7cI1fdGe88s6RyEx8d0oy2wg)
[PATCH] x64-vmxassist-fix2.patch

Fix 64 bit build. Tested the binary built on a 64 bit platform on a 32 bit platform.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-13 22:49:32 +00:00
kaf24@firebug.cl.cam.ac.uk 16e23b02c2 bitkeeper revision 1.1713.1.5 (42ae0d44bPpuSBR0o475OuEOeDlNPg)
Fix xs Python module for Python <2.3.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-13 22:48:36 +00:00
vh249@arcadians.cl.cam.ac.uk 4def5ac864 bitkeeper revision 1.1713.1.4 (42ada8c7SOk12pe5FJtQjpPwNus87g)
fix x86-64 compilation with CONFIG_SMP

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-06-13 15:39:51 +00:00
ach61@arcadians.cl.cam.ac.uk 571c447f7e bitkeeper revision 1.1713.1.3 (42ad95fdAjhhuDM4A-oDzz_3fc_elA)
export evtchn irq symbols
2005-06-13 14:19:41 +00:00
iap10@freefall.cl.cam.ac.uk df5e6a17c3 bitkeeper revision 1.1715 (42ad87c2-sJjiHBUqeN9efUJT_3kSQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-06-13 13:18:58 +00:00
iap10@freefall.cl.cam.ac.uk aebe1ba48e bitkeeper revision 1.1713.1.2 (42ad8793XA-gObRPsPuWlI4gxZ7j5Q)
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-06-13 13:18:11 +00:00
iap10@freefall.cl.cam.ac.uk ad25d356d1 bitkeeper revision 1.1159.258.167 (42ad874eIWwyPd8tmJO5tkGQ2JoYXQ)
Upgrade to linux patch 2.6.11.12
Signed-off-by: ian@xensource.com
2005-06-13 13:17:02 +00:00
mafetter@fleming.research 056548d9bc bitkeeper revision 1.1713.1.1 (42ad6c58vwWhK1Og54nBpformSdpBg)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen-unstable.bk
2005-06-13 11:22:00 +00:00
mafetter@fleming.research 75fa2c58b2 bitkeeper revision 1.1665.5.1 (42ad6c12E1ON5w6kM0LoahANTeoDXw)
light-weight shadow mode bug fix.
2005-06-13 11:20:50 +00:00
arun.sharma@intel.com[iap10] 74bb5fc927 bitkeeper revision 1.1714 (42aa3a9a496MHCAuDASFOLRgBsKcZQ)
[PATCH] [PATCH] vmx-device-models-py.patch

Start device models for VMX domains. I'm not sure why the event channel port number is off by 1.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-11 01:12:58 +00:00
arun.sharma@intel.com[iap10] b8eed10db8 bitkeeper revision 1.1713 (42aa3a20ChQzxgtayeznwUqIP82hng)
[PATCH] x64-vmxassist-fix.patch

Fix 64 bit build.

Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-11 01:10:56 +00:00
arun.sharma@intel.com[kaf24] 221fb773ee bitkeeper revision 1.1712 (42a9e462KdLcahjgT2sxM21td5eB7Q)
[PATCH] fix-trace-y.patch

Fix trace=y builds.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-10 19:05:06 +00:00
arun.sharma@intel.com[kaf24] 4a9ea6b2cf bitkeeper revision 1.1711 (42a9e457jQGBsoAWKrbJlmIKRwGd3w)
[PATCH] xmexample-vmxassist.patch

Update VMX config for vmxassist.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-06-10 19:04:55 +00:00
kaf24@firebug.cl.cam.ac.uk 6d5a3fb93a bitkeeper revision 1.1709 (42a9e368xTRiv5eo1mo6-1ldR6lfPg)
added tag ia64-stable
2005-06-10 19:00:56 +00:00
kaf24@firebug.cl.cam.ac.uk 2a1cfa9bed bitkeeper revision 1.1710 (42a9cf67UYP4Ao1KcX2E9wd6g877MA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xeno-unstable-ia64.bk
2005-06-10 17:35:35 +00:00
kaf24@firebug.cl.cam.ac.uk e00851eb4a bitkeeper revision 1.1705.1.17 (42a9c29fxaDTWROFphY2UjU8IBagWw)
Fix NULL-handler check when propagating faults to guest kernels.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-10 16:41:03 +00:00
kaf24@firebug.cl.cam.ac.uk 984371260e bitkeeper revision 1.1705.1.16 (42a9bd07XRRfLC09WWyRiQyCeXgWTQ)
Manual merge.
2005-06-10 16:17:11 +00:00
kaf24@firebug.cl.cam.ac.uk 6a3e7b2035 bitkeeper revision 1.1159.258.166 (42a9bca7SPmMRozAfET0WOMKS0VQZA)
Fix and simplify the seg_fixup code. It only needs to handle 
instructions with GS override.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-10 16:15:35 +00:00
djm@sportsman.spdomain efc78c0bb3 bitkeeper revision 1.1709 (42a9b593OJTAVRgFv42tPiGL567QZQ)
Adapt to recent changes in non-VTI Xen/ia64
2005-06-10 15:45:23 +00:00
xen-ia64.adm@bkbits.net 6a63b7b966 bitkeeper revision 1.1708 (42a9b4dc79oJAGtbQvr8mTDofvBdxQ)
Merge bk://xen.bkbits.net/xeno-unstable.bk
into  bkbits.net:/repos/x/xen-ia64/xeno-unstable-ia64.bk
2005-06-10 15:42:20 +00:00
kaf24@firebug.cl.cam.ac.uk f2e3420e73 bitkeeper revision 1.1705.1.15 (42a9af28Mzva9Shzn8gUSiuJSM-TbA)
xenstore fixes for read-only connections.
2005-06-10 15:18:00 +00:00
kaf24@firebug.cl.cam.ac.uk caac1f7819 bitkeeper revision 1.1705.1.14 (42a9a5deJbK8YHFnSDDIGurt2uATXA)
Manual merge.
2005-06-10 14:38:22 +00:00
kaf24@firebug.cl.cam.ac.uk f88b78b9b6 bitkeeper revision 1.1159.258.165 (42a9a534b-NRTORtgH1Qjzz6EjTo6Q)
Ensure we only handle writable pagetable faults taken in guest kernel
mode.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-10 14:35:32 +00:00
kaf24@firebug.cl.cam.ac.uk 31519ad1fd bitkeeper revision 1.1705.1.13 (42a99a6dV4rHEyZ-t7znDZXeW50z5Q)
Some functions of xenstore library dont have xs_ as prefix. This patch
fixes the problem.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-06-10 13:49:33 +00:00
vh249@arcadians.cl.cam.ac.uk 8ce61a2eaf bitkeeper revision 1.1705.1.12 (42a97f88WORgYhHS8W4t6DR8V9a0EQ)
signedness fix for gcc-4.0

Signed-off-by: Flavio Bruno Leitner <fbl@conectiva.com.br>
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-06-10 11:54:48 +00:00
vh249@arcadians.cl.cam.ac.uk 4cde09da63 bitkeeper revision 1.1705.1.11 (42a973edqzXeILWidAcIO3yLhNMSwQ)
fix compilation with newer binutils that don't accept the l suffix for mov when using segment register

Signed-off-by: Flávio Bruno Leitner <fbl@conectiva.com.br>
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-06-10 11:05:17 +00:00
kaf24@firebug.cl.cam.ac.uk a6de1aea05 bitkeeper revision 1.1705.1.10 (42a95ea6cCTdfA7-Kmu3_gnUMEq0gw)
user -> kernel syscall path must enable interrupts after all, since
it calls create_bounce_frame which can potentially fault. Thus we must
also test_all_events.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-10 09:34:30 +00:00