Commit Graph
5457 Commits
Author SHA1 Message Date
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 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] 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
kaf24@firebug.cl.cam.ac.uk 66489862c5 bitkeeper revision 1.1705.1.9 (42a958fa_rGV-3MvG5pqfsVcnP31ag)
Fixup SYSCALL path correctly in xenlinux when calling into C code.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-10 09:10:18 +00:00
kaf24@firebug.cl.cam.ac.uk 684d27a678 bitkeeper revision 1.1705.1.8 (42a95272T6JE4ReAkgMVg0Rte2ppxA)
Install/uninstall xenstore headers.
2005-06-10 08:42:26 +00:00
kaf24@firebug.cl.cam.ac.uk e006314ac5 bitkeeper revision 1.1705.1.7 (42a94e88EO8US-LmAPxu7rbUmKFdUg)
Move saved_upcall_mask in cpu_user_regs to CS+4 rather than CS+2 on
x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-10 08:25:44 +00:00
kaf24@firebug.cl.cam.ac.uk 8b13b1d610 bitkeeper revision 1.1705.1.6 (42a94be9biM7y73pQvdqqpsIyNCu6Q)
x86/64 linux needs rtc driver so that it can set correct kernel time.
todo: emulate (or pass-through) read accesses to rtc ports within xen,
so that domu can access rtc too.
Signed-off-by: Li B Xin <li.b.xin@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-06-10 08:14:33 +00:00
kaf24@firebug.cl.cam.ac.uk a7b5369e75 bitkeeper revision 1.1705.1.5 (42a93db3F6-7PVzPrv8GU77FFEN-VQ)
Fix ia64 build.
Signed-off-by: Fred Yang <fred.yang@intel.com>
2005-06-10 07:13:55 +00:00
kaf24@firebug.cl.cam.ac.uk 453e69e753 bitkeeper revision 1.1705.1.4 (42a93b72dCp-0yWsUC34zD8h-L-QLg)
Adding the VMCS encodings as per "Intel Virtualization Technology
Specification for the IA-32 Intel Architecture", and removing hard
coded values. Code cleanup & preparation for 64bit VMX guest support.

Signed-Off-By: Chengyuan Li <chengyuan.li@intel.com>
Signed-Off-By: Yunhong Jiang <hunhong.jiang@intel.com>
Signed-Off-By: Jun Nakajima <jun.nakajima@intel.com>
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com>
2005-06-10 07:04:18 +00:00
kaf24@firebug.cl.cam.ac.uk ed7f7379ec bitkeeper revision 1.1705.1.3 (42a939a4PcnfLTkKVDZMeUSheRKsng)
'make uninstal' cleanups.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-06-10 06:56:36 +00:00
kaf24@firebug.cl.cam.ac.uk 4d8752e9ee bitkeeper revision 1.1705.1.2 (42a9372fTpt-bOGdIcKsOLb8_xlJ4Q)
Remove tools/ioemu/pc-bios. We have replacements in tools/firmware
now.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-06-10 06:46:07 +00:00
mwilli2@equilibrium.research 3a431a224c bitkeeper revision 1.1705.1.1 (42a8f3c2-cPCJhjiT7sAAqBGBwdd6w)
Tiny tweak to fix ballooning via Xend.
2005-06-10 01:58:26 +00:00
djm@sportsman.spdomain b98e97c40e bitkeeper revision 1.1707 (42a8bef84ufqr4dGKMyBtJRUb9pcOQ)
Accomodate recent addition of physaddr_t type
2005-06-09 22:13:12 +00:00
djm@sportsman.spdomain 03ab2e2693 bitkeeper revision 1.1706 (42a8be4bKG9EZTToo_Pa4wDcO7VpRw)
Merge http://xen-ia64.bkbits.net/xeno-unstable-ia64.bk
into sportsman.spdomain:/home/djm/xeno-unstable-ia64.bk
2005-06-09 22:10:19 +00:00
djm@kirby.fc.hp.com 800a239fd3 bitkeeper revision 1.1668.1.11 (42a8bd5aCFsumaFg9rk2nWmEBa7opA)
Oops, yet another file for Greg's checkin
2005-06-09 22:06:18 +00:00
djm@kirby.fc.hp.com 6f882270c7 bitkeeper revision 1.1668.1.10 (42a8bceaXDRFCmwf1Omenu_lCITiag)
Oops, left new file out of Greg's sn patch
2005-06-09 22:04:26 +00:00