Commit Graph
6083 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 1d53b66990 Added regexp fixes
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-11 10:22:42 +00:00
kaf24@firebug.cl.cam.ac.uk 380400549d Check in files I missed from shadow64 checkin. 2005-07-11 09:57:38 +00:00
kaf24@firebug.cl.cam.ac.uk f2c61ffbe6 Fix stupid switch stmt mess-up that broke emulation
of move to/from debug register.
2005-07-11 09:22:15 +00:00
kaf24@firebug.cl.cam.ac.uk bdd71a572d Now we have extended the patch to support x86_64 domU as well. The
shadow mode survived with the domU running lmbench, ltp, kernbench, etc.
by running a script that enables shadow LOGDIRTY mode, CLEAN, and
disables at 5-second intervals in an infinite loop. Thanks Ian for
providing the Python script. Tested x86 domU and VMX domains as well.
Big ones are all new, and are used for 64-bit only. Please apply.

We also verified that shadow_64.c and shadow_public.c could be built for
x86 and that they worked fine there. We can provide a small patch that
does it (once the code is in ;-).

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
2005-07-11 09:14:11 +00:00
kaf24@firebug.cl.cam.ac.uk 8ab6a7f5a8 Don't build xenctx by default,a nd fix one error msg. 2005-07-11 09:03:24 +00:00
kaf24@firebug.cl.cam.ac.uk 42ea4c5a7a Manual merge. 2005-07-11 09:00:35 +00:00
kaf24@firebug.cl.cam.ac.uk c27ca580b0 cmpl workaround for mmio regions
Although we don't normally expect a guest to use cmpl against a MMIO region,
this may happen due to bugs. This workaround is needed for 64 bit linux-2.6.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-11 09:00:12 +00:00
kaf24@firebug.cl.cam.ac.uk 8d2dccd03c Remove debug printks.
Sometimes they generate too much output on serial console.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-11 08:59:58 +00:00
kaf24@firebug.cl.cam.ac.uk 4bcc590542 Narrow the diff between i386 and x86-64 for xen0 config.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-11 08:59:41 +00:00
kaf24@firebug.cl.cam.ac.uk 2a7c32670a More verbose log when vmx_decode() fails.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-11 08:59:22 +00:00
kaf24@firebug.cl.cam.ac.uk 1c86b5d22b Fix xenctx compilation and support 64 bit.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-11 08:59:01 +00:00
smh22@firebug.cl.cam.ac.uk e060edc8d0 fix build when not using grant tables for blkdev.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-07-10 19:16:40 +00:00
kaf24@firebug.cl.cam.ac.uk 68b45c11cd Manual merge. 2005-07-10 17:32:01 +00:00
kaf24@firebug.cl.cam.ac.uk 19c297adf4 Small fix to x86_64 entry.S. 2005-07-10 17:28:06 +00:00
kaf24@firebug.cl.cam.ac.uk c5581fe851 Remove checks for libcurl. It's no longer a dependency. 2005-07-10 17:15:48 +00:00
djm@kirby.fc.hp.com bd3c0147e4 Fix zeroing of some counters and add a couple more 2005-07-10 08:53:17 -07:00
ach61@arcadians.cl.cam.ac.uk 4920cbe9bd add ocaml compilation targets and pdb to .hgignore 2005-07-10 13:16:44 +00:00
djm@kirby.fc.hp.com a608bc4566 Intel's pre-bk->hg transition patches
Signed-off-by	Eddie Dong <Eddie.dong@intel.com>
Signed-off-by Anthony Xu <Anthony.xu@intel.com>
Signed-off-by Kevin Tian <Kevin.tian@intel.com>
2005-07-09 07:58:56 -07:00
djm@kirby.fc.hp.com ef04737cbf Add fast path for thash hyperprivop
Add fast path for ptc.ga hyperprivop
Add fast path for iaccess/daccess reflect
2005-07-09 07:37:13 -07:00
djm@kirby.fc.hp.com 2f17e74db1 Cleanup virtual translation code
Add some additional statistics
Signed-off by: Matt Chapman <matthewc@hp.com>
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-07-09 07:36:13 -07:00
djm@kirby.fc.hp.com 34e779ab91 Somehow this file got zeroed out?!? Replacing it 2005-07-09 07:25:29 -07:00
djm@kirby.fc.hp.com ab05ccfee9 Catch up to xen-unstable.hg tip 2005-07-09 06:54:10 -07:00
kaf24@firebug.cl.cam.ac.uk 067bbfc35f Manual merge. 2005-07-09 10:24:14 +00:00
kaf24@firebug.cl.cam.ac.uk c4c3f1739a Make structs non-empty. 2005-07-09 10:01:49 +00:00
sos22@douglas.cl.cam.ac.uk 505aae71fb Merge. 2005-07-08 17:38:38 +00:00
sos22@douglas.cl.cam.ac.uk 19213aa747 Get rid of some debug printks. 2005-07-08 17:37:33 +00:00
sos22@douglas.cl.cam.ac.uk 971dbf6978 Get a very primitive relation of IRQ affinity working. For the
minute, we just pick one vcpu out of the allowed set and allows route
the irq to that one; that's enough for the userspace irq balancer, but
not enough for the kernel-space one.

Whether it's actually worth implementing the full variant is open to
debate.

This also makes IRQ routing across vcpu hotplug events slightly
easier.

