Commit Graph
4615 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 0ebae1de2a bitkeeper revision 1.1367 (4269220d42QVzUVVn9-Tn1tb9fNSWw)
Remove memory and cpu parameters from DOM0_CREATEDOMAIN, and remove
DOM0_SETINITIALMEM. You can get the same effect via PINCPU, 
SETMAXMEM, and do_mem_op(increase_reservation).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-22 16:10:53 +00:00
kaf24@firebug.cl.cam.ac.uk a9e946ecae bitkeeper revision 1.1366 (4268c126o36cKcnzrSkVxkbrPsoz1g)
Clean up shadow destruction and fix domain destroy when shadow mode
is disabled.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-22 09:17:26 +00:00
maf46@burn.cl.cam.ac.uk 8f950245a5 bitkeeper revision 1.1365 (42682a52hWoXmZEjWb2-0Ly05egFKg)
Hand merged...

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-21 22:33:54 +00:00
iap10@freefall.cl.cam.ac.uk db9037d21a bitkeeper revision 1.1357.1.1 (42681e7b7KG-juYnPnNfse4HYMkaMw)
Make find_highest_irq() work for both 32 and 64 bit.

Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: ian@xensource.com
2005-04-21 21:43:23 +00:00
maf46@burn.cl.cam.ac.uk 7370e393a6 bitkeeper revision 1.1364 (426812d6FWlbLqlBBPVfuegkt0_fyg)
Now that the shadow code is squashing the global bit in PTEs,
it's OK to re-enable the PGE capability flag for vmx domains.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-21 20:53:42 +00:00
maf46@burn.cl.cam.ac.uk 26726116da bitkeeper revision 1.1363 (42680d0cgIEixfhEIj_iwmyZ73FnfA)
Fix assertion in delete_shadow_status to allow for removal of PGT_writable_pred's...

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-21 20:29:00 +00:00
maf46@burn.cl.cam.ac.uk 45bd9df49c bitkeeper revision 1.1362 (42680a98yqGgnpTBOHnevLNLv2y9uw)
Minor cleanup of the SH_V*LOG macros.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-21 20:18:32 +00:00
maf46@burn.cl.cam.ac.uk d09d9481c4 bitkeeper revision 1.1361 (42680a63VNdw2vcBm5FrW2nhMZ_Ovw)
Fix another bug introduced in the shadow code with the new page table entry macros.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-21 20:17:39 +00:00
maf46@burn.cl.cam.ac.uk 7bfa6991b2 bitkeeper revision 1.1360 (4267fb9cE5_cr52xAcYJVAIQ7vYIzg)
Added SH_VVVLOG, rather than #if 0, for useful but incredibly verbose shadow mode debugging hook

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-21 19:14:36 +00:00
maf46@burn.cl.cam.ac.uk 0b576fe1c0 bitkeeper revision 1.1359 (4267fb77Hyv3hRzHLAvCoA2BMyz59A)
Fix bug introduced in the shadow code with the new page table entry macros.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-21 19:13:59 +00:00
maf46@burn.cl.cam.ac.uk fa3bf1db52 bitkeeper revision 1.1358 (4267e561Ml7gO0DQYGp9EYRUYPBDHA)
Merge burn.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into burn.cl.cam.ac.uk:/local/scratch-1/maf46/xen-unstable.bk

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-21 17:39:45 +00:00
maf46@burn.cl.cam.ac.uk 799b3519ae bitkeeper revision 1.1340.1.3 (4267e4164-4aUgpDERur941-hMFzxg)
fix vmx problems

Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-21 17:34:14 +00:00
maf46@burn.cl.cam.ac.uk 8d44bf2ec8 bitkeeper revision 1.1340.1.2 (4267e33asTxlaqmSE5FbomPUak_0JQ)
Shadow mode should (for now) *not* set the _PAGE_GLOBAL mode in any of the shadow page tables.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-21 17:30:34 +00:00
maf46@burn.cl.cam.ac.uk 663c8cdf62 bitkeeper revision 1.1340.1.1 (4267e2f9w3cY4KkexyNS9ToHGVVs9Q)
Patch to enable the destruction of domains which have shadow mode enabled.
Also fixes some shadow mode ref counting bugs, and one bug in check_pte()
recently introduced by the changes in page table accessor types/macros.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-21 17:29:29 +00:00
kaf24@firebug.cl.cam.ac.uk c184a240a5 bitkeeper revision 1.1357 (4267c91c8u7H5ttS9RWRyBY5FrTm3g)
Fix APIC setup on legacy systems.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-21 15:39:08 +00:00
kaf24@firebug.cl.cam.ac.uk 7a08649841 bitkeeper revision 1.1356 (4267b673efcxbbD0RRVHEKvD5FY3Ng)
A few APIC cleanups. I hate '#if 0' code.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-21 14:19:31 +00:00
bren@br260.wolfson.cam.ac.uk f522d37200 bitkeeper revision 1.1355 (4267989cdNkLLXE3U927LF_DDyF0vA)
Makefile cleanup.
2005-04-21 12:12:12 +00:00
bren@br260.wolfson.cam.ac.uk d93275a1bb bitkeeper revision 1.1354 (4267978fFQb5kQkxkvTFxgEKkOUzLQ)
Enable the ProcFS part of grant table only when CONFIG_PROC_FS is defined.
This is also necessary for separate driver domains that contain block
device backend driver and operate in kernel-mode only (thus ProcFS turned off).

