root@dyn9047022116.beaverton.ibm.com
246684ceba
Patch to correct inconsistencies of xm-test reporting.
...
Signed-off-by: Woody Marvel <marvel@us.ibm.com >
2006-03-21 01:08:59 +01:00
cl349@firebug.cl.cam.ac.uk
f9da43103c
Update to Linux 2.6.16.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
--HG--
rename : patches/linux-2.6.16-rc6/i386-mach-io-check-nmi.patch => patches/linux-2.6.16/i386-mach-io-check-nmi.patch
rename : patches/linux-2.6.16-rc6/net-csum.patch => patches/linux-2.6.16/net-csum.patch
rename : patches/linux-2.6.16-rc6/pmd-shared.patch => patches/linux-2.6.16/pmd-shared.patch
rename : patches/linux-2.6.16-rc6/smp-alts.patch => patches/linux-2.6.16/smp-alts.patch
2006-03-20 20:10:17 +00:00
kaf24@firebug.cl.cam.ac.uk
8d10ad85b8
Add missing empty ia64 files.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-20 18:38:50 +01:00
kaf24@firebug.cl.cam.ac.uk
2a2926808c
Some more build-system finessing:
...
1. subdirs-y -> subdir-y (match Linux name, and also obj-y
is singular so this makes sense).
2. subdirs can be declared with or without trailing slash
3. As with Linux, subdirs can be declared in the obj-y list
but they must be distinguished by a trailing slash
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-20 18:36:35 +01:00
kaf24@firebug.cl.cam.ac.uk
db3a615c31
Fix Xen target image dependencies.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-20 18:25:01 +01:00
kaf24@firebug.cl.cam.ac.uk
652e141b62
Fix 64-bit build.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-20 18:20:44 +01:00
kaf24@firebug.cl.cam.ac.uk
bb9e70bf52
Upgrade genapic code to 2.6.16-rc6 codebase. Remove entries from
...
genapic structure that Xen does not require (mostly because we do
not support Visual Workstation nor IBM/Sequent NUMA-Q).
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-20 17:01:16 +01:00
kaf24@firebug.cl.cam.ac.uk
57ac22d899
Fix a protocol violation in the pcnet emulation. Tested on at least
...
two systems and fixes the 'corrupt MAC' with scp or sftp. See bug 574
for more information.
Signed-off-by: Don Fry <brazilnut@us.ibm.com >
2006-03-20 12:01:32 +01:00
kaf24@firebug.cl.cam.ac.uk
4a58d57594
Add poll() support to xenbus device file.
...
From: Gerd Hoffmann
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-20 12:00:58 +01:00
emellor@leeni.uk.xensource.com
29073ce353
Merged.
2006-03-20 09:56:54 +01:00
emellor@leeni.uk.xensource.com
d3e701ea7f
Remove unused, broken, redundant and undocumented option xm create -L.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-03-20 09:56:46 +01:00
kaf24@firebug.cl.cam.ac.uk
4d32eea226
Fix VMX guest can not be created on PAE xen with more than 4G RAM.
...
Also change v_end type from unsigned long to unsigned long long, for we
will have PAE VMX guest with more than 4G memory on PAE xen.
Signed-off-by: Xin Li <xin.b.li@intel.com >
2006-03-19 18:55:46 +01:00
kaf24@firebug.cl.cam.ac.uk
22f244482c
This patch fix HVM/VMX time resolution issue that cause IA32E complain
...
"loss tick" occationally and APIC time calibration issue.
Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com >
Signed-off-by: Eddie Dong <eddie.dong@intel.com >
2006-03-19 18:52:20 +01:00
kaf24@firebug.cl.cam.ac.uk
3e86701226
Abstract some details of context switching into ctxt_switch_from/to
...
function hooks. Allows neater separation between paravirtual and
HVM code paths.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-19 17:10:20 +01:00
kaf24@firebug.cl.cam.ac.uk
e1d13ddb53
Move arch/x86 to new build system.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-19 15:17:50 +01:00
kaf24@firebug.cl.cam.ac.uk
26f7973d6a
Apply Xen build system changes to all non-arch subdirectories.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-19 14:02:18 +01:00
kaf24@firebug.cl.cam.ac.uk
e09c21cb7f
Conditionalize building the Xen ACPI driver.
...
Also introduces some cleanups to the Xen build system.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-19 13:13:35 +01:00
kaf24@firebug.cl.cam.ac.uk
ff24170e9c
Fix VMX EFER write logic. Also some cleanups.
...
Signed-off-by: Xin Li <xin.b.li@intel.com >
2006-03-19 12:48:51 +01:00
kaf24@firebug.cl.cam.ac.uk
d97c941f88
Add back hvm guest apm support and fixed the original apm issues to
...
make "halt -p" and "shutdown -h now" work. Also added apm 0x05 CPU
idle, 0x08 Enable PM and 0x0f apm engage/disengage subfunctions.
Signed-off-by: Winston Wang <winston.l.wang@intel.com >
2006-03-19 12:41:28 +01:00
cl349@firebug.cl.cam.ac.uk
686bde3ed0
linux-x86_64: Sync with native.
...
From: Jan Beulich <JBeulich@novell.com >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2006-03-18 16:30:20 +00:00
vhanquez@kneesa.uk.xensource.com
be4c0619d5
Fix a race that crash domU by calling xenbus_probe twice if it receive event
...
between xs_init and setting xenbus_running
Signed-off-by: Vincent Hanquez <vincent@xensource.com >
2006-03-18 13:56:34 +00:00
kaf24@firebug.cl.cam.ac.uk
d3ef5b488a
Move __do_IRQ() definition to ia64 header file where it belongs.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-18 11:12:45 +01:00
kaf24@firebug.cl.cam.ac.uk
ed87d736e9
merge with xen-ia64-unstable.hg
2006-03-18 10:59:11 +01:00
cl349@firebug.cl.cam.ac.uk
ce0bcf0e64
Update to Linux 2.6.16-rc6.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
--HG--
rename : patches/linux-2.6.16-rc5/i386-mach-io-check-nmi.patch => patches/linux-2.6.16-rc6/i386-mach-io-check-nmi.patch
rename : patches/linux-2.6.16-rc5/net-csum.patch => patches/linux-2.6.16-rc6/net-csum.patch
rename : patches/linux-2.6.16-rc5/pmd-shared.patch => patches/linux-2.6.16-rc6/pmd-shared.patch
rename : patches/linux-2.6.16-rc5/smp-alts.patch => patches/linux-2.6.16-rc6/smp-alts.patch
2006-03-18 00:12:26 +00:00
awilliam@xenbuild.aw
b6144da6bb
merge
2006-03-17 15:37:28 -07:00
awilliam@xenbuild.aw
9dc734c3ad
[IA64] VT-i Domains should use same hvm builder as VT-x
...
Signed-off-by: Fred Yang <fred.yang@intel.com >
2006-03-17 14:26:24 -07:00
awilliam@xenbuild.aw
b7c7a62b6d
[IA64] -mconstant-gp gcc/as option added.
...
Thus gp is not saved/restored before calls, saving memory and bundles.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net >
2006-03-17 14:23:43 -07:00
awilliam@xenbuild.aw
e14a1fda82
[IA64] zero_page_memmap_ptr removed (was unused).
...
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net >
2006-03-17 14:21:56 -07:00
awilliam@xenbuild.aw
7d408ed38f
[IA64] fixed a vcpu_translate bug
...
There are some below code segments in guest OS
1. Rsm psr.dt
...
2. itc.d r18
...
3. rfi
After executing instruction 1, domain is in metaphysical mode.
When executing instruction 2, VMM gets control to emulate this
instruction. Firstly VMM will try to get opcode, which may
trigger a tlb miss. At this time domain is in metaphysical mode
and the fault address is in region 5. vcpu_translate handles this
as normal guest metaphysical mode.
It's not correct; sometimes this will make dom0 hang.
cpu_translate should handle this situation as if
guest is not in metaphysical mode.
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2006-03-17 14:06:20 -07:00
awilliam@xenbuild.aw
2ed2802aa7
[IA64] setting rr0 is not correctly emulated
...
When guest is not at metaphysical mode, VMM should
set machine rr0.
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2006-03-17 13:44:48 -07:00
awilliam@xenbuild.aw
af8e297826
[IA64] Remove "#define page_info page"
...
This patch removed "#define page_info page" in asm-ia64/config.h.
We tested compilation, booting dom0, and creation/destruction domU.
This patch is "step3" which we showed by the following mail.
http://lists.xensource.com/archives/html/xen-ia64-devel/2006-03/msg00305.html
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2006-03-17 13:23:59 -07:00
awilliam@xenbuild.aw
07a4baeb2a
[IA64] Remove header files where "page" is used
...
This patch is "step2" which we showed by the following mail.
http://lists.xensource.com/archives/html/xen-ia64-devel/2006-03/msg00305.html
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2006-03-17 13:23:01 -07:00
kaf24@firebug.cl.cam.ac.uk
ba05fb571e
Fix VMX cpuid handling when EAX == 4.
...
When eax == 4, ecx should contain cache level.
Signed-off-by: Xin Li <xin.b.li@intel.com >
2006-03-17 16:25:04 +01:00
kaf24@firebug.cl.cam.ac.uk
a431b2fa06
Allows the hypervisor to build without warnings (wisely considered
...
errors with/-Werror) when perfc_arrays are enabled in xen/Rules.mk.
Signed-off-by: David Lively <dlively@virtualiron.com >
2006-03-17 11:45:46 +01:00
kaf24@firebug.cl.cam.ac.uk
13134a9fdd
Fix the gzip size extraction in xc_inflate_buffer(). Extract
...
bytes as unsigned quantities.
Signed-off-by: David Lively <dlively@virtualiron.com >
2006-03-17 11:44:55 +01:00
kaf24@firebug.cl.cam.ac.uk
e21b3a393e
Fix sched_sedf adjdom to properly clamp the period max value.
...
Remove temporary debug tracing.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-17 11:00:46 +01:00
kaf24@firebug.cl.cam.ac.uk
fceb225f85
Declare inline function as 'static inline', not 'extern inline'.
...
Fixes the ioemu build which was broken on some systems.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-17 10:57:28 +01:00
vhanquez@kneesa.uk.xensource.com
18b6341b93
Reinitialize producer and consumer index to 0 if indexes corruption are detected
...
in XenBus.
Prevent a kernel infinite loop and add more recovering ability.
Signed-off-by: Vincent Hanquez <vincent@xensource.com >
2006-03-17 10:03:37 +00:00
vhanquez@kneesa.uk.xensource.com
6ac4acde21
Substitute kmalloc+memset by kzalloc where possible
...
Signed-off-by: Vincent Hanquez <vincent@xensource.com >
2006-03-17 09:52:05 +00:00
awilliam@xenbuild.aw
311e7e309d
[IA64] disable handling of legacy privified insns
...
Disable handling of privified insns into another instructions.
This is controled by a static constant.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net >
2006-03-16 12:22:37 -07:00
awilliam@xenbuild.aw
824bd8fc88
[IA64] remaining privified insns removed
...
Privified insns replaced by hyperprivops.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net >
2006-03-16 12:20:59 -07:00
awilliam@xenbuild.aw
e84241ca48
[IA64] new hyperprivop
...
Missing hyperprivop added.
These were privified insn without hyperprivop.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net >
2006-03-16 12:19:08 -07:00
awilliam@xenbuild.aw
c5f10fc9a6
[IA64] postat tool
...
Small utility to display and clear privop statistics.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net >
2006-03-16 12:13:23 -07:00
awilliam@xenbuild.aw
f4792216d0
[IA64] Changed from page to page_info
...
This patch changed from "struct page" to "struct page_info" in the below files.
- xen/arch/ia64/xen/domain.c
- xen/arch/ia64/xen/mm_init.c
- xen/arch/ia64/xen/xenmem.c
- xen/arch/ia64/xen/xenmisc.c
- xen/include/asm-ia64/config.h
- xen/include/asm-ia64/mm.h
This patch is "step1" which we showed by the following mail.
http://lists.xensource.com/archives/html/xen-ia64-devel/2006-03/msg00305.html
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
2006-03-16 12:10:22 -07:00
awilliam@xenbuild.aw
3402cbc5bc
[IA64] use of max_addr= & command line
...
Use 'max_addr' option to limit the amount of physical memory. The
default is 4G (the same as the previous hard limit). The hard-coded
limit is removed. dom0_command_line now contains the cmdline for
dom0 linux. saved_command_line now contains the cmdline for Xen (it
is used in Xen).
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net >
2006-03-16 12:06:48 -07:00
awilliam@xenbuild.aw
24ea66b731
[IA64] fix AFLAGS in Rules.mk
...
Signed-off-by: Tsunehisa Doi <doi.tsunehisa@jp.fujitsu.com >
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com >
2006-03-16 12:02:39 -07:00
kaf24@firebug.cl.cam.ac.uk
bae56b0ac6
Clean up HVM relinquish_guest_resources interface and implementation.
...
Ensure we only unmap the shared I/O page after killing all timers
whose handlers may reference that page.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-16 19:36:28 +01:00
kaf24@firebug.cl.cam.ac.uk
7d258cc98e
Add Summagraphics Tablet emulation for VNC users. The current PS/2 emulation
...
is unusable under VNC since a PS/2 mouse provides deltas while VNC only
provides absolute coordinates. Fortunately, the Summagraphics Tablet provides
absolute coordinates and works perfectly with VNC.
Signed-off-by: Don Dugger <donald.d.dugger@intel.com >
2006-03-16 18:57:54 +01:00
kaf24@firebug.cl.cam.ac.uk
1409287078
Change the VNC main input loop delay from 1 second down to 10
...
msec. The 1 second delay was causing significant latency problems
with the mouse while there is no measurable overhead in lowering the
delay down to 10 msec.
Signed-off-by: Don Dugger <donald.d.dugger@intel.com >
2006-03-16 18:43:07 +01:00
kaf24@firebug.cl.cam.ac.uk
3fd07d7995
Add a shadow VRAM to track changes to the real VRAM. When the guest
...
OS was given write access to the VRAM the device model tracked all
VRAM changes by updating the entire screen on every output loop,
causing significant overhead (a CPU bound loop in a guest slows down
by about 35%) and significant mouse latency (VNC uses the same data
path for mouse events and video updates). With the shadow VRAM only
modified pages need to be updated and the comparison of the shadow
VRAM to the real VRAM only adds ~4% overhead while eliminating the
mouse latencies.
Signed-off-by: Don Dugger <donald.d.dugger@intel.com >
2006-03-16 18:41:01 +01:00