Commit Graph
5789 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk d352913aeb Enable VMX domains on a SMP dom0.
Not all vectors go through do_IRQ(). It's possible to look up the handler
in the IDT and call that one, but it'll result in two trap frames.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-15 08:50:48 +00:00
kaf24@firebug.cl.cam.ac.uk 8f7262f9a6 Recently some people complain that they cannot set the maxmem for
domU. The problem is that some code wrongly treat dom.max_memkb as in
byte unit, instead of KB unit. This patch fixs the problem.

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-07-15 08:30:22 +00:00
kaf24@firebug.cl.cam.ac.uk 0a76710a47 Temporary fix for netif ring overflow, until we move
netfront/netback to grant tables.
2005-07-15 08:22:18 +00:00
kaf24@firebug.cl.cam.ac.uk 1a20379683 Simpler domid allocation.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-15 07:53:46 +00:00
iap10@freefall.cl.cam.ac.uk c742c2e652 Update x86_64 -xen config for Linux 2.6.12
Signed-off-by: ian@xensource.com
2005-07-14 23:48:06 +00:00
iap10@freefall.cl.cam.ac.uk ba8ef785e8 Update the -xen default config to Linux 2.6.12
Signed-off-by: ian@xensource.com
2005-07-14 21:03:41 +00:00
iap10@freefall.cl.cam.ac.uk 3299c3f678 Incorporate lomount from QEMU into tools/misc. This tool makes it easy to mount
individual partitions held within whole disk images.
 
Original source from http://www.dad-answers.com/qemu/utilities/QEMU-HD-Mounter/l
omount/lomount.c
 
 * Copyright (c) 2004 Jim Brown 
 * Copyright (c) 2004 Brad Watson
 * Copyright (c) 2004 Mulyadi Santosa
 
Signed-off-by: ian@xensource.com
2005-07-14 21:02:05 +00:00
kaf24@firebug.cl.cam.ac.uk 83ea48507f Missing quirks.c file. 2005-07-14 14:01:21 +00:00
kaf24@firebug.cl.cam.ac.uk dddd88c891 Auto-disable IRQ balancing/affinity on buggy chipsets.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-14 11:09:21 +00:00
kaf24@firebug.cl.cam.ac.uk 08daf6e614 Allow IRQ balancing to be disabled with 'noirqbalance'
boot parameter.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-14 10:37:49 +00:00
kaf24@firebug.cl.cam.ac.uk 563fb4e94c Add debug-key for printing IRQ/IOAPIC info.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-14 10:16:45 +00:00
iap10@freefall.cl.cam.ac.uk dc2e874399 Misc fixes for new sparse tree names: xen-clone script; -xen kernel build (the one with all the modules); Backout changes to legacy targets.
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-07-14 10:12:51 +00:00
kaf24@firebug.cl.cam.ac.uk 25de1f6920 Allow arch-specific defaults to be specified for ns16550
uart configuration. Based on a patch from Hollis Blanchard
at IBM.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-14 09:05:22 +00:00
kaf24@firebug.cl.cam.ac.uk 9c03922da5 The VMCS control bits in the current tree are not optimal. Attached is
a patch to improve the VMCS control bits setting. It also adds checks to
detect any non-optimal or incompatible settings for the VMCS control
bits based on MSRs, and fixes a bug associated with vmcs region freeing.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Xin Li <xin.b.li@intel.com>
2005-07-14 08:00:55 +00:00
kaf24@firebug.cl.cam.ac.uk a14f9ede68 Cleanup mov to CR4 handling.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-14 08:00:35 +00:00
kaf24@firebug.cl.cam.ac.uk cb111972c4 Enable CR4.VME to improve the performance of vm86 emulation.
Setting this bit eliminates the calls to the vm86 monitor to handle
interrupts and exceptions that occur while executing programs in vm86
mode.

Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-14 08:00:23 +00:00
vh249@arcadians.cl.cam.ac.uk c388f523a6 repair legacy Makefile targets linux26 and linux24
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-07-14 07:39:18 +00:00
ach61@arcadians.cl.cam.ac.uk b65c26e65f pdb: reconcile register manipulation between processes and domains 2005-07-13 15:37:08 +00:00
kaf24@firebug.cl.cam.ac.uk 4b043a942c Initial tools support for 32-bit x86 pae.
Signed-off-by: Gerd Knorr <kraxel@suse.de>
2005-07-13 15:04:49 +00:00
kaf24@firebug.cl.cam.ac.uk 8833f0bb92 Force PAE build of Xen by specifying 'pae=y' to make, or
by setting XEN_TARGET_X86_PAE=y (e.g., in Config.mk).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-13 15:02:49 +00:00
kaf24@firebug.cl.cam.ac.uk 10c0f0a6c8 Remove CONFIG_X86_PAE hack from config.h.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-13 14:37:58 +00:00
vh249@arcadians.cl.cam.ac.uk 022fb4e978 Readd pristine-% rules that went MIA.
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-07-13 13:45:41 +00:00
kaf24@firebug.cl.cam.ac.uk 650061e195 Enable NX/XD feature for 32-bit PAE Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-13 12:58:41 +00:00
kaf24@firebug.cl.cam.ac.uk 41641edf73 Build hotplug by default in dom0. 2005-07-13 08:45:26 +00:00
kaf24@firebug.cl.cam.ac.uk 3a9274f320 The patch attached restores NX/XD support in x86_64 xenlinux. When the
port was being done, Xen did not want to see the bit 63 in ptes, and it
now allows the guests to set it. Also include cleanups (warning when
compiling domU).

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-07-13 08:37:38 +00:00
kaf24@firebug.cl.cam.ac.uk 4066d7272e Need to save and restore MSRs for VMX domains across context switches.
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-13 08:36:38 +00:00
kaf24@firebug.cl.cam.ac.uk e48a41ef53 Fix NX/XD enable on secondary CPUs.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-13 08:25:08 +00:00
ach61@arcadians.cl.cam.ac.uk ac49b9ae89 pdb: get rid of absolute path in module makefile 2005-07-12 17:31:16 +00:00
kaf24@firebug.cl.cam.ac.uk 2a0a40fa25 Let Xen have 256 PIRQs to guests. 2005-07-12 17:23:38 +00:00
ach61@arcadians.cl.cam.ac.uk d850b8fed3 pdb: execution_domain -> vcpu 2005-07-12 17:00:33 +00:00
kaf24@firebug.cl.cam.ac.uk cb1cb38544 Native x86_64 linux uses paranoidentry for exceptions with ist !=3D 0,
while x86_64 xenlinux doesn't have special stacks for these exceptions.
Actually we don't need paranoidentry for x86_64 xenlinux, and these
exceptions except #DB should be handled in hypervisor.  With this patch,
#DB is forwarded to guest, and let it use zeroentry should be OK.
-Xin