Signed-off-by: Bin Ren <bin.ren@cl.cam.ac.uk>
2005-04-21 12:07:43 +00:00
bren@br260.wolfson.cam.ac.uk 57b700fe36 bitkeeper revision 1.1353 (42679008eE6ft7E62R0UneGs51hd-w)
Enable grant table suspend and resume when CONFIG_XEN_BLKDEV_GRANT
is defined.

Signed-off-by: Bin Ren <bin.ren@cl.cam.ac.uk>
2005-04-21 11:35:36 +00:00
kaf24@firebug.cl.cam.ac.uk 45647612d0 bitkeeper revision 1.1352 (42678485GbfE9tHK21SYM_tM6xSlBQ)
Add 8-byte version of cmpxchg_user() for i386.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-21 10:46:29 +00:00
kaf24@firebug.cl.cam.ac.uk 086ac6b5c2 bitkeeper revision 1.1351 (42677d3b7Caqgw-mG40oawn1nybJ4A)
Fix segment save/restore during context switching on x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-21 10:15:23 +00:00
kaf24@firebug.cl.cam.ac.uk 64ffe412a0 bitkeeper revision 1.1350 (42676ee4BkgqwvPiIyB44k55uY8cSA)
Fix blkdev suspend/resume.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-21 09:14:12 +00:00
arun.sharma@intel.com[iap10] f57176ef14 bitkeeper revision 1.1349 (4266f0e3WdYR9ou-iJ615G_cx6Whhg)
[PATCH] use-large-file-api.patch

Support > 2G root fs on i386.

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-04-21 00:16:35 +00:00
iap10@tetris.cl.cam.ac.uk 93b9d17cce bitkeeper revision 1.1348 (4266ef9bSWLiNFi-ZJ_TkK7jYaRikA)
Truly round off the div result to get right PIT frequency for guest. 
Otherwise, the guest's idea of time drifts away from that of the host.
 
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-04-21 00:11:07 +00:00
iap10@tetris.cl.cam.ac.uk 99a43b3bea bitkeeper revision 1.1347 (4266ee31uFDz7ZMst_Cy-vYbXJ2EZw)
__vmxon() is called twice for the boot cpu, because identify_cpu() is called
twice. This patch ensures that identify_cpu() and hence __vmxon() is called
exactly once for the boot CPU on SMP.

Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-04-21 00:05:05 +00:00
iap10@freefall.cl.cam.ac.uk 10eba6b169 bitkeeper revision 1.1346 (4266c8260coTi59LSeJsnETrYAWOdw)
fix compile
2005-04-20 21:22:46 +00:00
leendert@watson.ibm.com[iap10] 133d835fa5 bitkeeper revision 1.1345 (4266bd05lHlHunb0CEvOq60j2DvKCQ)
[PATCH] VMX world switch

