Commit Graph
3294 Commits
Author SHA1 Message Date
cl349@firebug.cl.cam.ac.uk 06f98ccd35 bitkeeper revision 1.1159.258.34 (422e593fP_MDJ47j5LhtS8fQOVuyAQ)
Update to NetBSD 2.0.1.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
2005-03-09 02:02:39 +00:00
cl349@firebug.cl.cam.ac.uk 853a0f3cca bitkeeper revision 1.1159.258.33 (422e4c2dbtydqXSZXhO6gOuY-qlS5A)
Support Xen-ifying a complete NetBSD source tree.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
2005-03-09 01:06:53 +00:00
cl349@firebug.cl.cam.ac.uk b375b7d603 bitkeeper revision 1.1159.258.32 (422e470bJa_VGcUAPdnpZWrD6n9uew)
Export Xen provided command line as /kern/xen/cmdline.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
2005-03-09 00:44:59 +00:00
cl349@firebug.cl.cam.ac.uk 97f5afbcf5 bitkeeper revision 1.1159.258.31 (422e4564B542sr1LgKTQ3FWQwTZcZQ)
Add support for read file operation handlers.
Also fix fallback to default handlers.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
2005-03-09 00:37:56 +00:00
cl349@firebug.cl.cam.ac.uk 9fd655b029 bitkeeper revision 1.1159.258.30 (422e43bag8TDBzRIwsJaOhrjeAZ-gg)
Enable vnd devices.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
2005-03-09 00:30:50 +00:00
cl349@firebug.cl.cam.ac.uk 9c9ae3ef3e bitkeeper revision 1.1159.258.29 (422e4382uaLzLWWGJwNl_pq0d8dMog)
Support Xen-ifying a complete NetBSD source tree.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
2005-03-09 00:29:54 +00:00
cl349@firebug.cl.cam.ac.uk 26c56cda54 bitkeeper revision 1.1159.258.28 (422e42e5yWRuW_i02udqDbLjol4GOQ)
Support compiling kernels other than the XEN one.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
2005-03-09 00:27:17 +00:00
kaf24@firebug.cl.cam.ac.uk b7630c6aab bitkeeper revision 1.1159.258.27 (422ddcd5Cf-97FdGP6TJyFvIxer4Mg)
Prevent buddy-allocator merges across Xen/Domain zones boundary.
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
2005-03-08 17:11:49 +00:00
kaf24@firebug.cl.cam.ac.uk 8d8131c3ce bitkeeper revision 1.1159.258.26 (422dcb82edKYqnLB0fr24Sf5anyo6Q)
Fix parallel build in Xen directory.
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
2005-03-08 15:57:54 +00:00
kaf24@firebug.cl.cam.ac.uk 8ea68d85e3 bitkeeper revision 1.1159.258.25 (422dab6bOBL6I9LRZYfF0ExfT5VXww)
Must always send VIRQ_TIMER to a blocked guest.
Signed-off-by: Keir Fraser <keir.fraser@cl.cam.ac.uk>
2005-03-08 13:40:59 +00:00
kaf24@firebug.cl.cam.ac.uk bbebb1de83 bitkeeper revision 1.1159.258.24 (422d768ae6_z9fpLLsp1seSXtGA5qA)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
2005-03-08 09:55:22 +00:00
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 39b6d495a8 bitkeeper revision 1.1159.258.23 (422d72b8gvbXrWsyznqgyF7shPiduw)
Fix error path handling not calling iounmap() after ioremap()

Signed-off-by: Yann Droneaud <ydroneaud@mandrakesoft.com>
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-03-08 09:39:04 +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