Signed-off-by: Xin Li <xin.b.li@intel.com>
2005-07-12 16:50:38 +00:00
kaf24@firebug.cl.cam.ac.uk 0e948f0038 Small fix for PAE in 2.6.12.
Signed-off-by: Gerd Knorr <kraxel@suse.de>
2005-07-12 16:21:23 +00:00
kaf24@firebug.cl.cam.ac.uk 6b9f19766a Some more new files for Linux PAE.
Signed-off-by: Gerd Knorr <kraxel@suse.de>
2005-07-12 16:20:36 +00:00
kaf24@firebug.cl.cam.ac.uk 9ec121d443 Fix hgignore regexps some more. 2005-07-12 16:19:59 +00:00
kaf24@firebug.cl.cam.ac.uk 1ee071e7e1 Fix Xen build with PAE enabled, and a fix to help
domU PAE.
Signed-off-by: Gerd Knorr <kraxel@suse.de>
2005-07-12 16:12:48 +00:00
kaf24@firebug.cl.cam.ac.uk 1df0d8953a Fix DMA compile for x86_64.
Signed-off-by: Xin Li <xin.b.li@intel.com>
2005-07-12 13:19:10 +00:00
kaf24@firebug.cl.cam.ac.uk 4cca16ccfc Fix dma_map_single to work correctly with multi-page buffers.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-12 10:29:46 +00:00
cl349@firebug.cl.cam.ac.uk 0f36f0e095 xenstored updates.
- add trace file support.
- update permissions code.
- trigger watches on children of nodes being removed.
- update test cases.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-12 10:16:33 +00:00
cl349@firebug.cl.cam.ac.uk 247bc37e83 Manual merge. 2005-07-12 10:09:35 +00:00
cl349@firebug.cl.cam.ac.uk ad49049138 Manual merge. 2005-07-12 10:09:13 +00:00
cl349@firebug.cl.cam.ac.uk 4e2b530c51 Add xc_init_store and run xenbus probe on INITDOMAIN_STORE privcmd ioctl.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-12 10:01:03 +00:00
cl349@firebug.cl.cam.ac.uk a0c0d2778f Update xenbus driver code.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-12 09:51:37 +00:00
cl349@firebug.cl.cam.ac.uk e7d1302e77 Create .hgskip files instead of .bk_skip files.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-12 09:38:02 +00:00
kaf24@firebug.cl.cam.ac.uk 4f814d72f9 Dom0 can have slack time in sedf scheduler. 2005-07-12 09:22:45 +00:00
kaf24@firebug.cl.cam.ac.uk a17ed9485b Fix the x86_64 build after the PAE check-in.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-07-12 07:47:21 +00:00
kaf24@firebug.cl.cam.ac.uk 094fcce3e6 Add HIGHMEM64G (but not set) to defconfigs. 2005-07-12 07:45:57 +00:00
kaf24@firebug.cl.cam.ac.uk 676742cfdf Fix README. 2005-07-11 21:34:26 +00:00
kaf24@firebug.cl.cam.ac.uk 72098d9304 Device model SXP cleanup
- don't pollute the sxp with unused options
- use the same syntax as paravirtualized domains for disks

Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-11 20:09:10 +00:00
kaf24@firebug.cl.cam.ac.uk 0fca1afde7 Tools build fixes. 2005-07-11 16:04:22 +00:00
kaf24@firebug.cl.cam.ac.uk 5675f9d03d This is the patch for xen which allows using up to 16 GB
of memory.

Signed-off-by: Gerd Knorr <kraxel@suse.de>
2005-07-11 16:02:28 +00:00