The attached code implements a VMX world switch to vmxassist (a small assist
module residing in a VMX enabled partition where it is responsible for
emulating real mode) whever CR0.PE is disabled.

The patch temporarily disables the PGE feature flag in cpuid as it is
currently broken (try running an unmodified 2.6 kernel that sets PGE in
mm/init.c/paging_init()).

The patch adds consistency checks before setting the ARCH_VMX_IO_WAIT state
to detect race conditions on SMP systems.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
Signed-off-by: ian@xensource.com
2005-04-20 20:35:17 +00:00
cwc22@centipede.cl.cam.ac.uk 691f7f4e58 bitkeeper revision 1.1344 (4266a1eeiNiXbU4vcENZiEEaX7Iybw)
grant-tables.txt:
  fix to error check condition after map
blkback.c:
  bug fix to grant table code in block backend
Kconfig:
  amend config entry for XEN_BLKDEV_GRANT
2005-04-20 18:39:42 +00:00
kaf24@firebug.cl.cam.ac.uk 8ffbb0bb83 bitkeeper revision 1.1343 (42669573FPZbSiupGqFkPopp_NRfpA)
Make the fallback memset/memcpy/memmove have a concrete in-place
implementation, or we end up with a recursive dependency when building
for x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-20 17:46:27 +00:00
kaf24@firebug.cl.cam.ac.uk bcdd6aeee0 bitkeeper revision 1.1342 (4266673eMuou_Ng4Ze7pzPUJ4IL7bg)
Fix memset/memcmp/memmove declaration/definition.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-20 14:29:18 +00:00
kaf24@firebug.cl.cam.ac.uk cafcabb64e bitkeeper revision 1.1341 (42665fb46UgwC9x1OrVqB6qUISrloQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-04-20 13:57:08 +00:00
kaf24@firebug.cl.cam.ac.uk d3b8be158f bitkeeper revision 1.1338.1.2 (42665facQKpiHhfw13qIq439AkffOw)
Here is a patch to get Xen running on a 32-way Unisys ES7000 system.
Please note that this patch alone is not sufficient to do this. You will
also need the clustered APIC patch that I will be submitting soon. But
since this patch was to a general area in Xen I decided to submit it
separately. I think this patch will be required to get Xen running on
any system that has more than 16 CPUs.
Signed-off-by: Aravindh Puthiyaparambil <aravindh.puthiyaparambil@unisys.com>
2005-04-20 13:57:00 +00:00
mafetter@fleming.research 82eea1d76f bitkeeper revision 1.1340 (426652e8h-OWfDH7vm_elbT4wtH2cA)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen-unstable.bk

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-20 13:02:32 +00:00
kaf24@firebug.cl.cam.ac.uk a966ed3269 bitkeeper revision 1.1338.1.1 (42665262XHUfWrT775PaPvnAkL5qXg)
Fix assumption about size of irq_cpustat_t in assembly code.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-20 13:00:18 +00:00
mafetter@fleming.research c6f46c48dc bitkeeper revision 1.1339 (42664beb9pIazYZQ7Q7VrSdT1GCS1w)
Hand merge

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-20 12:32:43 +00:00
mafetter@fleming.research e3e0d16474 bitkeeper revision 1.1311.1.1 (426641eeBv97w6sl983zxeR4Dc3Utg)
Cleanup page table handling.  Add macros to access page table
entries, fixup plenty of places in the code to use the page
table types instead of "unsigned long".

Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-20 11:50:06 +00:00
kaf24@firebug.cl.cam.ac.uk 983fcb500e bitkeeper revision 1.1338 (4266317ezHysqYzH_WRvfueqwU4i4Q)
Grant tables for FreeBSD.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-20 10:39:58 +00:00
cw@f00f.org[kaf24] a872a9ab5e bitkeeper revision 1.1337 (426630b2jBKjnL7WBIWHGPtgL50rqg)
[PATCH] [PATCH] gdbserver minor build fixes

 gdb-6.2.1-xen-sparse/gdb/gdbserver/configure    |    2 +-
 gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in |    2 +-
 gdbbuild                                        |   16 ++++++++++++----
 3 files changed, 14 insertions(+), 6 deletions(-)

More cleanups are possible, I'll send those at a later stage.
2005-04-20 10:36:34 +00:00
arun.sharma@intel.com[kaf24] bd35714f3e bitkeeper revision 1.1336 (42662e0bB62AMXvz0XCbYomA5_OHAw)
[PATCH] x86-64-enable-vmx.patch

   Enable CONFIG_VMX for x86_64.

   - Provides vmexit/entry handling code based on the x86_32 code
   - Fix find_highest_vector for 64 bit (Benjamin Liu)

   Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-04-20 10:25:15 +00:00
arun.sharma@intel.com[kaf24] 2b85c3297e bitkeeper revision 1.1335 (42662df5Ky_wqkYVs3ghiLYYBXII2Q)
[PATCH] x86-64-rdmsrl.patch

   Use the rdmsrl implementation from Linux.

   Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-04-20 10:24:53 +00:00
arun.sharma@intel.com[kaf24] 0a5d2f0113 bitkeeper revision 1.1334 (42662de0c8DCr-P3F3XBjh8kE0IjpQ)
[PATCH] x86-64-longs.patch

   Use the correct data type for x86-64

   Signed-Off-By: Arun Sharma <arun.sharma@intel.com>
2005-04-20 10:24:32 +00:00
arun.sharma@intel.com[kaf24] 642eaa007a bitkeeper revision 1.1333 (42662dd7ZAAvK_ZarFhk1lamxPIQdg)
[PATCH] x86-64-eax.patch

   vmx_vmcs.c:
     fix inline asms for x86-64

   Signed-Off-By: Benjamin Liu <benjamin.liu@intel.com>
   Signed-Off-By: Arun Sharma <arun.sharma@intel.com>
2005-04-20 10:24:23 +00:00
chrisw@osdl.org[kaf24] d584b63844 bitkeeper revision 1.1332 (42662dafs9ga33FcmQTwHMpRHPe8_Q)
[PATCH] [PATCH 2/2] x86_64 whitespace cleanup in Linux sparse

Eliminate extraneous whitespace changes in x86_64 portion of Linux
sparse patch.

Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-04-20 10:23:43 +00:00
chrisw@osdl.org[kaf24] 4aa9d0b114 bitkeeper revision 1.1331 (42662daawcgGfsYXrl37riGl22RhdA)
[PATCH] [PATCH 1/2] i386 whitespace cleanup in Linux sparse tree

Eliminate extraneous whitespace changes in i386 portion of Linux
sparse patch.

Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-04-20 10:23:38 +00:00
kaf24@firebug.cl.cam.ac.uk 17544ec455 bitkeeper revision 1.1330 (4266282ak6eGcWHbvw6KeINzcPr1XA)
Skip ioemu build if env var XEN_NO_IOEMU is set.
Signed-off-by: Mike Day <md@soft-hackle.net>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-20 10:00:10 +00:00
kaf24@firebug.cl.cam.ac.uk 18548cb509 bitkeeper revision 1.1329 (42661815u5WPq8d5f4_axi2xWheybA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xeno-unstable-ia64.bk
2005-04-20 08:51:33 +00:00
djm@sportsman.spdomain d75941fb53 bitkeeper revision 1.1327.1.3 (426584a23wQiUIp8f6GBvZpPQBMRhA)
Update documentation to reflect rebasing
2005-04-19 22:22:26 +00:00
djm@sportsman.spdomain d79fbbaf63 bitkeeper revision 1.1327.1.2 (426537ceqse6CIeqDSkO2xQvN7gUvg)
Adapt to change in x86
2005-04-19 16:54:38 +00:00
xen-ia64.adm@bkbits.net d8bde6f599 bitkeeper revision 1.1327.1.1 (426536d2PUqtjTi2v06bzD10RFwarg)
Merge bk://xen.bkbits.net/xeno-unstable.bk
into bkbits.net:/repos/x/xen-ia64/xeno-unstable-ia64.bk
2005-04-19 16:50:26 +00:00
iap10@freefall.cl.cam.ac.uk cb00a26b7c bitkeeper revision 1.1328 (4265217aYiP2DYWshvrhuzl1lKe_3w)
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-04-19 15:19:22 +00:00