Commit Graph
659 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 99d21671d5 bitkeeper revision 1.1236.1.164 (424aed36IaX4v3-NGAT_MnCdUsD1yQ)
Split mmu_update() hypercall into mmu_update() and mmuext_op().
All MMUEXT_* ops are now done via the latter hypercall. This allows
more arguments to be passed in a nicer way to mmuext operations.
Linux 2.4, 2.6 and control tools all use the new interface. The BSDs
will need some work, but shouldn't be too hard (and they can be moved
to writable pagetables at the same time :-) ).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-30 18:17:26 +00:00
kaf24@firebug.cl.cam.ac.uk b90e35d94a bitkeeper revision 1.1236.1.161 (424a87d38l7A3H0bMHl_fsQl_ZRvuA)
Remove vmassist dom0_op. Can now adjust vm assists via setdomaininfo.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-30 11:04:51 +00:00
kaf24@firebug.cl.cam.ac.uk c95e88a596 bitkeeper revision 1.1236.1.160 (424a861f1fQwwCOgZWaGK3g0CTOOkw)
Tidy up vm_assist handling.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-30 10:57:35 +00:00
arun.sharma@intel.com[kaf24] 38c41e800d bitkeeper revision 1.1236.1.158 (424a5e40njyl8M4wEhCb_M060CCf-w)
[PATCH] libxc-x86-64-fixes.patch

