Commit Graph
3282 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk b2cc8f556c bitkeeper revision 1.1159.264.1 (422d7683GAA5eJb-zpm3NsgvYf9Q9A)
Clean up timer upcalls to guest kernel. Only send an upcall when
timestamp info actually changes.
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
2005-03-08 09:55:15 +00:00
vh249@airwolf.cl.cam.ac.uk b7c8087832 bitkeeper revision 1.1159.258.22 (422c6612riGtD5GGqVTNqhuli2WrwQ)
fix spinlock still held while leaving function in case of error

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-03-07 14:32:50 +00:00
cl349@firebug.cl.cam.ac.uk b819ef725e bitkeeper revision 1.1159.258.21 (4227b272juDzo6xMj-KE4nB4e0xsmA)
xmexample updates.
Signed-off-by: chris@xensource.com
2005-03-04 00:57:22 +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
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
cl349@firebug.cl.cam.ac.uk 7554eb1321 bitkeeper revision 1.1159.258.18 (4226f857ltmzeYRsvtnlD8t5FVTvhw)
Remove support for tgif as a tool.  We don't use it and it's hard to find as
and rpm.
Signed-off-by: cl349@cl.cam.ac.uk
2005-03-03 11:43:19 +00:00
kaf24@scramble.cl.cam.ac.uk 126860c4ee bitkeeper revision 1.1159.258.17 (4224a8faTVrzHrdNP0aTwjJrfZ4vnw)
Fix another -Wall -Werror compile error.
Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
2005-03-01 17:40:10 +00:00
kaf24@scramble.cl.cam.ac.uk 7ac608f74a bitkeeper revision 1.1159.258.16 (4221a2ecsI-7_TFUEYf9_8zVhzHq3Q)
Fix 2.4 build, and a small 2.6 bootstrap tweak.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-02-27 10:37:32 +00:00
kaf24@scramble.cl.cam.ac.uk 8ed0d261a5 bitkeeper revision 1.1159.258.15 (4220c1b89PleMUER22Q6eIRqab93Dg)
Typo in 2.6 file.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-02-26 18:36:40 +00:00
kaf24@viper.(none) 36222d3c27 bitkeeper revision 1.1159.258.14 (4220bd64Y3CN44gbDCh9mtv5s9QiDA)
Fix ballooning where initial allocation is lower than max possible lowmem.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-02-26 18:18:12 +00:00
iap10@tetris.cl.cam.ac.uk 0aeef37025 bitkeeper revision 1.1159.258.13 (421e7cfaHXBVrm-2XYB50x2aleoG0A)
From: Jari Ruusu via Pasi Kärkkäinen [pasik@iki.fi]

Small fix to 2.4 blkfront such that the capacity is reported correctly.
Does 2.6 need a similar fix?

Signed-off-by: ian@xensource.com
2005-02-25 01:18:50 +00:00
iap10@tetris.cl.cam.ac.uk fff03211fe bitkeeper revision 1.1159.258.12 (421e7b09H0pvxw22WgYUuH1d447Oew)
trivial fix
2005-02-25 01:10:33 +00:00
kaf24@scramble.cl.cam.ac.uk 3979c1484a bitkeeper revision 1.1159.258.11 (421db5das21KZ5OM9VgBIYQNaZthng)
Fix console_use_vt feature that makes VT switchable at run time in
Linux.
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
2005-02-24 11:09:14 +00:00
kaf24@scramble.cl.cam.ac.uk a6cf90656b bitkeeper revision 1.1159.258.10 (421dacb67rVw006uybBjh0HNKVaObw)
Make mkelf32 byte-order clean.
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
2005-02-24 10:30:14 +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
kaf24@scramble.cl.cam.ac.uk 594ca13037 bitkeeper revision 1.1159.258.8 (421bc0b0jvILWAafCXfC9uUwrkZb3A)
Clean up task-switch path. Now differs more from native code, but
it is a critical path. Also fixed a comment and FPU TS setting.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-02-22 23:30:56 +00:00
kaf24@scramble.cl.cam.ac.uk 9c8f913430 bitkeeper revision 1.1159.258.7 (421afd0bk-TdZ_Jc5UrN-eVwJPdgbw)
Remove unnecessary irq enable/disable and flag test from do_upcall().
Signed-off-by: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
2005-02-22 09:36:11 +00:00
iap10@freefall.cl.cam.ac.uk 7100bc4659 bitkeeper revision 1.1159.258.6 (421a32c9eTLZXetUKq3j83jL31eC5A)
Build AGP and DRM modules into linux 2.6-xen0 default kernel.
  
  WARNING: Not all of these drivers have been tested, and its possible that
  previously working X setups will now cause the machine to spontaneously
  reboot when X starts! If so, please report these problems, and disable
  the AGP/DRM module that is being used.
  
  Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-21 19:13:13 +00:00
