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
kaf24@scramble.cl.cam.ac.uk
8f049f2ce1
bitkeeper revision 1.1159.212.115 (4207c574hv18R_VTm-3a9w_AZzNBWw)
...
Force hypercall continuation arguments to size of longs.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-07 19:45:56 +00:00
kaf24@scramble.cl.cam.ac.uk
f399f184eb
bitkeeper revision 1.1159.212.114 (4207bda3k03bdnnP3uGkOvKhmXjbkg)
...
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-02-07 19:12:35 +00:00
kaf24@scramble.cl.cam.ac.uk
90dd5b6a18
bitkeeper revision 1.1159.223.77 (4207bd65yRdFmE9Py8fLUBk3826_Ig)
...
Minor tidy of vif-nat script.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-07 19:11:33 +00:00
iap10@freefall.cl.cam.ac.uk
992671e0ec
bitkeeper revision 1.1159.212.113 (4207b492G2gu92Nd8QzJaaXA-ogT4g)
...
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-02-07 18:33:54 +00:00
iap10@freefall.cl.cam.ac.uk
6f6dcfb95e
bitkeeper revision 1.1159.223.76 (4207b472nHz4nbC_OJgbSmfRVow8XQ)
...
Don't let xend throw away stderr...
2005-02-07 18:33:22 +00:00
kaf24@scramble.cl.cam.ac.uk
75e4b67476
bitkeeper revision 1.1159.212.112 (4207b382VvZgSA3Pg79SQESssYJbHQ)
...
More x86_64 fixes.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-07 18:29:22 +00:00
kaf24@scramble.cl.cam.ac.uk
bde93ac61a
bitkeeper revision 1.1159.212.111 (4207a372uscrEafJDzNOVuj8gyt_Fw)
...
SYSCALL fixes.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-07 17:20:50 +00:00
kaf24@scramble.cl.cam.ac.uk
6c94cfd149
bitkeeper revision 1.1159.212.110 (42079080u5EKN2Dp7MbOEM7lnEs4gg)
...
Various bug fixes, and NMI/DF improvements for x86_64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-07 16:00:00 +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@freefall.cl.cam.ac.uk
9e71cacb67
bitkeeper revision 1.1159.212.108 (42077fd0S_urmaLkjaFnGgMRPjUCMA)
...
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-02-07 14:48:48 +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
kaf24@scramble.cl.cam.ac.uk
8fdcd103cb
bitkeeper revision 1.1159.212.107 (420757d1DdfFUXGMssAN0f_k_jSJvA)
...
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-02-07 11:58:09 +00:00
kaf24@scramble.cl.cam.ac.uk
88381e599a
bitkeeper revision 1.1159.223.74 (420757a9FtyPHOdlg42s6EIT2DD1zw)
...
Pad Xen image to end on a page boundary. Avoids kexec bug.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-07 11:57:29 +00:00
kaf24@viper.(none)
76974398a6
bitkeeper revision 1.1159.212.106 (42068c6bV88PUeuTyW0W65OVudMAlQ)
...
Added user-memory accessing functionality for x86_64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-06 21:30:19 +00:00
kaf24@viper.(none)
f9c513d54f
bitkeeper revision 1.1159.212.105 (420666bemy1hHhMRPUknF0p3-jxn_w)
...
x86/64 debug builds use guard pages in unallocated heap space and for
stack-limit enforcement.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-06 18:49:34 +00:00
kaf24@viper.(none)
8ba7847b3d
bitkeeper revision 1.1159.212.104 (4206121fBCAx-xpYAHk3p-Gk_3xChw)
...
Merge viper.(none):/home/kaf24/xen-2.0-testing.bk
into viper.(none):/home/kaf24/xen-unstable.bk
2005-02-06 12:48:31 +00:00
kaf24@viper.(none)
cef3a40634
bitkeeper revision 1.1159.223.73 (42061207JyX53LmlrclgfiWwVqnF7w)
...
Avoid large stack frame in arch_dom0_op by dynamically allocating space
for getmeminfo batch.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-06 12:48:07 +00:00
kaf24@viper.(none)
f4106bcd03
bitkeeper revision 1.1159.212.103 (420609f1fbTBjl9ynLuVLkWWeqTOag)
...
Merge viper.(none):/home/kaf24/xen-2.0-testing.bk
into viper.(none):/home/kaf24/xen-unstable.bk
2005-02-06 12:13:37 +00:00
kaf24@viper.(none)
c0d41e4315
bitkeeper revision 1.1159.223.72 (42060910CAWXk13FiquPxR_uRrD_1A)
...
Prevent stack overflow in PCI setup code.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-06 12:09:52 +00:00
kaf24@viper.(none)
33788f79da
bitkeeper revision 1.1159.223.71 (42060876pgZEpnal0wuK3VOOWP9zCQ)
...
Fix build system to rebuild file containing banner text every time.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-06 12:07:18 +00:00
iap10@freefall.cl.cam.ac.uk
6a689ef21d
bitkeeper revision 1.1159.212.102 (4205e5edzyj_0mq8tWZYw76EVB4zcw)
...
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-02-06 09:39:57 +00:00
iap10@freefall.cl.cam.ac.uk
a30533c446
bitkeeper revision 1.1159.223.70 (4205e5daVr3OnfNS5GMFcoc8j80ODQ)
...
trivial fix to the ioremap for local pages
2005-02-06 09:39:38 +00:00
iap10@freefall.cl.cam.ac.uk
2b3f7bca64
bitkeeper revision 1.1159.212.101 (4205e445duHww3eKAPqc0vdxWD-fKQ)
...
trivial fix to the ioremap for local pages
2005-02-06 09:32:53 +00:00
kaf24@viper.(none)
a2e0bcb6b9
bitkeeper revision 1.1159.212.100 (42050e5fWLAKCQAvoZ3CPmyAaL-51g)
...
Reorganise 'struct domain' and 'struct exec_domain' to each have an
architecture-specific portion. Removed 'mm_struct'.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 18:20:15 +00:00
kaf24@scramble.cl.cam.ac.uk
64c1adfcf8
bitkeeper revision 1.1159.212.99 (4204e978S7U_CKee_ItjbGQ8Ezbw3A)
...
Another scheduler fix for prev. manual merge.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 15:42:48 +00:00
kaf24@scramble.cl.cam.ac.uk
8ef86134ea
bitkeeper revision 1.1159.212.98 (4204e7b362YvATmkfmBxuFTvYN9JQQ)
...
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-02-05 15:35:15 +00:00
kaf24@scramble.cl.cam.ac.uk
e98bfa2604
bitkeeper revision 1.1159.246.3 (4204e7ad2KYRVbyWiC88XmVkIag9Wg)
...
More common-code movements for ia64.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 15:35:09 +00:00
mafetter@fleming.research
96c508b864
bitkeeper revision 1.1159.212.97 (4204dcc70PktbFSV6N0XNpd9T7Z_Nw)
...
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen-unstable.bk
2005-02-05 14:48:39 +00:00
kaf24@scramble.cl.cam.ac.uk
4fe70c2f8c
bitkeeper revision 1.1159.246.2 (4204c18cvI5Uk50dXB8wqfQwKj9ZGw)
...
Manual merge.
Signed-off-by: keir.fraser@Cl.cam.ac.uk
2005-02-05 12:52:28 +00:00
kaf24@scramble.cl.cam.ac.uk
da6601fe81
bitkeeper revision 1.1159.246.1 (4204bf62SAXmiDrhK-FnLlQjHbkY8A)
...
Manual merge.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 12:43:14 +00:00
kaf24@scramble.cl.cam.ac.uk
8a830062ec
bitkeeper revision 1.1159.223.69 (4204be8dLxMs-eFXEJxgXu_dhM7vLw)
...
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
2005-02-05 12:39:41 +00:00
kaf24@scramble.cl.cam.ac.uk
48ff6b71e1
bitkeeper revision 1.1159.245.1 (4204be86F8AKmyv5_m4N44YWgyyt_Q)
...
Another NMI watchdog fix. Deferred NMIs need to ACK the local APIC.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 12:39:34 +00:00
mafetter@fleming.research
52c1b8b3dc
bitkeeper revision 1.1159.212.96 (4204aff5pQipffND8_37kyj01pfiWQ)
...
Hand merge changes to schedule.c
Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-02-05 11:37:25 +00:00
kaf24@scramble.cl.cam.ac.uk
73445e880f
bitkeeper revision 1.1159.212.95 (4204aa0ee0re5Xx1zWrJ9ejxzgRs3w)
...
Various cleanups. Remove PDB pending simpler GDB stub and/or NetBSD debugger.
Force emacs mode to appropriate tabbing in various files.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 11:12:14 +00:00
mafetter@fleming.research
f18239411b
bitkeeper revision 1.1159.223.68 (4204a5090n9Cd2ll6YcdL3tK2uDu1A)
...
Bug fix to the scheduler for writable page tables.
Don't flush the writable page tables inside __enter_scheduler()
until after we've committed to switching to another domain.
Here's the problem: if enough debugging messages are enabled (for
example, shadow mode and/or writable page tables messages), then we
can get into a situation where we *always* visit
__enter_scheduler() after every page fault and/or hypercall. If we
flush the writable page tables every time we take a page fault,
we'll never end up actually getting into the domain with write
permissions enabled to its page table.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-02-05 10:50:49 +00:00
kaf24@scramble.cl.cam.ac.uk
228e9fba60
bitkeeper revision 1.1159.212.94 (4204a0deFxk8r7Vhks3j_qvRlbZMJQ)
...
Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-02-05 10:33:02 +00:00
kaf24@scramble.cl.cam.ac.uk
fc3efe0ada
bitkeeper revision 1.1159.223.67 (4204a089yB7FSdCp0Isa4dMFs_V3qQ)
...
Building PIC .so libs is now optional. Defaults to enabled for Debian.
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 10:31:37 +00:00
kaf24@scramble.cl.cam.ac.uk
180083a912
bitkeeper revision 1.1159.212.93 (42049334yxlf_y0Z3UvBj3IoXK5ToA)
...
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-02-05 09:34:44 +00:00
kaf24@scramble.cl.cam.ac.uk
0292b858da
bitkeeper revision 1.1159.244.1 (4204932bmZgxudypIonkb5Mm9GmAtA)
...
Create arch_do_boot_vcpu().
Signed-off-by: keir.fraser@cl.cam.ac.uk
2005-02-05 09:34:35 +00:00
iap10@freefall.cl.cam.ac.uk
d551e3bc5c
bitkeeper revision 1.1159.212.92 (4204921aEJqAV7p8MQEa98S3OLscXg)
...
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-02-05 09:30:02 +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