Build fixes for x86-64.

Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-03-30 08:07:28 +00:00
mafetter@fleming.research 8e9bb87813 bitkeeper revision 1.1264 (4243449d-JwBVsSinjAWdYveMNhEjQ)
Initial attempt at merging shadow code with head of unstable tree.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-03-24 22:52:13 +00:00
kaf24@firebug.cl.cam.ac.uk f2c02d5c96 bitkeeper revision 1.1236.1.116 (424131f7rCir_eG6bLO6UbIol4mpgA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-03-23 09:08:07 +00:00
kaf24@firebug.cl.cam.ac.uk 74f81dd1a5 bitkeeper revision 1.1159.272.9 (424131e1AxW6hgsgUY2M3meFO0k4MQ)
libxc reacts to memory allocation delay because memory is on the 
scrub list.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-23 09:07:45 +00:00
kaf24@firebug.cl.cam.ac.uk ab78c96aeb bitkeeper revision 1.1236.1.105 (423fdeaeuXmbQUj74cWh1nItpSKUjw)
Improved cross-compilation support.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-22 09:00:30 +00:00
iap10@firebug.cl.cam.ac.uk be9cdbe2f6 bitkeeper revision 1.1236.1.96 (423d91c3JzdYyXv2iF0lgox0Q4n2tA)
fix mapping bugs in map_domain_va in xc_ptrace.c
map pages RO
Signed-off-by: Kip Macy <kmacy@fsmware.com>
Signed-off-by: ian@xensource.com
2005-03-20 15:07:47 +00:00
iap10@firebug.cl.cam.ac.uk 680d2759bd bitkeeper revision 1.1236.1.92 (423d6436JXz0Sqr0XYUvzrcXNtQ6VA)
I added support to Anthony's vm-tools so that it can start VMX enabled
partitions directly (including forking off a copy of the device-model
with the user's environment variables, such as $DISPLAY). For this I found
it useful to harden xc_vmx_build.c so that it doesn't dump core when called
incorrectly.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-03-20 11:53:26 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] daa5a255bb bitkeeper revision 1.1236.25.15 (423392ebXXffMtGJq4KKBtLnkTDFIg)
Add further error checking to map_domain_va
Fix page table index calculation
Signed-off-by: Kip Macy
2005-03-13 01:10:03 +00:00
cl349@firebug.cl.cam.ac.uk 504b288f7c bitkeeper revision 1.1236.25.14 (42338ac2o4mi66zj6XSPc2Z66lgEaQ)
Various cleanups.
Signed-off-by: Christian Limpach <chris@xensource.com>
2005-03-13 00:35:14 +00:00
cl349@firebug.cl.cam.ac.uk 0af4c9a0a8 bitkeeper revision 1.1236.25.13 (423386505SwGplSmaVcNHcvNqtQ2QA)
Automerge
2005-03-13 00:16:16 +00:00
kmacy@shemp.lab.netapp.com cb9bd69ccf bitkeeper revision 1.1236.27.1 (42337175wSkxS0D7A1TSBWgZsfOczg)
Add user-level debug support
Signed-off-by: Kip Macy
2005-03-12 22:47:17 +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
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
iap10@freefall.cl.cam.ac.uk 18ec56e8ed bitkeeper revision 1.1236.23.1 (42305c30ANG71NeXhipzTkvkmsry9Q)
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-unstable.bk
2005-03-10 14:39:44 +00:00
iap10@freefall.cl.cam.ac.uk 15f6b230e3 bitkeeper revision 1.1159.258.36 (42305b3948mU75urrgzQftpV3eNPbg)
Tidy up ugly warning in debug builds from xc_linux_restore.
Signed-off-by: ian@xensource.com
2005-03-10 14:35:37 +00:00
cwc22@centipede.cl.cam.ac.uk 3f9c9eae7a bitkeeper revision 1.1236.12.11 (422de58bI6Rru29oYT0ipOgZZhpqZw)
resolve of grant tables merge
2005-03-08 17:48:59 +00:00
riel@redhat.com[kaf24] aa4b616c67 bitkeeper revision 1.1236.1.62 (422996dcaXWGIhR3ZzSlNz3XpvLF0A)
[PATCH] [PATCH] gcc4isms part 2

This completes the gcc4ism changes to the Xen tree.  All of
the changes in this patch are in the tools/ subdirectory and
are pretty simple.  Some of the changes are for overly strict
gcc4 warnings, but I guess it's still good to verify that the
variable really wasn't unused, or that the sign change is
really harmless.

I guess I really do like -Werror now...

Signed-off-by: Rik van Riel <riel@redhat.com>

 libxc/xc_linux_build.c      |    2 +-
 libxc/xc_plan9_build.c      |   24 ++++++++++++------------
 libxc/xc_vmx_build.c        |    2 +-
 python/xen/lowlevel/xu/xu.c |    2 +-
 xcs/xcs.c                   |    2 +-
 xfrd/lzi_stream.c           |    2 +-
 xfrd/marshal.c              |    4 ++--
 xfrd/xdr.c                  |    2 +-
 xfrd/xfrd.c                 |   12 ++++++------
 9 files changed, 26 insertions(+), 26 deletions(-)
2005-03-05 11:24:12 +00:00
cwc22@centipede.cl.cam.ac.uk cbb632d455 bitkeeper revision 1.1236.9.1 (4227c12cJQxFhBUYk0ojkmnooUw0jQ)
Grant tables work on data structures.
2005-03-04 02:00:12 +00:00
iap10@tetris.cl.cam.ac.uk 60f2a76e4a bitkeeper revision 1.1159.258.20 (42277e15JmrB3LkX2vA4MklHkX1hQA)
Fix build
Signed-off-by: ian@xensource.com
2005-03-03 21:13:57 +00:00
iap10@firebug.cl.cam.ac.uk f8410aef34 bitkeeper revision 1.1236.8.1 (42277d6dJcqUMaI0LWRabpTP52KawQ)
Fix build.
Signed-off-by: ian@xensource.com
2005-03-03 21:11:09 +00:00
iap10@freefall.cl.cam.ac.uk 1b3a70777e bitkeeper revision 1.1236.1.52 (42273792F0NBFkhZz96wi1afyF7_Uw)
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-03-03 16:13:06 +00:00
rminnich@lanl.gov[iap10] 52da82dbd6 bitkeeper revision 1.1159.258.19 (42273652yPWGOWH6C8w45TOchk7Jog)
This patch enables argument passing to plan 9 domains, so that users can 
now have parameters for things like Venti etc.

Signed-off-by: ron minnich <rminnich@lanl.gov>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-03-03 16:07:46 +00:00
kaf24@firebug.cl.cam.ac.uk 14ba88bd20 bitkeeper revision 1.1236.1.49 (4226ddd3E_h9Dlj5W6XverRkiMcqMw)
x86 ( 32bit) is the only architecture that uses Fast trap vector offset
( fast_trap_idx ). This makes sure that x86 is the only architecture to
use this variable.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
2005-03-03 09:50:11 +00:00
cl349@firebug.cl.cam.ac.uk 30d3c9ee8f bitkeeper revision 1.1236.1.48 (42266bcdE0YKInNbHNUP19tmx6VSdA)
Fix 32-bit build on 64-bit machines.
Signed-off-by: chris@xensource.com
2005-03-03 01:43:41 +00:00
kaf24@scramble.cl.cam.ac.uk ae1b08f773 bitkeeper revision 1.1236.1.47 (4225ff68LvKUt73k78dKjnXxsnQt7A)
Fix tools build. Clean up barrier defs.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
2005-03-02 18:01:12 +00:00
rneugeba@wyvis.research.intel-research.net 3398fe73aa bitkeeper revision 1.1243 (4225f63a_DvywTD0qmXez00zLLTU9Q)
manual merge

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-03-02 17:22:02 +00:00
rneugeba@wyvis.research.intel-research.net 3bd36ccc50 bitkeeper revision 1.1242 (4225f56fwo6ym-RMTBheAeYhl10ATQ)
forward ported James Bulpin's performance counters tool

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-03-02 17:18:39 +00:00
kaf24@scramble.cl.cam.ac.uk 072f03be95 bitkeeper revision 1.1236.1.44 (4224f156AyEV3oV5JinuYtfS9e_ITA)
Rationalise memory-barrier definitions in user-space tools.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-01 22:48:54 +00:00
cl349@firebug.cl.cam.ac.uk bc172128dc bitkeeper revision 1.1236.1.37 (42220839uiUo4mhX0fedaXFvOocS4Q)
Update error message when loading a "not Xen v3.0" image.
Signed-off-by: chris@xensource.com
2005-02-27 17:49:45 +00:00
kaf24@scramble.cl.cam.ac.uk 5deb88b1a9 bitkeeper revision 1.1236.1.36 (4221cfd30UrMyu3TpXKGjVNXNVS1Bw)
Update 'xen version' in guest-OS images to 3.0.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-02-27 13:49:07 +00:00
bren@br260.wolfson.cam.ac.uk 41547e2257 bitkeeper revision 1.1236.1.28 (421f91083aQi4zkZChMBDS8J0jxjqw)
Avoid clobbering EBX. Without this, it doesn't compile with gcc 3.4
Signed-off-by: bin.ren@cl.cam.ac.uk
2005-02-25 20:56:40 +00:00
arun.sharma@intel.com[kaf24] 864fdbcd4d bitkeeper revision 1.1236.1.10 (421da0d32W6mm78NfqVauwQT_ZO1dQ)
[PATCH] mmio_addr.patch

Use 1:1 page table to figure out if a particular physical address belongs
to MMIO range or not.

Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>

Index: trunk/tools/libxc/xc_vmx_build.c
===================================================================
2005-02-24 09:39:31 +00:00
kaf24@scramble.cl.cam.ac.uk 344d5fc348 bitkeeper revision 1.1236.2.1 (421d97a5SR1YbOvnVv1vbOXHzoiZ4Q)
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-02-24 09:00:21 +00:00
kaf24@scramble.cl.cam.ac.uk 71ebe65bbc bitkeeper revision 1.1159.258.9 (421d978cixdcn2ycn94dJci5cqGzjg)
Build cleanups. Build dynamic libs as -fPIC always.
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
2005-02-24 08:59:56 +00:00
maf46@burn.cl.cam.ac.uk f312dc4e8a bitkeeper revision 1.1231 (421a19f9K3T6OGgQYOACRx6deejNmQ)
Added "make TAGS" back into libxc/Makefile again.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-02-21 17:27:21 +00:00
kaf24@scramble.cl.cam.ac.uk 841d10cf2c bitkeeper revision 1.1229 (42180985F67QALsnFjovJHWiIDEz_A)
Fix return-code checking in tools.
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-02-20 03:52:37 +00:00
kaf24@scramble.cl.cam.ac.uk 09e143ff89 bitkeeper revision 1.1159.1.561 (420a44fbc4-bx17m5WWwDlyH93ab-g)
Some simple renaming. 'guestos' -> 'kernel'.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-09 17:14:35 +00:00
kaf24@scramble.cl.cam.ac.uk 46a8326d79 bitkeeper revision 1.1159.251.1 (4208dde2yO5a2hmuPJlwJg0U4vM8yA)
Use p_paddr when loading Elf program segments; not p_vaddr.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-08 15:42:26 +00:00
kaf24@scramble.cl.cam.ac.uk 228e9fba60 bitkeeper revision 1.1159.212.94 (4204a0deFxk8r7Vhks3j_qvRlbZMJQ)
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-02-05 10:33:02 +00:00
kaf24@scramble.cl.cam.ac.uk fc3efe0ada bitkeeper revision 1.1159.223.67 (4204a089yB7FSdCp0Isa4dMFs_V3qQ)
Building PIC .so libs is now optional. Defaults to enabled for Debian.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 10:31:37 +00:00
iap10@freefall.cl.cam.ac.uk d551e3bc5c bitkeeper revision 1.1159.212.92 (4204921aEJqAV7p8MQEa98S3OLscXg)
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-02-05 09:30:02 +00:00
iap10@labyrinth.cl.cam.ac.uk d8ab68ec41 bitkeeper revision 1.1159.223.66 (42048ef5frMFQFFm-sKDC6PrU8yraQ)
Name: pic-lib.patch
Description: support PIC code generation
 Libraries have 2 methods of being compiled; a .so must contain non-pic
 objects, while the .a can contain standard objects.
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-05 09:16:37 +00:00
iap10@labyrinth.cl.cam.ac.uk 769dd8e964 bitkeeper revision 1.1159.212.67 (42001d370Zk3jsfUjyC3iV9vgEJAlA)
Create the e820 map dynamically. This makes it easy to run VMX guests
of different memory sizes (no need to manually edit the e820 map).

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:22:15 +00:00
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
kaf24@scramble.cl.cam.ac.uk d1bbdafb8b bitkeeper revision 1.1159.212.54 (41fac89fnck8lIgXT0fcIHlQ9aM_7Q)
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-28 23:19:59 +00:00
kaf24@scramble.cl.cam.ac.uk 085a587c38 bitkeeper revision 1.1159.223.51 (41fac87bR5uD5TAFu58tuaTMLSmbrw)
Fix makefiles creating copies instead of symlinks of shared libs.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Keir Fraser <keir.fraser@intel.com>
2005-01-28 23:19:23 +00:00
sd386@font.cl.cam.ac.uk b1cbe136f6 bitkeeper revision 1.1159.170.102 (41fa2751heRkQ76AYa9Oe-6cOyJuLw)
Enhanced SEDF scheduler
2005-01-28 11:51:45 +00:00