kaf24@firebug.cl.cam.ac.uk
e3045add08
Fix problems when creating HVM guest on PAE host with >4G physical memory.
...
Signed-off-by: Yunhong Jiang yunhong.jiang@intel.com
Signed-off-by: Jun Nakajima jun.nakajima@intel.com
2006-03-02 11:03:34 +01:00
kaf24@firebug.cl.cam.ac.uk
5e167a1c0f
merge
2006-03-02 11:00:49 +01:00
kaf24@firebug.cl.cam.ac.uk
e9c36ae59a
Fix printing of u64 value 'msr_content' to use PRIx64 format.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-02 10:59:34 +01:00
kaf24@firebug.cl.cam.ac.uk
2f760d09a8
Merge xen-ia64-unstable.hg
2006-03-02 10:49:19 +01:00
emellor@leeni.uk.xensource.com
f40f145614
Merged.
2006-03-02 03:21:38 +01:00
emellor@leeni.uk.xensource.com
343da423ce
Fix violation of C90 mixed-code-and-declarations restriction.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-03-02 03:21:17 +01:00
vhanquez@kneesa.uk.xensource.com
dcb858b089
Removing out-of-date unused file.
...
current code available in io/xs_wire.h
Signed-off-by: Vincent Hanquez <vincent@xensource.com >
2006-03-02 02:14:45 +00:00
emellor@leeni.uk.xensource.com
03d3577c36
Fix printf.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-03-02 02:35:23 +01:00
emellor@leeni.uk.xensource.com
06d17943f0
Added a basic integrity checker, and some basic ability to recover from store
...
corruption, rather than just spewing error messages and exiting.
Added a xenstore-control executable, which sends commands to xenstored.
Currently, the only command is 'check', which triggers an integrity check.
(The integrity check is also triggered whenever a corrupted store is detected).
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-03-02 02:09:23 +01:00
emellor@leeni.uk.xensource.com
8920f45cc8
Silence the messages that are emitted when removing nodes that already have
...
been removed. This is fine, in a cleanup script.
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-03-02 02:01:17 +01:00
emellor@leeni.uk.xensource.com
4749c682b0
Avoid a race between Xend removing the vm entries corresponding to a domain,
...
and the hotplug scripts checking whether that domain is still alive. This
triggers the "xenstore-read: couldn't read path /local/domain/107/vm" message
in /var/log/xen-hotplug.log, followed by "Device XYZ is mounted in a guest
domain and so cannot be mounted now".
Closes bug #514 .
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-03-02 01:59:28 +01:00
kaf24@firebug.cl.cam.ac.uk
af77e81a1c
Fix problems with HVM PAE guests with >4GB memory.
...
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com >
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com >
2006-03-01 23:41:43 +01:00
kaf24@firebug.cl.cam.ac.uk
4a8c3511f1
Add SVM 32bit msr support (combined both 32bit with 64bit functions)
...
and enable vlapic for 64bit.
Signed-off-by: Tom Woller <thomas.woller@amd.com >
2006-03-01 23:39:43 +01:00
kaf24@firebug.cl.cam.ac.uk
7595516fa0
Clean up SVM 32-bit exits.S file (remove all tsc/fpu).
...
Signed-off-by: Tom Woller <thomas.woller@amd.com >
2006-03-01 23:38:18 +01:00
kaf24@firebug.cl.cam.ac.uk
2c1a8a16e5
Revert two uses of CONFIG_PAGING_LEVELS to CPP rather than C predicate.
...
Fixes PAE and 64-bit builds.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-01 23:35:55 +01:00
awilliam@xenbuild.aw
be6f876fc1
[IA64] sparse update for 2.6.16-rc5
...
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2006-03-01 15:06:24 -07:00
awilliam@xenbuild.aw
07d63fd0d0
[IA64] default to SMP
...
UP builds are not maintained on xen-unstable, we seem to be
running SMP well enough to make the transition.
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2006-03-01 14:15:44 -07:00
awilliam@xenbuild.aw
33677d0c2e
[IA64] Turn on CONFIG_XEN_BLKDEV_BACKEND
...
We relied on the Makefile for building this before, now we
need it set in our .config file.
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2006-03-01 14:12:30 -07:00
awilliam@xenbuild.aw
8bda27c810
merge
2006-03-01 12:47:25 -07:00
kaf24@firebug.cl.cam.ac.uk
71a0b53a1a
map_domain_page() now handles running on idle page tables.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-01 18:34:06 +01:00
kaf24@firebug.cl.cam.ac.uk
8c52f78fc5
Disallow cmpxchg8b ptwr emulation for non-pae. Also a few cleanups.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-01 18:33:36 +01:00
awilliam@xenbuild.aw
f85031ea1e
[IA64] Every processor call xen_early_setup (required on SMP-guest to set ivt).
...
Only BP set running_on_xen.
xensetup.S slightly compacted.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net >
2006-03-01 10:01:54 -07:00
awilliam@xenbuild.aw
80ab525b55
[IA64] warning cleanup
...
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2006-03-01 09:53:17 -07:00
emellor@leeni.uk.xensource.com
3ef81423e2
Remove unused #include <sys/ioctl.h>.
...
Signed-off-by: Ewan Mellor <ewan@xensource.com >
2006-03-01 17:52:37 +01:00
awilliam@xenbuild.aw
5cc053b237
[IA64] VTI: updated vtlb, support_non_contiguous memory on vtidomain
...
Previously VTI-domain only supported contiguous memory,
this patch is intended to make VTI-domain support non-contiguous memory.
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2006-03-01 08:29:00 -07:00
kaf24@firebug.cl.cam.ac.uk
c9c1967cb0
Clean wrpt state when emulating CR3 write.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-03-01 14:49:31 +01:00
kaf24@firebug.cl.cam.ac.uk
10a6fd541c
SVM patch to add 64bit hv support.
...
This patch only modifies svm files.
Tested with c/s 9015 with 32bit hv using UP Dom0, with UP linux and
winxpsp1 unmodified guests.
Tested with c/s 9015 with 64bit hv using UP Dom0, with 32bit and 64bit
UP linux and 32bit winxpsp1.
Signed-off-by: Tom Woller <thomas.woller@amd.com >
2006-02-28 22:57:38 +01:00
awilliam@xenbuild.aw
f13717e1d9
[IA64] Unused fields in mm_struct commented out.
...
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net >
2006-02-28 13:18:08 -07:00
awilliam@xenbuild.aw
6e80748720
[IA64] Misc clean-up and warnings removal.
...
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net >
2006-02-28 13:10:16 -07:00
awilliam@xenbuild.aw
ba09136429
[IA64] xen_timer_interval removed (was not used).
...
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net >
2006-02-28 12:43:08 -07:00
awilliam@xenbuild.aw
a1e2dc0e74
[IA64] delivery_mask removed (was unused).
...
The field was renamed in arch-ia64.h for backward compatibility with xen linux.
Signed-off-by: Tristan Gingold <tristan.gingold@bull.net >
2006-02-28 12:23:46 -07:00
awilliam@xenbuild.aw
83877b3bcb
[IA64] Found the lost memory
...
This patch can work around virtual memmap/discontig memory issues,
but memory gain may not be realized.
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
2006-02-28 12:02:50 -07:00
kaf24@firebug.cl.cam.ac.uk
cc12ca26b5
Allow tpmfront/tpmback to be built as modules.
...
From: Jan Beulich
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-28 19:00:15 +01:00
kaf24@firebug.cl.cam.ac.uk
a7361f672b
Allow netback to be built as a module.
...
From: Jan Beulich
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-28 18:59:24 +01:00
kaf24@firebug.cl.cam.ac.uk
8df09a9d15
Allow blkback to be built as a module.
...
From: Jan Beulich
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-28 18:56:00 +01:00
awilliam@xenbuild.aw
da76400670
[IA64] cleanup warning in xen/ia64 (arch/ia64/xen)
...
These patches fix many issue (ex. panic dom0, oops domU/dom0...).
we will fix compile warnnings one step at a time.
Signed-off-by: Tsunehisa Doi <doi.tsunehisa@jp.fujitsu.com >
Signed-off-by: Kouya SHIMURA <kouya@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com >
2006-02-28 10:29:30 -07:00
awilliam@xenbuild.aw
b983eb9e06
[IA64] cleanup warning in xen/ia64 (arch/ia64/linux-xen)
...
These patches fix many issue (ex. panic dom0, oops domU/dom0...).
we will fix compile warnnings one step at a time.
Signed-off-by: Tsunehisa Doi <doi.tsunehisa@jp.fujitsu.com >
Signed-off-by: Kouya SHIMURA <kouya@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com >
2006-02-28 10:26:43 -07:00
awilliam@xenbuild.aw
9b80574561
[IA64] cleanup warning in xen/ia64 (arch/ia64/linux)
...
These patches fix many issue (ex. panic dom0, oops domU/dom0...).
we will fix compile warnnings one step at a time.
Signed-off-by: Tsunehisa Doi <doi.tsunehisa@jp.fujitsu.com >
Signed-off-by: Kouya SHIMURA <kouya@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com >
2006-02-28 10:24:03 -07:00
awilliam@xenbuild.aw
90cd444ac5
[IA64] cleanup warning in xen/ia64 (include/asm-ia64)
...
These patches fix many issue (ex. panic dom0, oops domU/dom0...).
we will fix compile warnnings one step at a time.
Signed-off-by: Tsunehisa Doi <doi.tsunehisa@jp.fujitsu.com >
Signed-off-by: Kouya SHIMURA <kouya@jp.fujitsu.com >
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com >
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com >
2006-02-28 10:21:54 -07:00
kaf24@firebug.cl.cam.ac.uk
43e75330bf
Avoid using unexported add_timer_on() function in netback driver.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-28 18:15:18 +01:00
awilliam@xenbuild.aw
138d5932c2
[IA64] Cleanup hypercall.h
...
Cleanup to hypercall.h of ia64 xenlinux, and remove used stuff.
Signed-off-by Kevin Tian <kevin.tian@intel.com >
2006-02-28 10:13:55 -07:00
kaf24@firebug.cl.cam.ac.uk
99cab9a778
Sketch a new interface for transferring hypercall arguments in memory.
...
Instead of manipulating guest virtual addresses, 'guest handles' are
passed across the hypercall interface, which may only be manipulated
via the interface exported by guest_access.h.
So far this has only been applied to the memory_op hypercall. The
interfaces are still subject to change. Other hypercalls can be updated
after the interface is agreed upon.
Also cleaned up the hypercall_create_continuation() interface to take
a format string and different-typed varargs (they do not all need to
be castable to longs).
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-28 17:45:20 +01:00
kaf24@firebug.cl.cam.ac.uk
ec42d0fc1a
Clean up management of 'initial images' temporary buffers.
...
Avoid double-freeing boundary pages.
Signed-off-by: Anthony Xu <anthony.xu@intel.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-28 11:58:45 +01:00
kaf24@firebug.cl.cam.ac.uk
dfd53f76ba
Fix tools Makefiles to respect CFLAGS. Disable stack-smash
...
protection when building vmxassist/hvmloader.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-28 11:41:54 +01:00
kaf24@firebug.cl.cam.ac.uk
efc061e453
Add 'm' debug key to print free-memory info.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-28 11:07:18 +01:00
kaf24@firebug.cl.cam.ac.uk
f9ef80600b
Fix a multi HVM domain issue (bugzilla bug #542 ):
...
This issue can be reproduced on SMP platform, while the domain 0
is UP. The reason is, after finishing a dma request, the dma thread will
trigger the interrupt and then clear the call back function. When guest
get the interrupt , it will try to check the call back function, if it
is set, then it will trigger a dma request again. So if the checking for
the callbackfunction happens between trigger interrupt and clear
callback function on dma thread, it will cause NULL function calling.
After with domain 0 UP and smp platform, this situation can be
reproduced easily.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com >
2006-02-28 10:18:34 +01:00
kaf24@firebug.cl.cam.ac.uk
cd39504aca
Fix SVM cr0 handling.
...
Signed-off-by: Tom Woller <thomas.woller@amd.com >
2006-02-28 10:14:32 +01:00
kaf24@firebug.cl.cam.ac.uk
e7a6ad4927
Fix SVM PAE support.
...
Signed-off-by: Tom Woller <thomas.woller@amd.com >
2006-02-28 10:14:10 +01:00
kaf24@firebug.cl.cam.ac.uk
2e9e5c7ead
Fix SVM guest pin timer migration logic.
...
Signed-off-by: Tom Woller <thomas.woller@amd.com >
2006-02-28 10:13:26 +01:00
kaf24@firebug.cl.cam.ac.uk
a68cc879d9
Fix SVM vlapic logic.
...
Signed-off-by: Tom Woller <thomas.woller@amd.com >
2006-02-28 10:12:29 +01:00