100 Commits
Author SHA1 Message Date
iap10@labyrinth.cl.cam.ac.uk 29822cad4f bitkeeper revision 1.1159.1.557 (4209531dcD_85ru3nT6SL_v6qHidAA)
Subject: [PATCH] mmio-decode-movz.patch

- Handle the movz instruction in the decoder. This was necessary to get
  X working.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-09 00:02:37 +00:00
iap10@labyrinth.cl.cam.ac.uk 6e533199b1 bitkeeper revision 1.1159.1.556 (420951de12d7YPCDmxFldoqZYbe2cw)
Subject: [PATCH] pit-in-hv.patch

- Use ac_timer for PIT interrupt injection (more accurate time keeping)
- Accelerate some critical PIT I/O operations in the hypervisor
  (saves 15us per op). Cuts down guest timer interrupt handler execution time
  by a third.
- If the domain is scheduled out, make sure that interrupts are not lost
- Add a generic framework for device I/O interception

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-08 23:57:18 +00:00
iap10@labyrinth.cl.cam.ac.uk 3b66390a75 bitkeeper revision 1.1159.1.555 (42094892MsTPGiy_x_uFbwMVQuq4Qg)
Fix the synchronization issues between xend and the device model at 
startup time.

Initialize the shared page in the hypervisor. Otherwise, the hypervisor
might try to inject spurious interrupts into the guest due to
uninitialized data.

Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-08 23:17:38 +00:00
iap10@labyrinth.cl.cam.ac.uk 3f789c23ce bitkeeper revision 1.1159.1.554 (4209402bTjMxzBx8aPHpjveufoaubQ)
manual merge
2005-02-08 22:41:47 +00:00
iap10@labyrinth.cl.cam.ac.uk 09d5eb5720 bitkeeper revision 1.1159.223.82 (42093f8cxZb9FQfWwmj7IIok9ndiPg)
minor stats collection addition
ian@xensource.com
2005-02-08 22:39:08 +00:00
iap10@labyrinth.cl.cam.ac.uk d117cb0a4a bitkeeper revision 1.1159.212.125 (42082eb7N-IslXNUjMvYswTnizJdsw)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-02-08 03:15:03 +00:00
iap10@labyrinth.cl.cam.ac.uk 02f82c2788 bitkeeper revision 1.1159.223.79 (42082ea1obdbIutzD0IY-9Fdcf7Exw)
Fix to memory debugging audit code.
  
Signed-off-by: ian@xensource.com
2005-02-08 03:14:41 +00:00
iap10@labyrinth.cl.cam.ac.uk 361ac64f30 bitkeeper revision 1.1159.212.124 (42082d88aeY4pFTDqfgHMrvhse0-PA)
Fix to memory debugging audit code.

