kaf24@firebug.cl.cam.ac.uk
fa9ecc30bf
Svm patch to cleanup the injection logic and consolidate into one function.
...
Signed-off-by: Tom Woller <thomas.woller@amd.com >
2006-02-18 01:01:31 +01:00
emellor@leeni.uk.xensource.com
dd3606b160
Attached patch updates the xm man page for the listing of
...
block/network/vtpm devices.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2006-02-17 23:00:05 +01:00
kaf24@firebug.cl.cam.ac.uk
784aebe2ef
Remove obsolete ccache patch from xm-test buildroot.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-17 21:26:49 +01:00
kaf24@firebug.cl.cam.ac.uk
a50ec08122
Fix buildroot problems and bring the buildroot image up
...
to 15feb06, update to Makefile.am. The original gcc-mirror patch is
removed and the buildroot configuration updated.
Signed-off-by: Woody Marvel <marvel@us.ibm.com >
2006-02-17 21:25:53 +01:00
kaf24@firebug.cl.cam.ac.uk
262e026767
Disable C1 clock ramping on AMD 8th gen CPUs.
...
This reverts a previous changeset that removed this code.
It is currently required for good TSC behaviour in SVM
(fully virtualised) guests.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-17 20:41:30 +01:00
emellor@leeni.uk.xensource.com
1f52e936e5
This patch displays the network-list/block-list/vtpm-list using the 'xm'
...
command. It supports the '--long' option.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2006-02-17 19:35:38 +01:00
kaf24@firebug.cl.cam.ac.uk
13627ba6ee
Fix 64b build.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-17 18:22:23 +01:00
kaf24@firebug.cl.cam.ac.uk
0a64e72ee7
Fix HVM MSR save/restore.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com >
Signed-off-by: Xin Li <xin.b.li@intel.com >
2006-02-17 16:29:24 +01:00
cl349@firebug.cl.cam.ac.uk
47421a278a
Fix Read/Write CR3 emulation.
...
- on write, new_guest_cr3() takes an mfn not an ma
- for shadow_translate guests, apply mfn_to_gmfn/gmfn_to_mfn
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2006-02-17 11:49:11 +00:00
kaf24@firebug.cl.cam.ac.uk
ae1754163b
Fix a VMX FPU bug introduced in changeset 8834.
...
From: Edwin Zhai
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-17 12:28:35 +01:00
cl349@firebug.cl.cam.ac.uk
9ff4a6f68e
Update the ia64 linux-2.6-xen-sparse tree to 2.6.16-rc3.
...
Signed-off-by: Alex Williamson <alex.williamson@hp.com >
2006-02-16 23:24:47 +00:00
kaf24@firebug.cl.cam.ac.uk
9a5bf16779
Update defconfigs for PCI front/back driver config options.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-17 00:07:11 +01:00
kaf24@firebug.cl.cam.ac.uk
da0c51ab41
Update documentation to describe new PCI front/back drivers.
...
Update the documentation to include the syntax of "hiding" a PCI
device from domain 0 and for specifying the assignment of a PCI device
to a driver domain. It also includes a brief section exploring some of
the security concerns that driver domains address and mentioning some
of those that remain.
Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil >
2006-02-16 23:47:58 +01:00
kaf24@firebug.cl.cam.ac.uk
d70271d485
Tools changes for PCI front/back drivers.
...
Replace the old pciif DevController class with a new one that
configures the PCI backend. A util class detects the resource usage of
the specified PCI devices and pciif interacts with Xen to permit a
driver domain to directly access those physical I/O resources.
Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil >
2006-02-16 23:46:51 +01:00
kaf24@firebug.cl.cam.ac.uk
ca0e9847e8
PCI backend and frontend drivers for i386 and x86_64.
...
Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil >
2006-02-16 23:44:41 +01:00
kaf24@firebug.cl.cam.ac.uk
b41c62a012
Provide a simpler, higher-level interface for mapping in pages from another domain.
...
I also added a one-liner that causes xenbus_dev_(error|fatal) to output
to the kernel log buffer (and thus syslog) which was invaluable to me
while debugging (by default, error messages only appear in xenstore).
Signed-off-by: Ryan Wilson <hap9@epoch.ncsc.mil >
2006-02-16 23:37:40 +01:00
kaf24@firebug.cl.cam.ac.uk
666c2a019b
Fix bugs related to the virtual TPM. Also make the vTPM
...
manager listen on /dev/vtpm.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com >
2006-02-16 23:00:00 +01:00
kaf24@firebug.cl.cam.ac.uk
f47038ad99
Fix a dead download url for ccache when building the xm-test ramdisk.
...
From: Adam Wendt <adam@ipcoast.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-16 22:57:29 +01:00
kaf24@firebug.cl.cam.ac.uk
8a61bdcadb
VTPM Tools: Fix threading bug in vtpm_manager while using NPTL. Now
...
supports Linux Threads and NPTL threads. Also clean up vtpm Makefile.
Signed-off-by: Vinnie Scarlata <vincent.r.scarlata@intel.com >
2006-02-16 22:39:55 +01:00
kaf24@firebug.cl.cam.ac.uk
97af5bbb77
Fix Xen builds with perfc=y and perfc_arrays=y.
...
Signed-off-by: Chris Wright <chrisw@sous-sol.org >
Signed-off-by: Ben Thomas <ben@virtualiron.com >
2006-02-16 22:33:46 +01:00
kaf24@firebug.cl.cam.ac.uk
a7e0c3b593
Sync Xen's mpspec.h with Linux 2.6.16-rc2 codebase.
...
Fixes building with gcc 4.1-pre, pointed out by Chris Wright.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-16 22:25:54 +01:00
kaf24@firebug.cl.cam.ac.uk
d18b5b7057
Re-enable VGA acceleration under the new phys_to_machine_mapping.
...
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com >
Signed-off-by: Xin B Li <xin.b.li@intel.com >
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com >
2006-02-16 19:04:33 +01:00
kaf24@firebug.cl.cam.ac.uk
a582b2638b
New memory_op subcall XENMEM_translate_gpfn_list.
...
Allows translation from GPFNs to MFNs for an auto-translated
guest.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-16 18:52:06 +01:00
kaf24@firebug.cl.cam.ac.uk
88f2d4e3e1
Upgrade mpparse.c to linux-2.6.16-rc2 codebase.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-16 17:37:21 +01:00
vhanquez@kneesa.uk.xensource.com
cfb205ce16
When xc_linux_build fails without a meaninful errno, force errno to EINVAL
...
avoid message "Error creating domain: (0, 'Error')" in the case
domU version is too old or too new.
Signed-off-by: Vincent Hanquez <vincent@xensource.com >
2006-02-16 16:19:38 +00:00
kaf24@firebug.cl.cam.ac.uk
db170676e2
Fix problems with direct-mapping handling especially when
...
VMX assist is used for real mode and protected mode.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com >
Signed-off-by: Xin B Li <xin.b.li@intel.com >
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com >
2006-02-16 16:46:21 +01:00
kaf24@firebug.cl.cam.ac.uk
775822d36c
Add back code to zero the 'saved eflags' value on vmx vmexit.
...
vmx mode is unstable without this -- the root cause needs to
be investigated.
From: Jun Nakajima
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-16 16:35:09 +01:00
kaf24@firebug.cl.cam.ac.uk
8c9970bdb4
Clean up swiotlb_init() decls.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-16 16:31:52 +01:00
kaf24@firebug.cl.cam.ac.uk
0510339782
Upgrade smpboot.c to linux-2.6.16-rc2 codebase.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-16 16:31:22 +01:00
vhanquez@kneesa.uk.xensource.com
5f3c901acc
Fix Makefile problem when "gcc -v" includes a '/'
...
and convert | to / to avoid the same problem with '|'.
Original patch from Jos Vos, modified to prevent a '|' problem.
From: Jos Vos <jos@xos.nl >
Signed-off-by: Vincent Hanquez <vincent@xensource.com >
2006-02-16 14:26:02 +00:00
cl349@firebug.cl.cam.ac.uk
890259d6b5
Fix upgrade omissions.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2006-02-16 14:10:01 +00:00
cl349@firebug.cl.cam.ac.uk
668fe87cad
Check for the entire kernel range for temporarily cleared PMD entries.
...
From: Jan Beulich <JBeulich@novell.com >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2006-02-16 11:30:44 +00:00
cl349@firebug.cl.cam.ac.uk
3d77bc4d6b
Fix prototype mismatch.
...
Should fix e1000/tg3 hang and cciss problems.
From: Chris Wright <chrisw@sous-sol.org >
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2006-02-16 11:25:36 +00:00
cl349@firebug.cl.cam.ac.uk
18e8c8c33f
Update to Linux 2.6.16-rc3.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
--HG--
rename : patches/linux-2.6.16-rc2/i386-mach-io-check-nmi.patch => patches/linux-2.6.16-rc3/i386-mach-io-check-nmi.patch
rename : patches/linux-2.6.16-rc2/net-csum.patch => patches/linux-2.6.16-rc3/net-csum.patch
rename : patches/linux-2.6.16-rc2/pmd-shared.patch => patches/linux-2.6.16-rc3/pmd-shared.patch
rename : patches/linux-2.6.16-rc2/smp-alts.patch => patches/linux-2.6.16-rc3/smp-alts.patch
2006-02-15 22:06:12 +00:00
kaf24@firebug.cl.cam.ac.uk
ad08f1cd83
Clean up grant-table code and replace uses of get_user
...
and put_user in common code. This is an attempt to narrow
the uaccess API before it gets replaced.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-15 15:20:32 +01:00
cl349@firebug.cl.cam.ac.uk
1a5dc16c66
Cleanup x86/x86_64 apic.c files.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2006-02-15 14:13:10 +00:00
kaf24@firebug.cl.cam.ac.uk
5faf6b2ae3
Fix x86/64 build for gcc-4.1-pre.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-15 12:21:12 +01:00
kaf24@firebug.cl.cam.ac.uk
299db04285
Fix non-x86 build.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-15 12:20:42 +01:00
cl349@firebug.cl.cam.ac.uk
71808be4de
Set feature flags for shadow translate mode guests.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2006-02-15 09:44:11 +00:00
cl349@firebug.cl.cam.ac.uk
8812951e1b
Fix building the p2m table for shadow translate mode guests.
...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk >
2006-02-15 09:43:14 +00:00
kaf24@firebug.cl.cam.ac.uk
b173c37378
Fix to previous changeset: CLTS must be unconditional in
...
setup_fpu(), as the flag can be set in CR0 even if the VCPU
has already dirtied the FPU (this happens if a paravirtualised
guest has set CR0.TS).
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-15 00:37:15 +01:00
kaf24@firebug.cl.cam.ac.uk
91e612aea0
More fixes to HVM FPU management. Mostly for SVM, but also
...
fix VMX mov_to_cr0: must setup_fpu() if the new cr0 value
has TS clear, regardless of previous cr0.TS value.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-15 00:15:11 +01:00
kaf24@firebug.cl.cam.ac.uk
b42ab5370e
Clean up save_init_fpu().
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-14 23:30:59 +01:00
kaf24@firebug.cl.cam.ac.uk
4e44a5e52e
Fix gcc4 build.
...
Signed-off-by: Steve Dobbelstein <steved@us.ibm.com >
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-14 22:36:22 +01:00
kaf24@firebug.cl.cam.ac.uk
58d5afee7b
Clarify lazy FPU management in VMX domains.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-14 20:17:26 +01:00
kaf24@firebug.cl.cam.ac.uk
84e877b233
Fix segment-register dumping in show_registers().
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-14 19:43:45 +01:00
kaf24@firebug.cl.cam.ac.uk
f25330e869
More upgrades of Xen code to linux-2.6.16-rc2.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-14 18:25:10 +01:00
kaf24@firebug.cl.cam.ac.uk
193af2f5c7
Upgrade arch/x86/cpu/* files to their equivalents in
...
linux-2.6.16-rc2/arch/i386/kernel/cpu/*.
Also include kernel taint tracking and include that
information, and Xen release info, in our crash dumps.
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-14 16:23:43 +01:00
kaf24@firebug.cl.cam.ac.uk
45fb1a8c3f
Return real error code from Xen /dev/mem, not EAGAIN.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-13 17:41:23 +01:00
kaf24@firebug.cl.cam.ac.uk
572e48e2b8
Update defconfigs.
...
Signed-off-by: Keir Fraser <keir@xensource.com >
2006-02-13 16:47:04 +01:00