kaf24@scramble.cl.cam.ac.uk 94c57a4ed9 bitkeeper revision 1.1159.258.5 (4215f09cU1Zrw85yrXJiQPM7LeMJtw)
nettel.patch, drm.patch, agpgart.patch:
  mvdir
2005-02-18 13:41:48 +00:00
mafetter@fleming.research 2a0b261ce3 bitkeeper revision 1.1159.258.4 (420e086eRqMDAepFfVSrE8gAuTZ1dg)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-2.0-testing.bk
into fleming.research:/scratch/fleming/mafetter/xen-2.0-testing.bk
2005-02-12 13:45:18 +00:00
mafetter@fleming.research 5017009989 bitkeeper revision 1.1159.260.2 (420e0856crqXXEkQoCUddas8u5ksXA)
Rename check_pagetable() function to _check_pagetable to make it easier
to selectively enable it during debugging.  There's still the same
check_pagetable macro, but now it's used both when SHADOW_DEBUG is
enabled and disabled.
2005-02-12 13:44:54 +00:00
mafetter@fleming.research b5a0388318 bitkeeper revision 1.1159.260.1 (420e07e16YlSevQI9RYNGLwarPr2gQ)
Bug fix for shadow code.

When update_va_mapping() updates a entry, the corresponding shadow
entry may not be reachable via the shadow_linear_pg_table, even though
it is currently shadowed, as the corresponding spde has not necessarily
been faulted into place yet.
2005-02-12 13:42:57 +00:00
cl349@arcadians.cl.cam.ac.uk b9692e52eb bitkeeper revision 1.1159.258.3 (420d5c2dj-e3ZU_Q3wOxYdZ-yax62A)
Use "ide" as device name and "hdX" as disk name.

Signed-off-by: chris@xensource.com
2005-02-12 01:30:21 +00:00
cl349@arcadians.cl.cam.ac.uk a20f62e8f8 bitkeeper revision 1.1159.258.2 (420cdd26biP1GgUIcVSoyZGOZjAu2A)
Pass pointer to register set to set_pre_exception_table instead of eip.

Signed-off-by: cl349@cl.cam.ac.uk
2005-02-11 16:28:22 +00:00
mjw@wray-m-3.hpl.hp.com 4db4e4f09f bitkeeper revision 1.1159.258.1 (420b963fGDqQqmlp_DO3u-T_klF82g)
Fixes to make the vnet module compile under 2.6.10.
Thanks to Brian Bruce for spotting the problem and
suggesting fixes.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-02-10 17:13:35 +00:00
iap10@freefall.cl.cam.ac.uk 6be18e86c3 bitkeeper revision 1.1159.223.84 (420a6831W2g6HHtXksV16NZox0sA5Q)
Subject: [Xen-devel] [PATCH 1/2] netfront coding style clean-up (trivial)

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: ian@xensource.com
2005-02-09 19:44:49 +00:00
iap10@tetris.cl.cam.ac.uk 0eef50acd6 bitkeeper revision 1.1159.223.83 (42097c41y12EFATQuIKPTDS1smnkWQ)
Subject: [Xen-devel] [PATCH] Fix initrd support for Linux 2.4/2.6

