Commit Graph
4868 Commits
Author SHA1 Message Date
cl349@firebug.cl.cam.ac.uk 06dd36fc2b bitkeeper revision 1.1389.1.54 (4283d27bubGjVv8CuO6h-NAyHyG8ww)
Rules.mk:
  Fix early creation of .bk_skip file.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-12 22:02:35 +00:00
cl349@firebug.cl.cam.ac.uk 6ce4e97f02 bitkeeper revision 1.1389.1.53 (4283a9ddh938uAD1Jnb_4rll_ioGBw)
Merge Makefile changes.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-12 19:09:17 +00:00
cl349@firebug.cl.cam.ac.uk 0dee2d1580 bitkeeper revision 1.1159.258.119 (4283a888gsRWQWQLWB6wIgoYAW7l0Q)
Merge.
2005-05-12 19:03:36 +00:00
cl349@firebug.cl.cam.ac.uk ef65d9f9af bitkeeper revision 1.1159.280.1 (4283a76ftpuj_gm_Dw7id90bgDL3JQ)
Many files:
  Use marker files instead of depending on the change times of directories.
ignore:
  Add patches/*/.makedep.
  Cleanup ignore list.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-12 18:58:55 +00:00
kaf24@firebug.cl.cam.ac.uk 739050b063 bitkeeper revision 1.1389.1.52 (42839937dfdfndUpTNENRU4pLS6XDw)
Add 'apic={verbose,debug}' option to Xen. Same meaning as on Linux
command line, and automatically propagated to domain0 command line.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-12 17:58:15 +00:00
mwilli2@equilibrium.research 359e924a86 bitkeeper revision 1.1159.258.118 (42838bd51otdD7c_dgDNIyjTJD52hg)
Fix source fetch for Linux 2.4 and NetBSD 2.0.

Signed-off-by: mark.williamson@cl.cam.ac.uk
2005-05-12 17:01:09 +00:00
cl349@firebug.cl.cam.ac.uk 6f8b0f05bc bitkeeper revision 1.1389.1.51 (428379b5QDaS6ue4t6H9hMTIZ0L7Yw)
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-clean
2005-05-12 15:43:49 +00:00
cl349@firebug.cl.cam.ac.uk 4d384e8819 bitkeeper revision 1.1389.21.1 (4283792ffw1RN7kz5eMAmtk7CtBWnQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk-clean
2005-05-12 15:41:35 +00:00
cl349@firebug.cl.cam.ac.uk 7a61c7cf0c bitkeeper revision 1.1159.258.117 (4283790fhpDiiKA-POixMtbhwAG92Q)
mk.linux-2.6-xenU, mk.linux-2.6-xen0, mk.linux-2.4-xenU, mk.linux-2.4-xen0:
  Honour EXTRAVERSION when trying to re-use a config file from a previous build.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-12 15:41:03 +00:00
kaf24@firebug.cl.cam.ac.uk ad6b1fa993 bitkeeper revision 1.1389.1.50 (4283754dTJV8OKiH7gTm6FnKuQ2bVQ)
Fix the Xen build.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-12 15:25:01 +00:00
kaf24@firebug.cl.cam.ac.uk 7ef0d92af9 bitkeeper revision 1.1389.1.49 (4283701cNLgzy29rE9Sw2-Jbp4DdZA)
Remove 'exec_domain' from Xen public interfaces. Replace with 'vcpu'.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-12 15:02:52 +00:00
cl349@firebug.cl.cam.ac.uk 14075b5708 bitkeeper revision 1.1389.1.48 (42836f72EBNLwNA4D8-S8cagu1l_vw)
setup.c:
  Make info message more Linux-y.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-12 15:00:02 +00:00
cl349@firebug.cl.cam.ac.uk 6302bb0225 bitkeeper revision 1.1389.1.47 (42836cd4srC1stNhh993obPmIIEFAA)
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-clean
2005-05-12 14:48:52 +00:00
cl349@firebug.cl.cam.ac.uk 4890c419a3 bitkeeper revision 1.1389.1.46 (4283631eUmC8xxb4Luie9Aq6MS5-dA)
setup_arch_post.h, setup.c:
  Clenup whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-12 14:07:26 +00:00
cl349@firebug.cl.cam.ac.uk ba340f571e bitkeeper revision 1.1389.1.45 (4283617cR1xdjJGK5MYgFMrtuHR22w)
Merge firebug.cl.cam.ac.uk:/auto/homes/maw48/xen-3.0-resources.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk-clean
2005-05-12 14:00:28 +00:00
kaf24@firebug.cl.cam.ac.uk 3b2bf5dfb1 bitkeeper revision 1.1389.20.1 (42836117f2yEkILParltXJcom3kTeA)
More descriptive 'flags' and 'id' field names for exec_domain/domain
structures seems a good idea after all. At the same time, I've renamed
the flag macros to be a bit neater and more descriptive, and more in
keeping with the style of such definitions in asm/mm.h, for example.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-12 13:58:47 +00:00
cl349@firebug.cl.cam.ac.uk eae2aa7b7d bitkeeper revision 1.1389.1.44 (42836092KAyZPo1cIHGipoDmz3w67g)
setup.c:
  Cleanup really randomly added whitespace -- is your space key stuck?
  Cleanup whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-12 13:56:34 +00:00
cl349@firebug.cl.cam.ac.uk a6ba03510e bitkeeper revision 1.1389.1.43 (42835a07_9U_50pDnxsJHWFZtJqg5g)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk-clean
2005-05-12 13:28:39 +00:00
cl349@firebug.cl.cam.ac.uk 51e483445c bitkeeper revision 1.1159.258.116 (428359f0cF8i9gaj87EgNT_PVHLMFw)
Add linux-2.6.11.8 patch.
linux-2.6.11.8.patch:
  new file
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-12 13:28:16 +00:00
cl349@firebug.cl.cam.ac.uk 3325b7e9bb bitkeeper revision 1.1389.1.42 (42835536rA-h77TrcPbgY_ReOoY4bQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk-clean
2005-05-12 13:08:06 +00:00
cl349@firebug.cl.cam.ac.uk 6069383c3e bitkeeper revision 1.1389.1.41 (42835514T1QbNOwRPkiEW4rPgYhumw)
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-clean
2005-05-12 13:07:32 +00:00
cl349@firebug.cl.cam.ac.uk 27daa2be17 bitkeeper revision 1.1159.258.115 (428354804NJckGgn06IblzmoXJ6F4A)
Many files:
  Add additional intermediate tree (e.g. ref-linux-2.6.11) which is a pristine
  tree with the patches from patches/$(OS)-$(OS_VER) applied.  The pristine tree
  is really pristine now.  Also add dependency of ref-$(OS)-$(OS_VER) tree on
  patches in patches/$(OS)-$(OS_VER).
ignore:
  Add ref-*
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-12 13:05:04 +00:00
maw48@labyrinth.cl.cam.ac.uk df043264bf bitkeeper revision 1.1389.15.22 (42834743b1YPCf2OAXmLFLLg0agiUA)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xeno.bk
into labyrinth.cl.cam.ac.uk:/auto/homes/maw48/xen-3.0-resources.bk
2005-05-12 12:08:35 +00:00
kaf24@firebug.cl.cam.ac.uk 6f95675129 bitkeeper revision 1.1389.19.8 (428335d9JeSxN4hU8MATZ9cOA0J-bg)
Read-only mapping in blkback driver was correct after all.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-12 10:54:17 +00:00
kaf24@firebug.cl.cam.ac.uk cc969c31a5 bitkeeper revision 1.1389.19.7 (428332faE9tXKL2EQy-9cj-_mI0V8Q)
Fix blkfront driver for 2.4 domU.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-12 10:42:02 +00:00
kaf24@firebug.cl.cam.ac.uk 6962e18db6 bitkeeper revision 1.1389.19.6 (4283326fLInxsBy4d19FLaiMPEMO4w)
Some more mmap() error-return fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-12 10:39:43 +00:00
rusty@rustcorp.com.au[kaf24] 3b0a5597b0 bitkeeper revision 1.1389.19.5 (42833116hOft6cekTRSGqSIk2tNzGA)
[PATCH] [PATCH] libxc: mmap doesn't return NULL on error...

Hi, was reading libxc code, and noticed this.  Patch is bigger than
strictly necessary due to indent adjust.

Against latest bk.
Rusty.
2005-05-12 10:33:58 +00:00
kaf24@firebug.cl.cam.ac.uk ec8f5e583c bitkeeper revision 1.1389.19.4 (42833083E4kFA8A5tBgDNgF_X2CkBA)
Fix the x86/64 build. Patch based on one from Andrei Petrov.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-12 10:31:31 +00:00
kaf24@firebug.cl.cam.ac.uk b7fa59bea1 bitkeeper revision 1.1389.19.3 (42832ff7ACb43Qx1ZO4faAq_Dh0ClA)
Make shadow_lock() acquire the recursive per-domain BIGLOCK. This change
is easily reverted at the top of shadow.h. This also fixes a problem
with nested shadow_locking -- this is okay because BIGLOCK is nestable.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-12 10:29:11 +00:00
kaf24@firebug.cl.cam.ac.uk d897db882b bitkeeper revision 1.1389.19.2 (428321b5bcT5YAmWdW7tRiZwz5gF8A)
Fix read-only mappings in blkback driver.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-12 09:28:21 +00:00
kaf24@firebug.cl.cam.ac.uk f513d1d62f bitkeeper revision 1.1389.19.1 (42832192JUW7jFIgG2nBVTpvJUUvKA)
Fix page-faulting error path in privileged-instruction emulator.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-12 09:27:46 +00:00
mwilli2@equilibrium.research b02530a775 bitkeeper revision 1.1389.15.21 (4282aa75a-T-dS1Y6SxMFP1eBJkE5w)
Fix the fake e820 map for dom0 and unpriv domains, request certain
resources only when in dom0.

This makes /proc/iomem look "more" normal and makes kernel IO memory
resource tree more accurate.

Signed-off-by: mark.williamson@cl.cam.ac.uk
2005-05-12 00:59:33 +00:00
mwilli2@equilibrium.research a4af3c84c0 bitkeeper revision 1.1389.15.20 (428294c4qHPwfJns6WjtuWHA518RQg)
Build tweak for earlier domU ACPI fixes.  Silly me.

Signed-off-by: mark.williamson@cl.cam.ac.uk
2005-05-11 23:27:00 +00:00
mwilli2@equilibrium.research 579782b143 bitkeeper revision 1.1389.15.19 (42828a54qRrbnAaV5PFjo8DC3XonFA)
Merge
2005-05-11 22:42:28 +00:00
mwilli2@equilibrium.research 8c923d4c41 bitkeeper revision 1.1389.18.1 (428289b8KkAz82ikwIly2BN9DLZJJw)
Fix xen0 kernel to run in unprivileged domains by disabling ACPI.

Signed-off-by: mark.williamson@cl.cam.ac.uk
2005-05-11 22:39:52 +00:00
cl349@firebug.cl.cam.ac.uk bead44b202 bitkeeper revision 1.1389.15.18 (42826a4bIyE6hp7QaYulFBx8yx2LTQ)
cdb.c:
  Fix cdb build.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-11 20:25:47 +00:00
cl349@firebug.cl.cam.ac.uk 475943e46a bitkeeper revision 1.1389.15.17 (42826929NzXOK9PSr4_HoDheSjVx3A)
vmx.h, i387.h, vmx_vmcs.c, vmx_io.c, vmx.c, traps.c:
  Implement a eager save/lazy restore algorithm for dealing with the
  FP state of a VMX guest.
Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-11 20:20:57 +00:00
cl349@firebug.cl.cam.ac.uk 9d2218f487 bitkeeper revision 1.1389.15.16 (428243f7AUGUUcGs4LGHbUO4lUoHyw)
smpboot_hooks.h, smpboot.c:
  Fix domU build after ACPI changes.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-11 17:42:15 +00:00
cl349@firebug.cl.cam.ac.uk ea15b5bc90 bitkeeper revision 1.1389.15.15 (428242f7nXN4g9eyz6qI4P8iLGAGTg)
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-05-11 17:37:59 +00:00
cl349@firebug.cl.cam.ac.uk 1ab02347d8 bitkeeper revision 1.1389.15.14 (428242a6WycHvjFblUGQbKtJd94NPg)
Many files:
  Merge interface changes from previous 'Split out context fetching into
  separate DOM0 op' and 'xen,tools: pincpu use vcpu and cpumap_t' checkins.
xc_linux_save.c:
  Undo incorrect change from previous patch.
xc.h, xc_domain.c:
  Cleanup whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-11 17:36:38 +00:00
kaf24@firebug.cl.cam.ac.uk b1b326b91a bitkeeper revision 1.1389.17.3 (42823d4825o1wYghBqsaekhllO6ocQ)
Domain builders need only set bit 9 of EFLAGS (Interrupt Enable).
Setting this bit is enforced by Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-11 17:13:44 +00:00
kaf24@firebug.cl.cam.ac.uk 841992ba6c bitkeeper revision 1.1389.17.2 (42823d03EYcqclnB3eLTbH6vjWBSEA)
Fix docs.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-11 17:12:35 +00:00
kaf24@firebug.cl.cam.ac.uk bfe89d9ca0 bitkeeper revision 1.1389.17.1 (42823056RNtq4AlseRHL98DJV2uJgA)
Change the Xen command-line parameter syntax. 'noacpi' and 
'ignorebiostables' are gone. 'dom0_mem' can optionally take a k/m/g
suffix to specify units (default units are still kilobytes).

Also added:
 1. 'mem=xxx' to specify maximum physical RAM address (supports
     k/m/g suffix)
 2. acpi=xxx/acpi_skip_timer_override/noapic: These all have same
    semantics as in Linux. They are *automatically* propagated to
    the domain0 command line, as dom0 shares resposibility for
    platform initialisation.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-11 16:18:30 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] 6d6ca3b27e bitkeeper revision 1.1389.15.13 (42821f23dLMLc5Ql8Y-rUwoatYBI6g)
Split out context fetching into separate DOM0 op
make GETDOMAININFO a little more sensible with respect to MP
make coredump dump all cpu contexts
Signed-off-by: Kip Macy <kmacy@netapp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-11 15:05:07 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] f40dbd20a7 bitkeeper revision 1.1389.15.12 (4282139cqW2wfHd_j61lSLRU-N8uog)
dom0_ops.h:
  Bump dom0 interface version number.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-11 14:15:56 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] 0ececa920d bitkeeper revision 1.1389.15.11 (428212beixWz2Ftz7Wj0NeY03LmBnA)
sched.h, dom0_ops.h, dom0_ops.c, xc_domain.c, xc.h:
  Minor cleanups.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-11 14:12:14 +00:00
cl349@firebug.cl.cam.ac.uk[cl349] b7c498208c bitkeeper revision 1.1389.15.10 (428202c9Vz9xfNsG-q-WtZpPrER7xQ)
[PATCH] xen,tools: pincpu use vcpu and cpumap_t

The following patch updates the dom0 pincpu operation to read the VCPU
value from the xend interface rather than hard-coding the exec_domain to
0.  This prevented pinning VCPUS other than 0 to a particular cpu.  The
pincpu cpu argument is replaced with cpumap, a u64 bitmap representing
which CPUs a VCPU can use.

I added the number of VCPUS to the main xm list output and also included
a new sub-option to xm list to display the VCPU to CPU mapping.  While
working on the pincpu code, I fixed an out-of-bounds indexing for the
pincpu operation that wasn't previously exposed since the
vcpu/exec_domain value was hard-coded to 0.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-05-11 13:04:09 +00:00
kaf24@firebug.cl.cam.ac.uk e7e68bca44 bitkeeper revision 1.1389.15.9 (4281c2ffL85lCEE0o1Tvr8CCJWkhGw)
Remove generic pci.h and ioport.h header files.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-11 08:31:59 +00:00
kaf24@firebug.cl.cam.ac.uk 5d94391348 bitkeeper revision 1.1389.15.8 (4281c005VbqFpMOn_OwOw1JKlDQBiQ)
added tag ia64-stable
2005-05-11 08:19:17 +00:00
kaf24@firebug.cl.cam.ac.uk 8efee44486 bitkeeper revision 1.1389.15.8 (4281bcbaUAXd-mXY9bU_xjLtHjFVJg)
Xen parses IOAPIC entries in the ACPI MADT.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-11 08:05:14 +00:00