Commit Graph
6017 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 2245cfc689 Merge 2005-08-04 16:53:30 +00:00
kaf24@firebug.cl.cam.ac.uk c9501438bb Fix event-upcall masking when creating a trap frame
on guest kernel stack. Previously an exception would
clear an already-set mask. 
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-04 16:53:11 +00:00
akw27@arcadians.cl.cam.ac.uk 15c8e89845 Blktap updates: request batching, O_DIRECT/AIO support.
This patch changes the blktap code mapping pages to user space to be
faster and to allow page lookups to foreign mapped pages through linux
to do direct io.  An AIO test driver on this achieves comparable
performance to the in-kernel block-backend.

Signed-off-by: andrew.warfield@cl.cam.ac.uk
2005-08-04 16:35:35 +00:00
akw27@arcadians.cl.cam.ac.uk 8148452c35 Add missing parallax makefile.
Seems to have vanished in the directory shuffle of last month.

Signed-off-by: andrew.warfield@cl.cam.ac.uk
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-08-04 15:02:09 +00:00
akw27@arcadians.cl.cam.ac.uk 5fa8dca989 Fix two syntax errors in frame-and-sect decoding macros.
Both are in the non-grant-tables cases of 
cset ae51fa1d32b23066c4342bbeb5f4dc401b82ea37.

Signed-off-by: andrew.warfield@cl.cam.ac.uk
2005-08-04 14:32:21 +00:00
kaf24@firebug.cl.cam.ac.uk 281d3b20f0 Fix iopl() syscall so that we pass LTP's iopl02 test.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-04 13:13:02 +00:00
kaf24@firebug.cl.cam.ac.uk f6d93de51e The attached patch removes all of the console handling code from Xend
and changes xm to simply exec /usr/libexec/xen/xc_console.

I've done a pretty good amount of testing and this seems to clear up all 
of the Xend console issues in bugzilla.

This is a pretty big change to Xend though with a lot of deleted code so 
I'd appreciate if people more familiar with the Xend codebase could look 
through it critically.

In addition to the patch, the following files are no longer used:

tools/python/xen/util/console_client.py
tools/python/xen/xend/XendConsole.py
tools/python/xen/xend/server/SrvConsole.py
tools/python/xen/xend/server/SrvConsoleDir.py
tools/python/xen/xend/server/console.py

Regards,

Anthony Liguori

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-08-04 09:00:16 +00:00
kaf24@firebug.cl.cam.ac.uk c025f1530a Here are another couple of places where 8 sectors/page is assumed,
which I missed in my first patch.

Signed-off-by: Matthew Chapman <matthewc@hp.com>
2005-08-04 08:58:18 +00:00
kaf24@firebug.cl.cam.ac.uk 165c0d1741 libxenstore (used to access the daemon) should be licensed under LGPL.
There are several people I am aware of interested in writing non-GPL
tools, and this code is trivial, so they'd just end up writing their
own.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2005-08-04 08:57:37 +00:00
kaf24@firebug.cl.cam.ac.uk f242fca3d2 Merge. 2005-08-04 08:49:45 +00:00
iap10@freefall.cl.cam.ac.uk ed4eb9df9b Add linux 2.6.12.3 patch
Signed-off-by: ian@xensource.com
2005-08-03 21:17:17 +00:00
kaf24@firebug.cl.cam.ac.uk e8657a7dad Move more drivers to bind_evtchn_to_irqhandler() interface.
The most important ones are all done now.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-03 16:11:32 +00:00
kaf24@firebug.cl.cam.ac.uk 98506e40b1 On x86, Xen does not claim any serial port unless the user
explicitly specifies a 'com1=' or 'com2=' configuration
string. This prevents users from being surprised when Xen
stops domain0 from accessing serial port registers.

On ia64 we still allow serial ports to get automatically
configured and locked down even if no 'com1' is specified
on the command line. This maintains the default preferred
by the IA64 developers.

Also, the method for specifying 'use existing baud rate'
has changed. Instead of specifying com1=0, you must now
specify e.g., com1=auto

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-03 14:44:19 +00:00
kaf24@firebug.cl.cam.ac.uk 2ca1179da8 Virtual device drivers use new bind_evtchn_to_irqhandler() call
instead of directly interfacing with Linux IRQ subsystem. This
allows them to be used in situations where the IRQ subsystem is
not paravirtualised.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-03 12:51:35 +00:00
kaf24@firebug.cl.cam.ac.uk c999562c6c MErge. 2005-08-03 09:35:38 +00:00
kaf24@firebug.cl.cam.ac.uk f3c3d728ee Merge, 2005-08-03 09:35:16 +00:00
kaf24@firebug.cl.cam.ac.uk 6052a8fee9 The attached trivial patch fixes a spurious gcc-4.0 warning in
xen/arch/x86/mm.c when building the current hg tip.  Due to -Werror,
this breaks builds with gcc-4.0.