The following patch sets the default root device to be the null device. 
This is the behavior Linux is launched with no root device specified in
the command line and without a device provided by the boot loader.
Previously, the default root device was set to be /dev/ram0.  This broke
initrd support.  This change was made in 2.6 to because of a bug
reported on September 14th with dynamic ipconfig.  I've recreated his
problem and looked through the code and the source of the problem was
that his kernel command line was incorrect. He was missing the BOOTP
field in the config line requiring that there be an actual root device.
This worked with 2.4 but only because 2.4 was also broken.  His patch
just introduced that bug into 2.6.
I've tested this against the 2.6 and 2.4 trees in a recent copy of
xen-unstable.  I've tested initrd support and ipconfig support
(including dynamic ip support).  They both now work as expected.
If anyone needs an initrd for testing let me know.
Regards,
-- 
Anthony Liguori
Linux Technology Center (LTC) - IBM Austin
E-mail: aliguori@us.ibm.com
Phone: (512) 838-1208
Signed-off-by: Anthony Liguori
Signed-off-by: ian@xensource.com
2005-02-09 02:58:09 +00:00
iap10@labyrinth.cl.cam.ac.uk 09d5eb5720 bitkeeper revision 1.1159.223.82 (42093f8cxZb9FQfWwmj7IIok9ndiPg)
minor stats collection addition
ian@xensource.com
2005-02-08 22:39:08 +00:00
iap10@freefall.cl.cam.ac.uk faf69408ee bitkeeper revision 1.1159.223.81 (42091872lrObHIRNczDaqDeQw3NmyA)
debug memory audit cleanups + comment fix from Jon Mason.
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-08 19:52:18 +00:00
iap10@freefall.cl.cam.ac.uk 055935cf6d bitkeeper revision 1.1159.223.80 (4208de05Xtv_u_3smJSRU6ex6bTAfA)
Some functions aren't static and could be (damn C language!).

I tried turning on -Wmissing-prototypes: unfortunately gives warnings
for functions used in asm, which means introducing gratuitous prototypes
for them.  Not sure it's worth it.

1) keyhandler.c: keypress_softirq() and do_task_queues() can be static.
2) physdev.c: pcidev_dom0_hidden() can be static.
3) resource.c/resource.h: check_region is deprecated (racy): remove.
4) sched_bvt.c: lots of things can be static.
5) pci/compat.c: not required for Xen.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-08 15:43:01 +00:00
iap10@labyrinth.cl.cam.ac.uk 02f82c2788 bitkeeper revision 1.1159.223.79 (42082ea1obdbIutzD0IY-9Fdcf7Exw)
Fix to memory debugging audit code.
  
Signed-off-by: ian@xensource.com
2005-02-08 03:14:41 +00:00
iap10@labyrinth.cl.cam.ac.uk f5fedc454d bitkeeper revision 1.1159.223.78 (42081302-eWxmHBN6T8FdRJD5VvsOg)
This very simple patch is really just cosmetic.  It "fixes" xend so that
it doesn't report restart as: "WARNING (XendDomainInfo:1038) Unknown
config field restart" in the xend.log.  I'm not sure who should sign off
on this, but the patch is attached.

From: "B.G. Bruce" <bgb@nt-nv.com>
Signed-off-by: ian@xensource.com
2005-02-08 01:16:50 +00:00
kaf24@scramble.cl.cam.ac.uk 90dd5b6a18 bitkeeper revision 1.1159.223.77 (4207bd65yRdFmE9Py8fLUBk3826_Ig)
Minor tidy of vif-nat script.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-07 19:11:33 +00:00
iap10@freefall.cl.cam.ac.uk 6f6dcfb95e bitkeeper revision 1.1159.223.76 (4207b472nHz4nbC_OJgbSmfRVow8XQ)
Don't let xend throw away stderr...
2005-02-07 18:33:22 +00:00
iap10@labyrinth.cl.cam.ac.uk d08dd0ac71 bitkeeper revision 1.1159.223.75 (42078dd8VBcyJ0X9yF-bRHcBVUJ3Ww)
As pointed out on the xen-devel list, the vm86 call was not very robust in 
Xen.
It turned out to be due to a missing check in the pagefault handler, 
determining whether the pagefault came from userspace or from the kernel.
Now the syscall-crash tool doesn't cause any "Oops" on the vm86 calls anymore.

