Commit Graph
4213 Commits
Author SHA1 Message Date
jrb44@swoop.cl.cam.ac.uk e10158b99b bitkeeper revision 1.1236.43.3 (42430c00lAWor_gGz6AYWnPE5wc0XQ)
Added concurrency niceness to the bottom end of the blockstore.

Signed-off-by: James Bulpin <James.Bulpin@cl.cam.ac.uk>
2005-03-24 18:50:40 +00:00
kaf24@firebug.cl.cam.ac.uk e07e6adb01 bitkeeper revision 1.1236.43.2 (4242f87aFPws_0qJOowxni3KubXdbQ)
Manual merge.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-24 17:27:22 +00:00
kaf24@firebug.cl.cam.ac.uk d535ea243e bitkeeper revision 1.1159.272.10 (4242f845cpppoqILZOUsc9BDNxlTUA)
Set a block timeout at least a jiffy ahead, to have same behaviour
as native Linux.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-24 17:26:29 +00:00
kaf24@firebug.cl.cam.ac.uk afe3cf62fc bitkeeper revision 1.1236.43.1 (4242f75e6Zk-5XZxY7UL-J_Qi8D43g)
Fix VIRQ_TIMER holdoff for SMP guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-24 17:22:38 +00:00
kaf24@firebug.cl.cam.ac.uk b7a2d3eb8c bitkeeper revision 1.1236.1.124 (42429eb8uGingMvF7MF3Py6CUzFBzA)
NMI watchdog hooks off ac_timer softirq rather than apic timer irq.
In extreme situations we may service ac_timer events without ever
actually taking an apic interrupt.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-24 11:04:24 +00:00
akw27@arcadians.cl.cam.ac.uk 36b6dd3b86 bitkeeper revision 1.1236.1.123 (424284cbdc1iFeJb-iVYG6KJOhmSuw)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/akw27/xeno-clone/xeno.bk
2005-03-24 09:13:47 +00:00
kaf24@firebug.cl.cam.ac.uk 502043358f bitkeeper revision 1.1236.42.2 (42427e4bowK4ngPjKLA3967ZsswxjQ)
Cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-24 08:46:03 +00:00
iap10@freefall.cl.cam.ac.uk 496d4573ef bitkeeper revision 1.1236.42.1 (42422fb2SvqEyBwXAZf3p2BJS-gfBA)
If Xen is told to use a serial console via a com1= or com2= directive
on the Xen command line, it now hides that particular UART from dom0.

This means that it's now safe to enable the 8250 driver in the Linux
config. If Xen has been told to use com1, the dom0 linux kernel will
not see /dev/ttyS0, but will see ttyS1,S2 etc if they are present,
enabling them to be used for mice, modems, printers etc.

Unfortunately, the 8250 driver will register itself for a ttyS even if
that particular UART isn't present. This is really annoying, as it 
prevents the 'xencons' driver registering itself as ttyS0 even though
the 8250 won't see ttyS0 as present if Xen is using com1. This
prevents us from enabling 8250 in the default kernel config, as it 
will change current behaviour. 

If you want to use 8250 and xencons, the trick is to tell xencons to
grab a high numbered ttyS port that the 8250 driver will have left
alone. For example, put "xencons=ttyS31" on the Linux command line.
You'll then be able to edit /etc/inittab to add an entry for a 
getty on ttyS31 if you want to be able to log in on the serial console
that is being shared with Xen.