Signed-off-by: ian@xensource.com
2005-02-08 03:10:00 +00:00
iap10@labyrinth.cl.cam.ac.uk 12296a9dd9 bitkeeper revision 1.1159.212.123 (42082005dxGUQnJcMdl-1781X20PQQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-02-08 02:12:21 +00:00
iap10@labyrinth.cl.cam.ac.uk 8582e1b222 bitkeeper revision 1.1159.248.1 (42081fedCWYqmUmFHfXFmy6z8jqp3w)
Some cleanups:

- Use ENTRIES_PER_L1_PAGETABLE instead of ENTRIES_PER_L2_PAGETABLE
- Use PAGE_SHIFT instead of L1_PAGETABLE_SHIFT

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-08 02:11:57 +00:00
iap10@labyrinth.cl.cam.ac.uk f4411a4540 bitkeeper revision 1.1159.212.122 (420813205N6xleek-CEt8_zMptvY9w)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-02-08 01:17:20 +00:00
iap10@labyrinth.cl.cam.ac.uk f5fedc454d bitkeeper revision 1.1159.223.78 (42081302-eWxmHBN6T8FdRJD5VvsOg)
This very simple patch is really just cosmetic.  It "fixes" xend so that
it doesn't report restart as: "WARNING (XendDomainInfo:1038) Unknown
config field restart" in the xend.log.  I'm not sure who should sign off
on this, but the patch is attached.

From: "B.G. Bruce" <bgb@nt-nv.com>
Signed-off-by: ian@xensource.com
2005-02-08 01:16:50 +00:00
iap10@labyrinth.cl.cam.ac.uk f003f6cbbe bitkeeper revision 1.1159.212.121 (42081031Gcfd1G5fgexBl7vd4XfmLQ)
Use 1:1 pagetables used for guest physical mode emulation for doing
phys_to_machine_mapping as well.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-08 01:04:49 +00:00
iap10@labyrinth.cl.cam.ac.uk a143af2f2c bitkeeper revision 1.1159.212.120 (42080fdeqkhdPXOxk9B5egncOrellQ)
Make phys_to_machine_mapping a static inline function.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-08 01:03:26 +00:00
iap10@labyrinth.cl.cam.ac.uk 6d5c7e8551 bitkeeper revision 1.1159.212.119 (42080936hYySAGh0O5TePVvGrzAKtA)
Enable PCI.

Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-08 00:35:02 +00:00
iap10@labyrinth.cl.cam.ac.uk fe5c36a66a bitkeeper revision 1.1159.212.118 (420808adQbNXWTSEhY2Rqu5ALqDF5Q)
- Detect the CPU speed automatically, rather than having the user 
  specify a ips in bochsrc. The user can still specify it to override
  the auto-detected value.

- Care should be taken to make sure that tsc_per_bx_tick is not too
  small or too big. Otherwise, numerical precision issues may result
  in the wrong calculation of elapsed time

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-08 00:32:45 +00:00
iap10@labyrinth.cl.cam.ac.uk d3fda59bcc bitkeeper revision 1.1159.212.117 (4208081dSxJads7MU6-VcXvC6TNMjQ)
- Use a more appropriate path for disk images
- Add a 1 GB disk image as an option

From: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-08 00:30:21 +00:00
iap10@labyrinth.cl.cam.ac.uk 7a966c632d bitkeeper revision 1.1159.212.116 (4208079bssB3TTrruGComoEvhNrq9Q)
Fix some of the time virtualization issues.

- Compute the elapsed time correctly in the cpu loop
- Try to inject interrupts in the vmexit handler

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-02-08 00:28:11 +00:00
iap10@labyrinth.cl.cam.ac.uk 94dc02967a bitkeeper revision 1.1159.212.109 (42078e8e1-3RnmEqHbanC69txgXoZQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-02-07 15:51:42 +00:00
iap10@labyrinth.cl.cam.ac.uk d08dd0ac71 bitkeeper revision 1.1159.223.75 (42078dd8VBcyJ0X9yF-bRHcBVUJ3Ww)
As pointed out on the xen-devel list, the vm86 call was not very robust in 
Xen.
It turned out to be due to a missing check in the pagefault handler, 
determining whether the pagefault came from userspace or from the kernel.
Now the syscall-crash tool doesn't cause any "Oops" on the vm86 calls anymore.

From: Stephan Diestelhorst <sd386@cam.ac.uk>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-07 15:48:40 +00:00
iap10@labyrinth.cl.cam.ac.uk d97505c6df bitkeeper revision 1.1159.247.1 (42077fc2VzXadqgxjViiGV6bG9CwbA)
Don't memcpy the arch specific bit of exec_domain from the idle task's. 
This caused the ctxt->pt_base !=0 error when starting new domains.
2005-02-07 14:48:34 +00:00
iap10@labyrinth.cl.cam.ac.uk d8ab68ec41 bitkeeper revision 1.1159.223.66 (42048ef5frMFQFFm-sKDC6PrU8yraQ)
Name: pic-lib.patch
Description: support PIC code generation
 Libraries have 2 methods of being compiled; a .so must contain non-pic
 objects, while the .a can contain standard objects.
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-05 09:16:37 +00:00
iap10@labyrinth.cl.cam.ac.uk bc7cc5527b bitkeeper revision 1.1159.223.65 (42048dd7csr55HLi2cE2XeC4OklTGg)
Name: clean-mtrr.patch
Description: clean mtrr
 Clean xen/arch/x86/mtrr/*
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-05 09:11:51 +00:00
iap10@labyrinth.cl.cam.ac.uk f7b633e6e8 bitkeeper revision 1.1159.223.64 (42048c67tDD9EILuuYdpEx-vM6LTnw)
Name: tools-misc-TARGETS.patch
Description: Split compile/link stages
 distcc behaves much better when you compile and link in 2 separate steps.
 Plus, this is a more standard way of doing things.
Signed-off-by: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-05 09:05:43 +00:00
iap10@labyrinth.cl.cam.ac.uk 705cc430ce bitkeeper revision 1.1159.212.90 (42047ed5VzguPrbGsZXJdWcbuo6YgA)
remove slab.c
2005-02-05 08:07:49 +00:00
iap10@labyrinth.cl.cam.ac.uk b64bc9d18d bitkeeper revision 1.1159.212.88 (4203fbb5CoEmX_fzlXc90dxNw6gqoA)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bkX
2005-02-04 22:48:21 +00:00
iap10@labyrinth.cl.cam.ac.uk b37b5de2e0 bitkeeper revision 1.1159.242.1 (4203fb9erjxo9v5Lwlohe2bcTrLYpg)
1. Deleted slab.c, added xmalloc.c.  Do not rename header or remove
        unnecessary includes (yet).
     2. Add explicit align arg, although current implementation
        over-aligns.
     3. Add list_for_each_entry_safe().
     4. Make xmalloc_array use _xmalloc_array, to avoid duplicate eval
        of "num" arg.
     5. Rearrange slab.h a little to show the exposed functions/macros
        first.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-04 22:47:58 +00:00
iap10@labyrinth.cl.cam.ac.uk a586337b78 bitkeeper revision 1.1159.223.63 (4203717aBdG3DtxPLfIkAUZh6esBbg)
added tag RELEASE-2.0.4
2005-02-04 12:58:34 +00:00
iap10@labyrinth.cl.cam.ac.uk 549450cbf5 bitkeeper revision 1.1159.240.3 (4202bd17uoTYqnlSeqvW9fHjznmCHg)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-02-04 00:08:55 +00:00
iap10@labyrinth.cl.cam.ac.uk 02143f7644 bitkeeper revision 1.1159.241.3 (4202bcfcMuCoA62roOJu-r3AKctkBQ)
strncpy will stop after a zero byte. Use memcpy instead.

Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-04 00:08:28 +00:00
iap10@labyrinth.cl.cam.ac.uk 64b1c5e5be bitkeeper revision 1.1159.241.2 (4202bc56K28qaGGkiiKbJBLxsgnXSA)
Enable monitor assert. Earlier assert was broken and was deleted.

Signed-off-by: Joe Cihula <joseph.cihula@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-04 00:05:42 +00:00
iap10@labyrinth.cl.cam.ac.uk d78b499535 bitkeeper revision 1.1159.241.1 (4202bb72zRYg-QWeXrkKfXwmuL5I3A)
Add checking ISA DMA flag in cpu_loop. Also need to do bios_init manually
for now. With this change, floppy is functional.

Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-04 00:01:54 +00:00
iap10@labyrinth.cl.cam.ac.uk 0e0c5e7aef bitkeeper revision 1.1159.212.71 (4200f0afX_JumfbEHQex6TdFENULMQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-02-02 15:24:31 +00:00
iap10@labyrinth.cl.cam.ac.uk 02b5b034ed bitkeeper revision 1.1159.238.7 (4200f09cegOci_6ijw2B4UT2y9odbA)
Enforce alignment of i387 data
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-02 15:24:12 +00:00
iap10@labyrinth.cl.cam.ac.uk 4f5d6c286a bitkeeper revision 1.1159.238.6 (4200f03fkl-Cpg9vhe49bVfY0e7TZQ)
Fix deps in Makefile
2005-02-02 15:22:39 +00:00
iap10@labyrinth.cl.cam.ac.uk 635d4d481d bitkeeper revision 1.1159.238.5 (4200df8a5A2pMKPYmS5iOV3Q8d2zIw)
Cset exclude: iap10@labyrinth.cl.cam.ac.uk|ChangeSet|20050202130109|29824
2005-02-02 14:11:22 +00:00
iap10@labyrinth.cl.cam.ac.uk c5f20f6be8 bitkeeper revision 1.1159.238.4 (4200cf15b8T6NKAN_1Kqx3nMy4I7WA)
slab.c in Linux is not a very nice piece of code: the version in Xen has
been hacked a certain amount and is not a vision of beauty either.  

Given how rare and non-time-critical dynamic allocations are in Xen,
this replaces the 1800-line slab.c with a 160-line malloc.c which is
written as simply as possible for future enhancement.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-02 13:01:09 +00:00
iap10@labyrinth.cl.cam.ac.uk ba1589306b bitkeeper revision 1.1159.238.3 (4200cd90cCW2XIYxAgdkWL28Tzf-8g)
Introduce _xmalloc for when you really want just bytes.

Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-02 12:54:40 +00:00
iap10@labyrinth.cl.cam.ac.uk 4ca6878910 bitkeeper revision 1.1159.238.2 (4200caf6iFnj85XmiFNAz7VursMGUw)
Slab caches for things allocated only on initialization seems to be
overkill.  This patch replaces them with the previous typesafe
allocator.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-02 12:43:34 +00:00
iap10@labyrinth.cl.cam.ac.uk 395321fa8e bitkeeper revision 1.1159.238.1 (4200c8d8KsGlaM3w6o3y4GHhK1jKjg)
A typesafe allocator submitted by Rusty Russel with trivial renames by me.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au> (authored)
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-02 12:34:32 +00:00
iap10@labyrinth.cl.cam.ac.uk b773c2b57a bitkeeper revision 1.1159.212.69 (42009c14_wjFIPRo2s6br4oGS3Ln-w)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-02-02 09:23:32 +00:00
iap10@labyrinth.cl.cam.ac.uk a3eea3d441 bitkeeper revision 1.1159.223.57 (42009aa1vckOCJ3XiCz8SXnP4BQsFw)
Small hack to make CROMMULTISESSION ioctl return success rather than enosys, like we did on Xen 1.2.
From: Anthony Liguori aliguori@us.ibm.com 
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-02 09:17:21 +00:00
iap10@labyrinth.cl.cam.ac.uk 769dd8e964 bitkeeper revision 1.1159.212.67 (42001d370Zk3jsfUjyC3iV9vgEJAlA)
Create the e820 map dynamically. This makes it easy to run VMX guests
of different memory sizes (no need to manually edit the e820 map).

Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-02 00:22:15 +00:00
iap10@labyrinth.cl.cam.ac.uk 4fb1a7d302 bitkeeper revision 1.1159.212.66 (42001b6f4kUEhmWXQmgg_vNH-AqiWQ)
Right now, the memory for the 1:1 physical mode page tables comes from the
VMX domain's memory. With this change, when the user asks for a domain with
M Megabytes of memory, we actually allocate M+N megabytes in xend, where
N is the memory for the page table pages.

This simplifies the code in the device models that maps guest memory (we
now map all of it) and the E820 map can also give the full M megabytes to
the guest.

Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-02 00:14:39 +00:00
iap10@labyrinth.cl.cam.ac.uk a932385698 bitkeeper revision 1.1159.212.65 (42001ad5CoYcWQyfGjSHSJBFeqFrLg)
Make mmio_space() static inline.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-02 00:12:05 +00:00
iap10@labyrinth.cl.cam.ac.uk 12814f99e4 bitkeeper revision 1.1159.212.64 (42000361XrdUoEK_vD6RMga2eLmwZg)
Allow specification of backend vif MAC addresses. If a backend
MAC is not provided, generate one as before

Signed-off-by: Jody Belka <knew-xen@pimb.org>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-01 22:32:01 +00:00
iap10@labyrinth.cl.cam.ac.uk d4aa4577a8 bitkeeper revision 1.1159.212.63 (41fffd320J5fzfKolmEyIb6tg5-a_w)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-02-01 22:05:38 +00:00
iap10@labyrinth.cl.cam.ac.uk 2eb8f64d4a bitkeeper revision 1.1159.223.56 (41fffbb0baSUSOWVCJ_0NFmEtCmUkw)
Fix the device number calculation for /dev/hd* device names;
ide device numbering works differently to scsi

Signed-off-by: Jody Belka <knew-xen@pimb.org>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-01 21:59:12 +00:00
iap10@labyrinth.cl.cam.ac.uk bae735390f bitkeeper revision 1.1159.223.55 (41fffadb9KX8y2tjTwUVGZRrZQdJ2g)
Fix incorrect result-check in xlvbd_init_device

Signed-off-by: Jody Belka <knew-xen@pimb.org>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-02-01 21:55:39 +00:00
iap10@labyrinth.cl.cam.ac.uk b9cb078242 bitkeeper revision 1.1159.212.59 (41fc114c3QNYidj-HaO5jjZA5jbgpQ)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-01-29 22:42:20 +00:00
iap10@labyrinth.cl.cam.ac.uk 744d0bbffb bitkeeper revision 1.1159.223.53 (41fc0c19tGe1rM62SUQk8WYZjH-D1Q)
Add iptables modules to the default xen0 kernel, and add example configuration files for a NAT setup.
2005-01-29 22:20:09 +00:00
iap10@labyrinth.cl.cam.ac.uk c3c01ecdbb bitkeeper revision 1.1159.212.57 (41fb53cc8wKjvhd8TsN4YHhUYPQCdQ)
Currently xcs is run by xend in xen-unstable by simply making it a child
process.  If you launch xend from an ssh session, the session won't exit
because the xcs still is connected to it's controlling terminal.

xcs should daemonize itself to prevent this from happening.  This patch
does that along with making the domain id => port mapping dynamically
allocated.

Signed-off-by: Anthony Liguori aliguori@us.ibm.com
2005-01-29 09:13:48 +00:00
iap10@labyrinth.cl.cam.ac.uk f6f2064455 bitkeeper revision 1.1159.212.53 (41fabd0652DGdYKsgWToGTyAOUlZKg)
Fix the direction flag for string I/O instructions -- missing hunk from earlier patch

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-28 22:30:30 +00:00
iap10@labyrinth.cl.cam.ac.uk e4ff05cef1 bitkeeper revision 1.1159.231.12 (41f97ef6r1c2TDcgR-o8jFV1IWm5dA)
Lean decoder for MMIO instructions.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-27 23:53:26 +00:00
iap10@labyrinth.cl.cam.ac.uk 298384fd25 bitkeeper revision 1.1159.231.11 (41f97e1amKuDHSrW5ZWKsTy4ZIfNRA)
Fix the direction flag for string I/O instructions.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-27 23:49:46 +00:00
iap10@labyrinth.cl.cam.ac.uk 9060926d9b bitkeeper revision 1.1159.231.10 (41f97d1c7VgcW6eh60Nx2MTEdlYhkQ)
Free pages for VMX domain at domain termination.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-27 23:45:32 +00:00
iap10@labyrinth.cl.cam.ac.uk 6a95e9ca1c bitkeeper revision 1.1159.231.9 (41f97c50Eg32TPmD9lVOyWCldhbhDA)
Some guests depend on getting a #GP fault in order to boot. This patch
makes sure that the GP fault is injected into the guest properly.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-27 23:42:08 +00:00
iap10@labyrinth.cl.cam.ac.uk bd4b1197bc bitkeeper revision 1.1159.212.35 (41f5ae28rGX5ZRYjiv0VTWqCmka9oA)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-01-25 02:25:44 +00:00
iap10@labyrinth.cl.cam.ac.uk 3a0c731407 bitkeeper revision 1.1159.223.34 (41f5adb5w-LSQUPVS2ApmlrBDOFN4A)
"mv -f" fix
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-25 02:23:49 +00:00
iap10@labyrinth.cl.cam.ac.uk eab8489a49 bitkeeper revision 1.1159.223.29 (41f577e7ZJYpBbgJi8udTXWyfHvSYg)
Cset exclude: iap10@labyrinth.cl.cam.ac.uk|ChangeSet|20050122214333|39257
2005-01-24 22:34:15 +00:00
iap10@labyrinth.cl.cam.ac.uk aac66e34a6 bitkeeper revision 1.1159.226.3 (41f55c8er11pRwXCJ66we1vDzrEZ9Q)
With ipv6, every network interface always has a link local
address.  This fools the network script into thinking that
xen-br0 already has a network address, and it refuses to
transfer over eth0's IP address to xen-br0.

By grepping for 'inet ' instead of just 'inet', the network
script is no longer fooled and does the right thing.  This
patch makes Xen networking work again on my Fedora system.

Signed-off-by: Rik van Riel <riel@redhat.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-24 20:37:34 +00:00
iap10@labyrinth.cl.cam.ac.uk 323114c5b3 bitkeeper revision 1.1159.223.28 (41f2cea9tkhheORopsoScolnVoBxgw)
Description: split banner.h
Split banner.h, to make it easier to edit, and more properly fit in with
normal build systems.
Also, inline the rules to actually build figlet.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 22:07:37 +00:00
iap10@labyrinth.cl.cam.ac.uk feebe377b8 bitkeeper revision 1.1159.223.27 (41f2ce1fr2yuEH_MHLrdXsDbSjsMJA)
Description: fix non-standard make/shell syntax
Fix use of `pwd`, &&, and || true.  Also, remove ().

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 22:05:19 +00:00
iap10@labyrinth.cl.cam.ac.uk d2f5d53621 bitkeeper revision 1.1159.223.26 (41f2cdb6LNpheOtPoAKEUn-czlZFig)
Description: use DESTDIR correctly
Standard makefiles always attempt to install to the root(/).  Setting
DESTDIR is the normal way to install to an alternative location.
Setting prefix has the possibility of breaking programs, as the prefix
may have been embedded inside a compiled binary.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 22:03:34 +00:00
iap10@labyrinth.cl.cam.ac.uk 84a280c892 bitkeeper revision 1.1159.223.25 (41f2cb9aEKMZkZbvqBE0eXhpljlV4Q)
Description: fix path to python
There is no python2 in debian.  Instead, use python.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:54:34 +00:00
iap10@labyrinth.cl.cam.ac.uk 7f493a9305 bitkeeper revision 1.1159.223.24 (41f2cb2floBkEBE6cfn2iLK2ZpPfhA)
Description: conditionally call modules targets for 2.4
There was a complaint on the mailing list about linux 2.6 not building
if module support was disabled; a patch was done to fix this.  However,
the same change was not done to the 2.4 files.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:52:47 +00:00
iap10@labyrinth.cl.cam.ac.uk 41df713e01 bitkeeper revision 1.1159.223.23 (41f2c9e33H5dJn6K7RN-o2UASMwI3Q)
Description: Use FHS-compatible paths

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:47:15 +00:00
iap10@labyrinth.cl.cam.ac.uk bce79d6f98 bitkeeper revision 1.1159.223.22 (41f2c983tNSS8-VlWIzF9A78zTQx-w)
Description: add force-reload option
Debian policy requires init scripts to implement force-reload.  So, alias
that to restart.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:45:39 +00:00
iap10@labyrinth.cl.cam.ac.uk 2f2710b791 bitkeeper revision 1.1159.223.21 (41f2c905sBZq8YH0a-M9_-ucSA_KAQ)
Description: support parallellism better
Using shell for loops doesn't allow make to run it the most parallel
modes.  Use patsubst/addsuffix tricks to make this work.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:43:33 +00:00
iap10@labyrinth.cl.cam.ac.uk 273e434815 bitkeeper revision 1.1159.223.20 (41f2c8174klQJ8mMgM3YDtJ6GQBXjw)
Missing prat of earlier patch.
Description: use INSTALL everywhere
Use install(by way of INSTALL variables) to create directories, install
programs, and install data files.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:39:35 +00:00
iap10@labyrinth.cl.cam.ac.uk 174b817ebc bitkeeper revision 1.1159.223.19 (41f2c794WPLLpYdW32MPpAaBhBhL0A)
Description: mkbuildtree requires bash

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:37:24 +00:00
iap10@labyrinth.cl.cam.ac.uk 6b422c28fa bitkeeper revision 1.1159.223.18 (41f2c6eamwtTkjdrv4CuL1WnOy4iGw)
Description: use INSTALL everywhere
Use install(by way of INSTALL variables) to create directories, install
programs, and install data files.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:34:34 +00:00
iap10@labyrinth.cl.cam.ac.uk dbaf99ecd4 bitkeeper revision 1.1159.223.17 (41f2c67c7vKsSLIzqLuYY24HOjsC5w)
Description: Use vars for complex programs
It's generally standard to call complex programs indirectly thru make
variables.  This allows them to be replaced easily with alternative
versions, without editting each makefile.
Additionally, this patch makes use of $(pkgdocdir) in docs/Makefile.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:32:44 +00:00
iap10@labyrinth.cl.cam.ac.uk 7ebea330c9 bitkeeper revision 1.1159.223.16 (41f2c5dbDRm_plztIOBiTaL3Nj5qAQ)
Description: support PIC code generation
Libraries have 2 methods of being compiled; a .so must contain non-pic
objects, while the .a can contain standard objects.

From: Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:30:03 +00:00
iap10@labyrinth.cl.cam.ac.uk 8895336d36 bitkeeper revision 1.1159.223.15 (41f2c43e5U8GurDCsAUaiGJ2VOmnUQ)
Description: Use proper targets in makefiles
A rule in make should produce only what it's target allows.  When it
produces side-effects, things like ctrl-c and parallellism break it
oddly.

From Adam Heath <doogie@brainfood.com>
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 21:23:10 +00:00
iap10@labyrinth.cl.cam.ac.uk c742b4cc7f bitkeeper revision 1.1159.212.26 (41f28aabyam1d9KxJTuTjomL3m7ZlA)
manual merge
2005-01-22 17:17:31 +00:00
iap10@labyrinth.cl.cam.ac.uk dce78bee0f bitkeeper revision 1.1159.223.14 (41f288f9VW8XW1rKJWnmSpC3nWXTgA)
Kconfig cleanup suggested by Tobias Hunger [tobias@aquazul.com]
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-01-22 17:10:17 +00:00
iap10@labyrinth.cl.cam.ac.uk 4e10901e69 bitkeeper revision 1.1159.224.8 (41f230af8MIrNZ0j3raPm-vgsd18GA)
xcs fix from Yuji Tsuchimoto [nox@hiroshima-u.ac.jp]
2005-01-22 10:53:35 +00:00
iap10@labyrinth.cl.cam.ac.uk 06f010da15 bitkeeper revision 1.1159.224.7 (41f19067YZkt-A5NB4Oq_i9bgxUa7Q)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-01-21 23:29:43 +00:00
iap10@labyrinth.cl.cam.ac.uk 5b6b330640 bitkeeper revision 1.1159.223.13 (41f19028mLwjhcmfYFv-mzcynrFuGw)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xeno.bk
2005-01-21 23:28:40 +00:00
iap10@labyrinth.cl.cam.ac.uk aaa4b9f2f3 bitkeeper revision 1.1159.225.1 (41f19001RQR4BW0TNzYlpfwik2LIFg)
Documentation fix.
2005-01-21 23:28:01 +00:00
iap10@labyrinth.cl.cam.ac.uk 27ae37054b bitkeeper revision 1.1159.224.4 (41f06da8Jxtc-BtgSecZ0k3NlNY9Bw)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-01-21 02:49:12 +00:00
iap10@labyrinth.cl.cam.ac.uk d6af4258a3 bitkeeper revision 1.1159.223.11 (41f0642dZhTGBhGAWv7_RECYAOxMhA)
Update defconfig for linux 2.4.29
2005-01-21 02:08:45 +00:00
iap10@labyrinth.cl.cam.ac.uk 90c7adc7f0 bitkeeper revision 1.1159.223.9 (41f05020SfVtxET_96qMp22pZ-tmOA)
Update defconfig-xen0 for linux 2.4.29
2005-01-21 00:43:12 +00:00
iap10@labyrinth.cl.cam.ac.uk afa63d44d2 bitkeeper revision 1.1159.223.8 (41f04ee28OyElXpjo4VeyXy925falg)
Upgrade to linux 2.4.29
2005-01-21 00:37:54 +00:00
iap10@labyrinth.cl.cam.ac.uk 1d156d1540 bitkeeper revision 1.1159.170.99 (41eb7325xet5XQ2BbrNnK2ynj_F4XQ)
Change __initcall to module_init as suggested by Rusty Russel
2005-01-17 08:11:17 +00:00
iap10@labyrinth.cl.cam.ac.uk 8fd6cf78da bitkeeper revision 1.1159.170.98 (41eb7022BZw59EpgaLvlhtpw0-IuGQ)
Add NE2K to default xen0/xenU 2.6 config
2005-01-17 07:58:26 +00:00
iap10@labyrinth.cl.cam.ac.uk 75acdfad0f bitkeeper revision 1.1159.217.18 (41ea5633KLfjrmzpi1tzeYsbJqWJOw)
Merge labyrinth.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into labyrinth.cl.cam.ac.uk:/auto/anfs/scratch/labyrinth/iap10/xeno-clone/xen-unstable.bk
2005-01-16 11:55:31 +00:00
iap10@labyrinth.cl.cam.ac.uk f37754d530 bitkeeper revision 1.1159.170.97 (41e94301axLnKknTNgYWn0ZFj5pHxg)
Documentation of xc.h library
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-01-15 16:21:21 +00:00
iap10@labyrinth.cl.cam.ac.uk fc7758e894 bitkeeper revision 1.1159.170.96 (41e8fbeayXDKhR25_xBQP3hTDrVJbQ)
Symptom:
When using a udev-based dom0, if you try to create a domU with a virtual
sda device and you do not have a local scsi device xm create fails.

Fix:
When using udev, only the device nodes needed are made.  The follow
patch changes Xend to return a device number based on:

http://www.lanana.org/docs/device-list/devices.txt

For sd and hd devices if stat() fails.  It was tested against both 2.0.2
and 2.0.3.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2005-01-15 11:18:02 +00:00
iap10@labyrinth.cl.cam.ac.uk e46dd6d5ae bitkeeper revision 1.1159.217.1 (41e2ffe6fPYJ64PJlBbjQaLbd8AFuQ)
Many files:
  Device models imported from BOCHS, courtesy of Arun Sharma [arun.sharma@intel.com]
  new file
2005-01-10 22:21:26 +00:00
iap10@labyrinth.cl.cam.ac.uk 90799422b4 bitkeeper revision 1.1159.170.81 (41df3d62qbgOxejO_eV2MdPu54MhSA)
Revert bogus shadow 'fix'.
2005-01-08 01:54:42 +00:00
iap10@labyrinth.cl.cam.ac.uk 1c63f5a157 bitkeeper revision 1.1159.212.13 (41df3794swb64JdEQfvPveHTBypSAg)
Revert bogus shadow mode 'fix'.
2005-01-08 01:29:56 +00:00
iap10@labyrinth.cl.cam.ac.uk 8dd7c56ae0 bitkeeper revision 1.1159.212.12 (41df1781YQ4wbDZYbKztywTKIqxb6A)
Fix botched application of vmx xend patch
2005-01-07 23:13:05 +00:00
iap10@labyrinth.cl.cam.ac.uk 8e5aeba1e4 bitkeeper revision 1.1159.212.11 (41decdbd8TPAvL-MaZNJDOO3L7L6MQ)
Fix CONFIG_MAGIC_SYSRQ compile issue with Linux 2.4 kernel.
2005-01-07 17:58:21 +00:00
iap10@labyrinth.cl.cam.ac.uk 179b35aad7 bitkeeper revision 1.1159.212.10 (41dde8b1uPUodrtnTKejSUrLg-fcoQ)
xend extensiosn for VMX guests
2005-01-07 01:41:05 +00:00
iap10@labyrinth.cl.cam.ac.uk 8543240ec9 bitkeeper revision 1.1159.212.9 (41dde2eagwOCuLzt_7mdSFXqA992dg)
VMX bug fixes - disable errant safety check.
2005-01-07 01:16:26 +00:00
iap10@labyrinth.cl.cam.ac.uk 7c14dbf197 bitkeeper revision 1.1159.212.8 (41ddcdedA_y3YPCIz7quwuaHg2Lhng)
VMX bug fixes.
2005-01-06 23:46:53 +00:00
iap10@labyrinth.cl.cam.ac.uk 3d079bebed bitkeeper revision 1.1159.170.80 (41dda4b36HJxwMUYJh_Pm07DVKiC2g)
Patch from Leendert van Doorn leendert@watson.ibm.com to fix bug that was effecting mapping of IO pages when Xen was built with certain versions of gcc.
2005-01-06 20:50:59 +00:00
iap10@labyrinth.cl.cam.ac.uk 46ba04207e bitkeeper revision 1.1159.212.7 (41dda285BvmhILeGv4rnjJ6N_psxaA)
Patch from Leendert van Doorn leendert@watson.ibm.com to fix bug that was effecting mapping of IO pages when Xen was built with certain versions of gcc.
2005-01-06 20:41:41 +00:00