Signed-off-by: Josh Triplett <josht@us.ibm.com>
2005-08-03 09:34:37 +00:00
kaf24@firebug.cl.cam.ac.uk d9837657c1 gcc-3.4/ia64 compilation fixes.
The ia64 parts of this patch are already in xen-ia64-unstable.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-03 09:33:09 +00:00
kaf24@firebug.cl.cam.ac.uk baa265234e 1) Make more functions in io.c static
2) Fix memory leak in domain free
3) Fix error path in read (reported by aq)
4) Move reading of buffer limit to tty reconnect so that changes in 
limit take affect more quickly.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-08-03 09:32:39 +00:00
kaf24@firebug.cl.cam.ac.uk 970440402e Merge. 2005-08-03 09:27:27 +00:00
kaf24@firebug.cl.cam.ac.uk 00244f3e7b Manual merge. 2005-08-03 09:22:03 +00:00
iap10@freefall.cl.cam.ac.uk 59c6a98fcd Update -xen config file for net grant tables. Default to 'y' since this is the kernel we want to use on the test CD and we want to have grant tables on by default.
Signed-off-by: ian@xensource.com
2005-08-03 09:11:49 +00:00
kaf24@firebug.cl.cam.ac.uk 8ece4e0123 Manula merge. 2005-08-03 09:06:10 +00:00
kaf24@firebug.cl.cam.ac.uk 7894bb2a4a Fix typo in Linux header file. Totally harmless -- the code
was never actually compiled in to a XenLinux kernel.
2005-08-03 09:05:46 +00:00
iap10@freefall.cl.cam.ac.uk 6450409d0b Modify default Linux 2.6 config files to build for PentiumPro instead of Pentium4. No idea how that ended up being the default.
Signed-off-by: ian@xensource.com
2005-08-03 09:05:29 +00:00
iap10@freefall.cl.cam.ac.uk 2304d1d144 Fix automatic toggling of PAE in Linux config files
Signed-off-by: ian@xensource.com
2005-08-03 08:52:28 +00:00
iap10@freefall.cl.cam.ac.uk e0c4ddb396 Since we use configs from dist/install/boot in preference to the default configs, update the PAE auto-switcher to work with these too.
Signed-off-by: ian@xensource.com
2005-08-03 08:25:58 +00:00
smh22@firebug.cl.cam.ac.uk a8498f221a Don't enable PAE by default just yet. 2005-08-03 06:46:53 +00:00
vh249@arcadians.cl.cam.ac.uk b13109ba83 fix netdriver grant table option back to n by default
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-08-03 00:07:48 +00:00
cl349@firebug.cl.cam.ac.uk 035ceca01c merge? 2005-08-02 23:13:50 +00:00
cl349@firebug.cl.cam.ac.uk 0f3e4de4cb Fix migration for SMP guests with 1 vcpu.
Free/setup timer irq on suspend/restore.
Only tested to localhost.  Also add initial code for >1 vcpu guests.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 23:13:13 +00:00
vh249@firebug.cl.cam.ac.uk df8fe7794a update x86_64 config files for grant table in netdriver
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-08-02 22:57:51 +00:00
djm@kirby.fc.hp.com 5105dbcbf8 Fix CONFIG_VTI build
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-02 15:38:45 -07:00
kaf24@firebug.cl.cam.ac.uk fadf487d95 Remove USB front/back from 2.4 build, totally. 2005-08-02 19:32:48 +00:00
cl349@firebug.cl.cam.ac.uk cfd6b38dc8 Update xenstore python bindings for "Implement watching of nodes which don't exist."
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 19:19:16 +00:00
cl349@firebug.cl.cam.ac.uk ba5fb52dda Fix SMP save/restore for 1 vcpu by adding suspend/resume functions for SMP.
We have to free_irq the irq vectors for the SMP ipi vectors.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 19:08:28 +00:00
cl349@firebug.cl.cam.ac.uk fd3721aea3 Fix unbind_ipi_from_irq - evtchn_to_irq[evtchn] not irq_to_evtchn[evtchn].
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 19:06:10 +00:00
cl349@firebug.cl.cam.ac.uk 43d67dd5b9 Add prototype for bind_ipi_on_cpu_to_irq.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 19:05:00 +00:00
cl349@firebug.cl.cam.ac.uk 872149a29c Add prototype for balloon_init_watcher.
Also cleanup balloon_init_watcher whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 19:04:13 +00:00
cl349@firebug.cl.cam.ac.uk b7f49181c9 Implement watching of nodes which don't exist.
Requires permission check every time event is generated.
Requires generalization of permissions: ask arbitrary number of
parents whether it's OK to tell about node (eg. watching
/dir/subdir/x when /dir is deleted: root permissions will now
determine whether we fire event).
Add test that we don't leak information on whether a file exists
or not.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 18:04:28 +00:00
cl349@firebug.cl.cam.ac.uk 0603c5d12a Fix typo.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 18:04:00 +00:00
cl349@firebug.cl.cam.ac.uk 879b63b37c Fix up non-valgrind case to send stderr to file like valgrind case does.
(Having trouble with signal delivery and valgrind, causing spurious test
timeouts)
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 17:59:59 +00:00
cl349@firebug.cl.cam.ac.uk c5a8d2c78b Don't abort on untranslatable errors: EINVAL and print warning
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 17:59:20 +00:00
djm@kirby.fc.hp.com 31dfa31bc0 Merging with xen-unstable 2005-08-02 10:20:46 -07:00
cl349@firebug.cl.cam.ac.uk d16ff05a08 merge? 2005-08-02 17:13:11 +00:00
cl349@firebug.cl.cam.ac.uk 59f1e250c2 Fix checkpointing - add save/restore support to the xenbus driver.
- Add xenbus driver suspend/resume functions
- Change xenbus irq to not be shared
- Translate store mfn in suspend record to pfn and back
- Make tools re-introduce the domain to the store
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-02 17:12:36 +00:00
kaf24@firebug.cl.cam.ac.uk 91071e38fe Better XenLinux page fault debug output for PAE.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-02 16:11:31 +00:00
smh22@firebug.cl.cam.ac.uk bf4410c5bc Fixes. 2005-08-02 15:42:06 +00:00
kaf24@firebug.cl.cam.ac.uk 7dd5c4ef07 A few consoled tweaks. It's not worth building by default
right now as it isn;t actually used.
2005-08-02 14:51:06 +00:00
kaf24@firebug.cl.cam.ac.uk 81efc4a27f Remove some binary files. 2005-08-02 12:37:37 +00:00