If anyone knows a way of cleanly kicking the 8250 driver off a
particular char minor then please let me know!
2005-03-24 03:10:42 +00:00
akw27@arcadians.cl.cam.ac.uk 8a76c6516c bitkeeper revision 1.1236.1.122 (4241f8e6KVj67ZPqeoetmkxrl9USQw)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into arcadians.cl.cam.ac.uk:/auto/anfs/nos1/akw27/xeno-clone/xeno.bk
2005-03-23 23:16:54 +00:00
akw27@arcadians.cl.cam.ac.uk 210ba1a9d5 bitkeeper revision 1.1236.41.1 (4241f8c1RPqucowH4YAH-X69s_MQcw)
add a metadata cache to the radix io calls.
2005-03-23 23:16:17 +00:00
kaf24@firebug.cl.cam.ac.uk a754128564 bitkeeper revision 1.1236.1.121 (4241b323XMPDUSRi1JDaRbTNG69CgA)
A few ptwr cleanups/fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-23 18:19:15 +00:00
kaf24@firebug.cl.cam.ac.uk 8da25a241f bitkeeper revision 1.1236.1.120 (4241b2ebBzxqlRsKYsrNIy3_dpl_oA)
Remove DOM0_IOPL_PERMISSION since it doesn't make much sense.
All admin checks go throu the bitmap mask. Even privileged domains
(inc. domain0) must have a mask.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-23 18:18:19 +00:00
kaf24@firebug.cl.cam.ac.uk ab640e3a6b bitkeeper revision 1.1236.1.119 (42419642x9bxSKNyV0KCEA1fUnjaDg)
Fix create_bounce_frame() for both x86/32 and x86/64 (each was broken
in a different way).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-23 16:16:02 +00:00
kaf24@firebug.cl.cam.ac.uk bf771f183a bitkeeper revision 1.1236.1.118 (42417279HPSjyqvMU1nR51tWeAILpw)
Fix x86/64 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-23 13:43:21 +00:00
kaf24@firebug.cl.cam.ac.uk 4e4051276b bitkeeper revision 1.1236.1.117 (4241709cmfgF-94U74o-PmIJUmoksQ)
Fix iopl/iobitmap interfaces. Control tools can set per-domain
access limits via DOM0_IOPL_PERMISSION/DOM0_IOPORT_PERMISSION.
Guests can set current permissions per VCPU via physdev ops.
These will always succeed -- checking against admin-set limits is
done at access time.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-23 13:35:24 +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 e27da1b4de bitkeeper revision 1.1236.1.115 (42412feabO-NbNx001J5keVzgy_QUg)
Avoid unnecessary pte flags changes, which are costly on Xen. Also clean
up XCHG handling in instruction emulator a little bit.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-23 08:59:22 +00:00
kaf24@firebug.cl.cam.ac.uk 02d0c9fb14 bitkeeper revision 1.1236.1.114 (42407a31Nf9p7AkNdYSNJUqcXa7-NA)
Fix XCHG instruction emulation.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-22 20:04:01 +00:00
kaf24@firebug.cl.cam.ac.uk 2ad15d851f bitkeeper revision 1.1236.1.113 (42407388qtYnzMaBpNXqBANV55c6Qw)
Manual merge.
2005-03-22 19:35:36 +00:00
kaf24@firebug.cl.cam.ac.uk 16ca18af90 bitkeeper revision 1.1159.272.8 (4240716dixo5jLBihZPvbRrP21dn4g)
Schedule page scrubbing for dead domains off the per-cpu periodic
ticker. We take 10% of busy cpus and all of idle cpu time.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-22 19:26:37 +00:00
akw27@arcadians.cl.cam.ac.uk 689abd270c bitkeeper revision 1.1236.1.112 (4240562521wc_bQiFaxW7o5zjRAkFg)
Fix merge conflict from earlier today.

