Commit Graph
114 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 1c57a9e116 Small time fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-10 16:03:31 +00:00
kaf24@firebug.cl.cam.ac.uk b6e5a7b02b Fix wallclock initialisation in domain0.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-10 15:14:50 +00:00
kaf24@firebug.cl.cam.ac.uk e9041e1e82 Fix time handling on x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-10 12:56:47 +00:00
kaf24@firebug.cl.cam.ac.uk 15f4fae9dc dma_map_single can't sleep since it may be called with locks held, or
interrupts off, etc.   Thus it shouldn't make sleeping allocations.

Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-08-10 09:50:05 +00:00
kaf24@firebug.cl.cam.ac.uk 42c9a99912 The following patch adds cramfs support to domU kernels so cramfs based
ramdisks can be used for initrds.

Signed-off-by: Sean Dague <sean@dague.net>
2005-08-10 09:09:15 +00:00
kaf24@firebug.cl.cam.ac.uk 191a7d28f8 Directly including ../tools breaks building in separate object tree,
as well as building from mkpatch patch (I believe Rik hit that one).
This puts xenstore headers in linux-public.

Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-08-09 13:53:15 +00:00
kaf24@firebug.cl.cam.ac.uk ba529a426c PAE PMDs must be made writable before freeing. 2005-08-09 13:08:25 +00:00
kaf24@firebug.cl.cam.ac.uk 1787e1a4b7 When building in separate object directory entry.o fails building
because entry.S includes syscall_table.S but it's in the wrong
directory.  This simply adds the obj-dir to the include search path.

Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-08-09 10:47:41 +00:00
cl349@firebug.cl.cam.ac.uk 1b63dcf8f4 Restore suspend/resume calls for the control interface on suspend/resume.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-09 09:34:06 +00:00
kaf24@firebug.cl.cam.ac.uk bc7615a229 That one is obviously needed to make pae xen-linux work with
more than 4GB.
2005-08-08 16:51:02 +00:00
kaf24@firebug.cl.cam.ac.uk 31b2ad0533 Fix x86/64 xenlinux build. Remove stupid patch.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-08 14:39:29 +00:00
kaf24@firebug.cl.cam.ac.uk 8718ef030b Fix signedness issue in xenlinux timer interrupt handler.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-08 14:13:36 +00:00
kaf24@firebug.cl.cam.ac.uk b352ab0b9a Really fix the x86/64 build. Get rid of push/pop from
scale_delta().
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-08 12:31:04 +00:00
kaf24@firebug.cl.cam.ac.uk 40e0c1037a Fix the x86/64 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-08 12:07:19 +00:00
kaf24@firebug.cl.cam.ac.uk 76cc3f4579 Remove dead files. 2005-08-08 11:06:45 +00:00
kaf24@firebug.cl.cam.ac.uk 8cf6cfe286 Fix both Xen and XenLinux to correctly handle 64-bit
time deltas. Good for robustness and future-proofing.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-08 10:59:22 +00:00
kaf24@firebug.cl.cam.ac.uk 9174fdfbfc Fix hw_resend_irq() -- IRQ_PENDING must be propagated back
to evtchn_pending[] bit during irq_enable, or the delayed
callback may never happen.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-08 09:12:22 +00:00
kaf24@firebug.cl.cam.ac.uk aba8322b54 Attached is a patch to x86_64 xenlinux. It also includes cleanups. We
are also working on SMP + writable pagetable support now.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-08-08 08:18:38 +00:00
kaf24@firebug.cl.cam.ac.uk 97ef1d5297 this patch fixes X86_64 Xorg Xfree86 issues.
Signed-off-by: Xin Li <xin.b.li@intel.com>
2005-08-07 08:56:57 +00:00
kaf24@firebug.cl.cam.ac.uk 1271b79339 More time-interface fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-06 15:24:22 +00:00
kaf24@firebug.cl.cam.ac.uk ce5f74eea0 Fix xenbus_read() usage in shutdown handler. 2005-08-06 09:54:57 +00:00
kaf24@firebug.cl.cam.ac.uk b07bb957ff - include linux/vmalloc.h for vmalloc
- include grant table includes from common.h rather than blkback.c,
  since both C files use grant tables
- include linux/version.h from block.h (a macro there uses it)
- include asm-xen/hypervisor.h from block.h (virt_to_machine)

Signed-off-by: Matthew Chapman <matthewc@hp.com>
2005-08-06 09:52:01 +00:00
kaf24@firebug.cl.cam.ac.uk a5af5704b2 This patch changes the vcpu-hotplug handler from using control message
over to using xenstore for triggers.  Dropping the control messages also
fixes the issue with not being able to use xm vcpu-hotplug on dom0.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
2005-08-06 09:50:51 +00:00
kaf24@firebug.cl.cam.ac.uk 52c8195eb2 This patch changes the probe notifier, per Rusty's suggestion. It
also converts the balloon driver to use the notifier structure, and
removes the root-watch workaround.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-08-06 09:49:22 +00:00
kaf24@firebug.cl.cam.ac.uk 32060bbf97 This patch changes the shutdown driver and xend to use strings instead
of codes for signaling a shutdown request.

Also, we fix the return code for the shutdown notifier, so other
notifiers will get to run ;)

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-08-06 09:48:47 +00:00
kaf24@firebug.cl.cam.ac.uk 339bc1ef13 Fix xtime_lock handling to avoid deadlock in sched_clock().
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-05 14:57:43 +00:00
kaf24@firebug.cl.cam.ac.uk 8bfe74175c No need to define errno defined at the top of reboot.c.
err2 is only needed when CONFIG_MAGIC_SYSRQ is defined.

Signed-off-by: Li Xin <xin.b.li@intel.com>
2005-08-05 09:53:04 +00:00
kaf24@firebug.cl.cam.ac.uk fe0b8e6e6e The attached patch:
1. Converts the shutdown driver and xend to use the store instead of
   control messages, 

2. Includes Anthony's xenstore notification code, and

3. Changes xend so that sysrq's are no longer sent as "special case"
   shutdown messages.  Store keys are cheap, so making the sysrq
   delivery less obscure is good.

I think I have made all of the appropriate modifications to Xend, but
it is complex, so I may have missed something.  Comments are welcome.

Signed-off-by: Dan Smith <danms@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-08-05 08:59:41 +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 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 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 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 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 f3c3d728ee Merge, 2005-08-03 09:35:16 +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
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
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 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