Commit Graph
6329 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 88ec00fa72 This patch extends I/O APIC guest writes so that the correct destination
fields are written in the redirection table entry.

Signed-off-by: Aravindh Puthiyaparambil
               <aravindh.puthiyaparambil@unisys.com>
2005-08-23 09:49:12 +00:00
kaf24@firebug.cl.cam.ac.uk cf4b88f454 This patch turns on host-side USB support in the x86_64 Dom0 kernel.
Signed-off-by: Aravindh Puthiyaparambil
               <aravindh.puthiyaparambil@unisys.com>
2005-08-23 09:28:05 +00:00
kaf24@firebug.cl.cam.ac.uk 3eedad5ee1 Remove double invocation of vmx_intr_assist when VM_EXIT
causes a domain switch.

Signed-off-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
2005-08-23 09:26:11 +00:00
cl349@firebug.cl.cam.ac.uk 1a710f56e7 Fix compiler warnings.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-22 23:07:37 +00:00
cl349@firebug.cl.cam.ac.uk 37fe3341c3 Merge libxenstat and xentop. 2005-08-22 21:54:28 +00:00
kaf24@firebug.cl.cam.ac.uk ed3a50d01c no pae by default 2005-08-22 19:59:58 +00:00
kaf24@firebug.cl.cam.ac.uk 7afc4b008b We cannot allow nested C functions. They create a stack
trampoline when their address is taken, which causes a
fault if the system implements NX/XD.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-22 19:58:22 +00:00
kaf24@firebug.cl.cam.ac.uk f84addf449 Apply Ross Mcilroy's balloon_dealloc_empty_page_range patch
and generally clean up the ballon driver a bunch.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-22 16:38:13 +00:00
cl349@firebug.cl.cam.ac.uk 6637311432 merge? 2005-08-22 10:21:18 +00:00
cl349@firebug.cl.cam.ac.uk 09b3e82042 Remove option for running block devices without grant-tables.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-22 10:20:58 +00:00
kaf24@firebug.cl.cam.ac.uk 46f1e56137 No 'boot error' message if booting secondary vcpu succeeds. 2005-08-22 10:18:14 +00:00
kaf24@firebug.cl.cam.ac.uk aa82c3b807 Ensure that 64-bit get_user/put_user only transfer to
a 64-bit local variable. Some gcc versions have bugs
if this restriction isn't observed.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-22 09:52:06 +00:00
kaf24@firebug.cl.cam.ac.uk 559ea02f61 Fix out-of-source-tree build problem.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
2005-08-22 09:43:58 +00:00
kaf24@firebug.cl.cam.ac.uk 3b742fc66a I noticed that an old problem is back (see below). The time command is
not showing the correct time (it's 3 sec in real time). The patch
attached restores the dropped line at the time of upgrading to 2.6.12.

Jun Nakajima
2005-08-22 09:37:27 +00:00
kaf24@firebug.cl.cam.ac.uk a1a7a3e42f Ordering was broken in the course of separating XEN-overridden
sources from those getting used through symlink creation.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2005-08-22 08:51:04 +00:00
kaf24@firebug.cl.cam.ac.uk bb519d6c5c When building in a tree with (the sparse trees and) the patches
stripped, a warning is issued by make, which the below patch
eliminates.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
2005-08-22 08:36:21 +00:00
kaf24@firebug.cl.cam.ac.uk 0ab9c07764 Make grant-table dev_bus_addr really be an address, not a frame
number. Also get rid of GNTUNMAP_DEV_FROM_VIRT -- it makes little
sense and noone uses it.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-21 17:06:08 +00:00
vh249@arcadians.cl.cam.ac.uk 86c29e1543 fix logic of ballooning out to handle the dom0_min_mem parameter correctly
add an error message when having not enough memory

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-08-21 16:49:54 +00:00
kaf24@firebug.cl.cam.ac.uk 23998ec989 Fix debug build. 2005-08-21 16:24:23 +00:00
akw27@arcadians.cl.cam.ac.uk e5c0d3be0d Remove dead code from blkback.
Signed-off-by: Andrew Warfield <andrew.warfield@cl.cam.ac.uk>
2005-08-21 12:24:21 +00:00
cl349@firebug.cl.cam.ac.uk 019a924a50 merge? 2005-08-21 11:41:45 +00:00
cl349@firebug.cl.cam.ac.uk 3ce6c98f62 Fix fallout from "Get rid of memory_t." checkin.
{get,put}_user of u64 items has to use u64 variables.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-21 11:40:39 +00:00
cl349@firebug.cl.cam.ac.uk dbf6d3dd6e merge? 2005-08-21 11:02:00 +00:00
kaf24@firebug.cl.cam.ac.uk b3fc0bbf71 Fix dom0 memory allocation.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-21 08:14:36 +00:00
iap10@freefall.cl.cam.ac.uk 5a3294e534 PAE fix to allow dom0 to be >4GB. PAE has made huge progress this week. I now kn
ow of no PAE specific outstanding issues. Go find some :-)
Signed-off-by: ian@xensource.com
2005-08-21 00:10:30 +00:00
kaf24@firebug.cl.cam.ac.uk 1d595a775e Fix NORMAL_PT_UPDATE for PAE when page is not pinned.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-20 20:05:21 +00:00
kaf24@firebug.cl.cam.ac.uk afb777e939 Defining PAGE_SIZE as int broke x86/64. Revert that change. 2005-08-20 11:51:50 +00:00
kaf24@firebug.cl.cam.ac.uk 7cca45f447 Fix put_pte_flags() for Xen PAE.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-20 11:14:28 +00:00
kaf24@firebug.cl.cam.ac.uk 4f61ba1e84 Not ready for pae by default just yet. ;-) 2005-08-20 10:03:40 +00:00
kaf24@firebug.cl.cam.ac.uk e5ca22d4ab Fix PAE boot.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-20 10:01:20 +00:00
kaf24@firebug.cl.cam.ac.uk 7cd753585f I find at present "make uninstall" won't remove all installed files, for
example: /usr/libexec/xen/xc_restore. This may cause potential unclean
environment.