Signed-off-by: andrew.warfield@cl.cam.ac.uk
2005-03-22 17:30:13 +00:00
cl349@firebug.cl.cam.ac.uk d5e8f10c26 bitkeeper revision 1.1236.1.111 (424042ca2OF5ZJ7nHGwhQO1NDV_-CQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
2005-03-22 16:07:38 +00:00
jrb44@swoop.cl.cam.ac.uk dba3ede51e bitkeeper revision 1.1236.40.1 (42403ff1ZGMKPWPwodeJzyyFrCMVvg)
manual merge phase 1 of 2 :-(
2005-03-22 15:55:29 +00:00
jrb44@swoop.cl.cam.ac.uk 34b11086b6 bitkeeper revision 1.1236.39.1 (42403ed3ayhqDaCmozMDqaFfcmjpzQ)
Added asynchronous support to the blockstore.
2005-03-22 15:50:43 +00:00
cl349@firebug.cl.cam.ac.uk 33361bbf5c bitkeeper revision 1.1236.1.110 (4240375cOt3uh22RXHHKXqGhr8yvEg)
Restore "PHYSICAL MEMORY ARRANGEMENT" printk.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-03-22 15:18:52 +00:00
kaf24@firebug.cl.cam.ac.uk fc943b13db bitkeeper revision 1.1236.1.109 (4240035cz_rWFpiJ0nsZoaqmxNolnw)
Manual merge.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-22 11:37:00 +00:00
kaf24@firebug.cl.cam.ac.uk 2594f8caad bitkeeper revision 1.1159.272.7 (42400319uaziODdhs_qBb3aaQuxIEg)
Back-port the AGP patch that has been checked into the 2.6-mm tree
by Andrew Morton.
Signed-off-by: Keir Fraser <keir@Xensource.com>
2005-03-22 11:35:53 +00:00
kaf24@firebug.cl.cam.ac.uk 5922c392cb bitkeeper revision 1.1236.1.108 (423fe7beyFkqCprMaL7QQL_zfloFtQ)
tiny makefile fix.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-22 09:39:10 +00:00
kaf24@firebug.cl.cam.ac.uk b9e2107336 bitkeeper revision 1.1236.1.107 (423fe7a68FOsyuQeKM4k2_0KKlkoEg)
Calling alloc_boot_pages() after end_boot_allocator() can result in
double allocation of the same page.
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-22 09:38:46 +00:00
kaf24@firebug.cl.cam.ac.uk 1e511a0c52 bitkeeper revision 1.1236.1.106 (423fdf68Jj2B3iL1Ab8caOSNgsAs-w)
Cross-architecture build fixes.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-22 09:03:36 +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
akw27@arcadians.cl.cam.ac.uk 63bebd7510 bitkeeper revision 1.1236.1.104 (423f3d6fogKK-3Ekb9tjwtdIycRzfw)
little fix to remote read path

Signed-off-by: andrew.warfield.cl.cam.ac.uk
2005-03-21 21:32:31 +00:00
akw27@arcadians.cl.cam.ac.uk 2c9dea7c1b bitkeeper revision 1.1236.1.103 (423f2997yh5jfJbfPzgZOswMIKL-RA)
manual merge of James's stuff.
2005-03-21 20:07:51 +00:00
akw27@arcadians.cl.cam.ac.uk d4282ab308 bitkeeper revision 1.1236.38.1 (423f270ey18R1fJMKT6mo5gO0HvPiQ)
Incremental fixes to plx stuff.

Signed-off-by: andrew.warfield@cl.cam.ac.uk
2005-03-21 19:57:02 +00:00
kaf24@firebug.cl.cam.ac.uk 67e1adab52 bitkeeper revision 1.1236.1.102 (423f0cf0IKBttbyFsA4dM4ZHz13vAQ)
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-21 18:05:36 +00:00
kaf24@firebug.cl.cam.ac.uk 1abc0a00ce bitkeeper revision 1.1236.1.101 (423f0cb4e4UtnlbkQsaMhXYz4hi__w)
Add CMPXCHG8B support to the instruction emulator.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-21 18:04:36 +00:00
vh249@arcadians.cl.cam.ac.uk d46869e28a bitkeeper revision 1.1159.272.6 (423ef7cda7Kpa_XoIQvmnA23rDLP2Q)
remove some bogus test while removing device

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-03-21 16:35:25 +00:00
kaf24@firebug.cl.cam.ac.uk 03d7fde4db bitkeeper revision 1.1236.1.100 (423e9979L44Puv-F5HidStoKQdiT-g)
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-21 09:52:57 +00:00
kaf24@firebug.cl.cam.ac.uk ec7d58705e bitkeeper revision 1.1159.272.5 (423e993erDjsPu07ds6TGA8mhwNOAA)
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-21 09:51:58 +00:00
kaf24@firebug.cl.cam.ac.uk dec435003f bitkeeper revision 1.1159.273.4 (423e9936-Gs_rM0rC9UWa8TA2293kA)
Fix floppy driver on Xen -- vmalloc/vfree are unsafe because of the
context that the fd_dma functions may get called from.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-21 09:51:50 +00:00
iap10@tetris.cl.cam.ac.uk 31f77604f3 bitkeeper revision 1.1236.1.99 (423e8d21lC6p0xGxw7U1ExVLXpZQag)
Upgrade FreeBSD sparse tree from testing.bk to unstable.bk
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-03-21 09:00:17 +00:00
iap10@freefall.cl.cam.ac.uk a018e91e3d bitkeeper revision 1.1236.1.98 (423e8448K20cWCqBclQxKDfDoponGQ)
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-21 08:22:32 +00:00
iap10@freefall.cl.cam.ac.uk 608a4b13c9 bitkeeper revision 1.1159.272.4 (423e841947gMngP1oyDbc6vVjSMbqg)
Make freebsd build scripts executable.
Signed-off-by: ian@xensource.com
2005-03-21 08:21:45 +00:00
iap10@freefall.cl.cam.ac.uk ab94d5e692 bitkeeper revision 1.1236.1.97 (423e82fclMiIt8jCVqmHEQxFlBX83w)
Make scripts under tools/gdb executable.
Signed-off-by: ian@xensource.com
2005-03-21 08:17:00 +00:00
iap10@freefall.cl.cam.ac.uk d73b5730fb bitkeeper revision 1.1159.272.3 (423e7e90uxPqdRoA4EvOUikif-yhXA)
Check-in of the sparse tree for FreeBSD 5.3 (version 050317) 
This currently supports running as a domU.
  
- to create freebsd-5.3-xenU run fbsdxensetup from anywhere in the tree
- once created go to freebsd-5.3-xenU on a FreeBSD 5.3 machine, run
  xenfbsd_kernel_build - you'll find kernel and kernel.debug under
  i386-xen/compile/XENCONF
  
See http://www.fsmware.com/xenofreebsd/5.3/xenbsdsetup.txt
  
Thanks to NetApp for their contributions in support of the FreeBSD port to Xen
.
  
Signed-off-by: Kip Macy <kip.macy@gmail.com
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-03-21 07:58:08 +00:00
iap10@freefall.cl.cam.ac.uk a280a68e63 bitkeeper revision 1.1159.272.2 (423dcf7cq_wRMtRWREguqLLbacTtyw)
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-2.0-testing.bk
2005-03-20 19:31:08 +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 e605a33bc9 bitkeeper revision 1.1236.1.95 (423d90c7SBXNlShGVmT7ksTwZFp-Bw)
LSM INIT INFO block added to xendomains
From: Kurt Garloff
Signed-off-by: ian@xensource.com
2005-03-20 15:03:35 +00:00
iap10@firebug.cl.cam.ac.uk 6b55919bfa bitkeeper revision 1.1236.1.94 (423d8424xa3IjKUn_8z0s4Bbep3LKA)
Trivial nits in the network-nat script..
signed-off by Nivedita Singhvi (niv@us.ibm.com)
2005-03-20 14:09:40 +00:00