Signed-off-by: Steven Smith, sos22@cam.ac.uk
2005-07-08 17:33:42 +00:00
sos22@douglas.cl.cam.ac.uk 25d74aa446 Certain types of event channel are now auto-bound to vcpu0 by Xen.
Make sure that xenolinux agrees with this.
2005-07-08 15:35:43 +00:00
kaf24@firebug.cl.cam.ac.uk c1a9064dc7 Clean up Xen's event-channel interface, and semantics for binding
to VCPUs.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-08 14:17:54 +00:00
sos22@douglas.cl.cam.ac.uk acab4d6c5e Merge. 2005-07-08 12:24:58 +00:00
sos22@douglas.cl.cam.ac.uk 0aee149922 Merge. 2005-07-08 12:22:18 +00:00
kaf24@firebug.cl.cam.ac.uk aab6fa579e The attached patch adds a new dom0_op, DOM0_GETDOMAININFOLIST. This
operation allows retrieval of the domain info structures for all domains
in one hypercall.

Using a small test program, on a system with 97 domains with
non-contiguous domain IDs, I found that with this hypercall I could
retrieve the full array of info structures 12840 times per second, an
improvement from 2380 times per second with the DOM0_GETDOMAININFO op.

The patch also adds a libxc wrapper for this new hypercall.

Signed-off-by: Josh Triplett <josht@us.ibm.com>
2005-07-08 09:06:04 +00:00
kaf24@firebug.cl.cam.ac.uk d0797566aa trivial header fix for ACM code. 2005-07-08 08:48:46 +00:00
kaf24@firebug.cl.cam.ac.uk 674bfa2051 Fix top Makefile targets linux24 and linux26. 2005-07-08 08:47:17 +00:00
kaf24@firebug.cl.cam.ac.uk 75a2c700ea Add debug-register access emulation.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-08 08:44:36 +00:00
kaf24@firebug.cl.cam.ac.uk fb4f1fe815 python wrapper arg fix from aq. 2005-07-08 08:02:45 +00:00
djm@kirby.fc.hp.com 5d1bea72fe Dummy file to test hg push 2005-07-07 10:12:52 -07:00
sos22@douglas.cl.cam.ac.uk 59b2f965d4 Quick hack to make sure that pirqs and interdomain event channels are
all bound to vcpu0, rather vcpu0 99% of the time and an entirely
random otherwise.  This make sure things work nicely when you start
taking vcpus offline, since vcpu0 can't go offline; the correct
solution is to allow domains to change evtchn<->vcpu bindings.

Signed-off-by: Steven Smith, sos22@cl.cam.ac.uk
2005-07-07 09:27:25 +00:00
kaf24@firebug.cl.cam.ac.uk 847e60294d Fix cross-compilation, and gcc4.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
2005-07-07 08:08:40 +00:00
iap10@freefall.cl.cam.ac.uk e9c9f60eca Change default Xen scheduler to Stephan Diestelhorst's SEDF, which can provide time slice guarantees as well as weighted differentiation.
You can still select bvt by putting 'sched=bvt' on the Xen grub line.

Signed-off-by: ian@xensource.com
2005-07-06 23:16:32 +00:00
iap10@freefall.cl.cam.ac.uk 6ce59f047e Enable CONFIG_SMP, CONFIG_SMP_HOTPLUG and CONFIG_SMP_ALTERNATIVES in the -xenU default kernel.
Signed-off-by: ian@xensource.com
2005-07-06 22:54:29 +00:00
iap10@freefall.cl.cam.ac.uk 8e1bda2932 I updated the vcpu_to_cpu string creation to include a field separator,
which gets rid of the -1 -> # hack and works for cpus > 9.

I ran into some issues with stale vcpu_to_cpu lists when running the
hotplug subprogram.  I would take a vcpu offline, and then issue the
command to bring it back and the vcpu_to_cpu list would not have changed
to indicate the the vcpu actually went down.  If I injected a xm list -v
(which always showed the correct mapping) then subsequent hotplug
commands would see the state change and fire off the hotplug request.  I
don't know that not sending the event when not changing state saves that
much work so I took the state check out and now just send the hotplug
event directly.

> Also the whole hotplug stuff is still missing interrupt re-routing
> when a vcpu is taken down.  To do this, we need an evtchn operation to
> change the vcpu affinity of a port by changing notify_vcpu_id.

I don't fully understand all of the mappings that are happening, so this
part of the patch might be way off.  In any case, I've added a new
evtchn op to set the notify_vcpu_id field of a channel.  I updated the
HOTPLUG_CPU code to use the new routines when bringing cpus up and down.
When taking down a cpu, I route the IPI irq channels to CPU 0, and when
the cpu comes up, it re-routes the channels back to the awakened CPU.

From: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: ian@xensource.com
2005-07-06 22:23:18 +00:00
iap10@freefall.cl.cam.ac.uk 108420db45 manual merge 2005-07-06 18:57:54 +00:00
iap10@freefall.cl.cam.ac.uk 3f3552e1f5 manual merge 2005-07-06 18:56:55 +00:00
iap10@freefall.cl.cam.ac.uk 5fcd5ae74b manual merge 2005-07-06 18:55:16 +00:00
sos22@douglas.cl.cam.ac.uk 6c35d14c03 manual merge 2005-07-06 18:34:16 +00:00
sos22@douglas.cl.cam.ac.uk 7f8b4ff21e Fix SMP_ALTERNATIVES to cope with discarded init data.
Signed-off-by: steven.smith@cl.cam.ac.uk
2005-07-06 18:33:27 +00:00
ach61@arcadians.cl.cam.ac.uk b9527ee31a update hg cheatsheet 2005-07-06 18:27:32 +00:00
iap10@freefall.cl.cam.ac.uk 9bb03ec703 Add a dummy xen_defconfig_x86_64. Currently the same as xen0
Signed-off-bu: ian.pratt@cl.cam.ac.uk
2005-07-06 18:19:47 +00:00
iap10@freefall.cl.cam.ac.uk 7fcd38e59e manual merge 2005-07-06 18:19:06 +00:00