This patch add more lines in uninstall to remove all installed files by
"make uninstall".

Signed-off-by: Yongkang You <yongkang.you@intel.com>
2005-08-20 09:38:32 +00:00
kaf24@firebug.cl.cam.ac.uk bd56a31071 We need to detect ioemu handled devices earlier and ignore them.
Testing in blkif.py is too late. The check should be in createDevices.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-08-20 09:36:15 +00:00
kaf24@firebug.cl.cam.ac.uk a1b473eb06 Mini-os updated to use the new time interface.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2005-08-20 09:35:38 +00:00
iap10@freefall.cl.cam.ac.uk 2bf204d13a Hopefully fix build with SLES9 compiler.
Signed-off-by: ian@xensource.com
2005-08-19 20:02:01 +00:00
mark.williamson@cl.cam.ac.uk fdf3896523 Minor xenstat changes from Christian Limpach. 2005-08-19 18:22:56 +00:00
sd386@font.cl.cam.ac.uk 9d15f02cd7 Local merge of two headed repo. 2005-08-19 18:12:48 +00:00
sd386@font.cl.cam.ac.uk b25e5aa958 Fix broken 'xm sedf', fixed by Ross Mcilroy
Signed-off by: Stephan.Diestelhorst@{cl.cam.ac.uk, inf.tu-dresden.de}
2005-08-19 18:08:29 +00:00
kaf24@firebug.cl.cam.ac.uk defa5b4d1e merge. 2005-08-19 17:57:00 +00:00
kaf24@firebug.cl.cam.ac.uk 4fa9c861ef Fix x86/64 build by defining correct vcpu_pickle(). 2005-08-19 17:56:20 +00:00
cl349@firebug.cl.cam.ac.uk 921a19ca7e merge? 2005-08-19 17:54:56 +00:00
kaf24@firebug.cl.cam.ac.uk 6328b7e119 Six the SWIOTLB. The bus range does need to be contiguous after
all as a range comparsion is used to determine if a given
dma address is within the swiotlb aperture.

Maybe we can do better sometime in the future (fast address
range comparison yet not require bus-contiguous aperture). But
reverting this morning's patch is fine for now.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-19 17:51:37 +00:00
cl349@firebug.cl.cam.ac.uk 2c26ae3399 merge? 2005-08-19 17:38:31 +00:00
cl349@firebug.cl.cam.ac.uk 1511aa3b38 Improve error paths and cleanup code.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-19 17:38:07 +00:00
kaf24@firebug.cl.cam.ac.uk d9eb7e09d7 Get rid of memory_t. Almost all uses should be unsigned long.
The few uses for a physical/machine address have been mostly 
changed to u64.

Grant table code probably needs auditing for PAE correctness,
but at least the interface is now sound.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-19 17:25:04 +00:00
kaf24@firebug.cl.cam.ac.uk 40326f9fc3 Simplify pagetable initialisation. Since swapper_pg_dir now
is the one allocated by the domain builder, we can be sure
it is below 4GB (essential for PAE).

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-19 16:46:51 +00:00
kaf24@firebug.cl.cam.ac.uk 4e4ffc8edf Fix many uses of machine addresses in XenLinux. Primarily
this fixes users of virt_to_machine/machine_to_virt to
use virt_to_mfn/mfn_to_virt where that is more appropriate.

This should be a big step to improved PAE stability.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-19 16:06:43 +00:00
sos22@douglas.cl.cam.ac.uk df3303d149 Merge.
Signed-off-by: Steven Smith, sos22@cam.ac.uk
2005-08-19 15:47:19 +00:00
sos22@douglas.cl.cam.ac.uk b3c5293807 This time, it's fixed.
Signed-off-by: Steven Smith, sos22@cam.ac.uk
2005-08-19 15:37:37 +00:00
cl349@firebug.cl.cam.ac.uk 18ac57ccb5 merge? 2005-08-19 15:22:05 +00:00
cl349@firebug.cl.cam.ac.uk 8c960d49e8 Correctly unmap ring page if using grant tables.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-19 15:21:12 +00:00