From: Stephan Diestelhorst <sd386@cam.ac.uk>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-07 15:48:40 +00:00
kaf24@scramble.cl.cam.ac.uk 88381e599a bitkeeper revision 1.1159.223.74 (420757a9FtyPHOdlg42s6EIT2DD1zw)
Pad Xen image to end on a page boundary. Avoids kexec bug.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-07 11:57:29 +00:00
kaf24@viper.(none) cef3a40634 bitkeeper revision 1.1159.223.73 (42061207JyX53LmlrclgfiWwVqnF7w)
Avoid large stack frame in arch_dom0_op by dynamically allocating space
for getmeminfo batch.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-06 12:48:07 +00:00
kaf24@viper.(none) c0d41e4315 bitkeeper revision 1.1159.223.72 (42060910CAWXk13FiquPxR_uRrD_1A)
Prevent stack overflow in PCI setup code.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-06 12:09:52 +00:00
kaf24@viper.(none) 33788f79da bitkeeper revision 1.1159.223.71 (42060876pgZEpnal0wuK3VOOWP9zCQ)
Fix build system to rebuild file containing banner text every time.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-06 12:07:18 +00:00
iap10@freefall.cl.cam.ac.uk a30533c446 bitkeeper revision 1.1159.223.70 (4205e5daVr3OnfNS5GMFcoc8j80ODQ)
trivial fix to the ioremap for local pages
2005-02-06 09:39:38 +00:00
kaf24@scramble.cl.cam.ac.uk 8a830062ec bitkeeper revision 1.1159.223.69 (4204be8dLxMs-eFXEJxgXu_dhM7vLw)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
2005-02-05 12:39:41 +00:00
kaf24@scramble.cl.cam.ac.uk 48ff6b71e1 bitkeeper revision 1.1159.245.1 (4204be86F8AKmyv5_m4N44YWgyyt_Q)
Another NMI watchdog fix. Deferred NMIs need to ACK the local APIC.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 12:39:34 +00:00
mafetter@fleming.research f18239411b bitkeeper revision 1.1159.223.68 (4204a5090n9Cd2ll6YcdL3tK2uDu1A)
Bug fix to the scheduler for writable page tables.
Don't flush the writable page tables inside __enter_scheduler()
until after we've committed to switching to another domain.

Here's the problem: if enough debugging messages are enabled (for
example, shadow mode and/or writable page tables messages), then we
can get into a situation where we *always* visit
__enter_scheduler() after every page fault and/or hypercall.  If we
flush the writable page tables every time we take a page fault,
we'll never end up actually getting into the domain with write
permissions enabled to its page table.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-02-05 10:50:49 +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@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 bc7cc5527b bitkeeper revision 1.1159.223.65 (42048dd7csr55HLi2cE2XeC4OklTGg)
Name: clean-mtrr.patch
Description: clean mtrr
 Clean xen/arch/x86/mtrr/*
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-05 09:11:51 +00:00
iap10@labyrinth.cl.cam.ac.uk f7b633e6e8 bitkeeper revision 1.1159.223.64 (42048c67tDD9EILuuYdpEx-vM6LTnw)
Name: tools-misc-TARGETS.patch
Description: Split compile/link stages
 distcc behaves much better when you compile and link in 2 separate steps.
 Plus, this is a more standard way of doing things.
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-05 09:05:43 +00:00
kaf24@scramble.cl.cam.ac.uk dc3c6686e6 bitkeeper revision 1.1159.223.63 (42028527-fv-d9BM0_LRp8UKGP19gQ)
Fix NMI deferral.
Signed-off-by: keir.fraser@cl.cam.ac.uk
RELEASE-2.0.4
2005-02-03 20:10:15 +00:00
kaf24@scramble.cl.cam.ac.uk 8fbc50190a bitkeeper revision 1.1159.223.62 (4202591aKU7cGiiCesn0hIfz1J0vUQ)
Fix bootmem allocator.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-03 17:02:18 +00:00
kaf24@scramble.cl.cam.ac.uk 557f25a0fa bitkeeper revision 1.1159.223.61 (4201e2eb-AZrvBiRdKncIUx8FuLkeA)
Fix ioremap() for local RAM pages.
2005-02-03 08:38:03 +00:00