Commit Graph
10243 Commits
Author SHA1 Message Date
kfraser@dhcp93.uk.xensource.com cf220cf03b Fix dummy domains (DOM_IO and DOM_XEN) creation so that
list heads are initialised.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-01 16:39:42 +01:00
kfraser@dhcp93.uk.xensource.com f7ec354306 Fix negation of unsigned quantities in the Xen x86 emulator.
This fixes the problems left behind by c/s 10171. Again pointed
out by Jan Beulich; and again different from his suggested patch.
Hopefully this one will be less embarrassing.

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-01 16:31:37 +01:00
kfraser@dhcp93.uk.xensource.com 1a59e1d7a7 network-bridge: fix syntax error
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-01 11:25:02 +01:00
kfraser@dhcp93.uk.xensource.com 9ddb2b5be9 network-bridge: Fall back to eth0/xenbr0 if no default route.
From: Dave Lively <dave.lively@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-01 11:18:26 +01:00
kfraser@dhcp93.uk.xensource.com 4371b40bcf Fix map_pages_to_xen() when deallocating l1 page tables.
Signed-off-by: Muli Ben-Yehuda <muli@il.ibm.com>
2006-06-01 11:04:06 +01:00
kfraser@dhcp93.uk.xensource.com 4347b98075 [HVM] Fix set_guest_back_ptr to ignore empty PTEs.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-01 10:50:33 +01:00
kfraser@dhcp93.uk.xensource.com 6c00bbc075 Fix MMU_NORMAL_PT_UPDATE when passed a page that is no longer of type page-table.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-06-01 10:34:21 +01:00
awilliam@xenbuild.aw d3febd5582 [IA64] fix up a few more warnings
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
2006-05-31 16:07:47 -06:00
awilliam@xenbuild.aw e91bc4619d [IA64] remove linux-2.6-xen-sparse/arch/ia64/xen/xenconsole.c
Inline the content of early_console_setup() to setup.c and remove
xenconsole.c

Signed-off-by: Aron Griffis <aron@hp.com>
2006-05-31 14:34:33 -06:00
awilliam@xenbuild.aw 84db3ab496 merge with xen-unstable.hg 2006-05-31 13:05:21 -06:00
awilliam@xenbuild.aw 360cf93c53 [IA64] Add several missing is_running_on_xen().
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2006-05-31 11:30:07 -06:00
awilliam@xenbuild.aw 771d76a86d [IA64] remaining warnings removed
Warnings cleanup.
-Werror added when no_warns=y

Signed-off-by: Tristan Gingold <tristan.gingold@bull.net>
2006-05-31 11:29:50 -06:00
awilliam@xenbuild.aw 69d23b3206 [IA64] Add sal emulation to VTI domain
Signed-off-by Anthony.xu <anthony.xu@intel.com>
2006-05-31 11:28:03 -06:00
awilliam@xenbuild.aw 43d0ed3f2c [IA64] VTI: Initialize VHPT headers invalid
Signed-off-by: Anthony Xu < anthony.xu@intel.com >
2006-05-31 11:27:59 -06:00
awilliam@xenbuild.aw db3dddaba0 [IA64] VTI: set isr before injecting fault to guest
This patch intends to fix isr setting before injecting fault to it.
With this small fix, CPU2000 in VTi can pass now.

Signed-off-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
2006-05-31 11:27:54 -06:00
awilliam@xenbuild.aw 1d986b33ac [IA64] preparation for vga acceleration of VTI domain
This patch fixes several minor issues, as a prepare step to support VGA
acceleration for VTI domain:

- shared vram buffer needs to be mapped as WB in both sides, because
the shared vram is the true WB memory though VTI domain is told as UC
- Introduced a new pte_mem to indicate p2m entry containing valid mfn
when replace p2m entry. Pte_none doesn't work for VTI case, since IO
type is encoded into p2m entry which however doesn't contain valid mfn.

After above change, guest_physmap_add/remove_page is available to
be used by qemu to setup linear buffer for VTI domain.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
2006-05-31 11:27:50 -06:00
kfraser@dhcp93.uk.xensource.com dbed3693c4 Export XEN_ROOT from top-level Makefile. Ensures it is
always defined when including Config.mk.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-31 15:48:29 +01:00
kfraser@dhcp93.uk.xensource.com ee2ac65880 [SVM] Remove redundant MAX_INST_SIZE definition.
Signed off by: Mats Petersson <mats.petersson@amd.com>
2006-05-31 14:23:00 +01:00
kfraser@dhcp93.uk.xensource.com 1f9df5417a Fix ACM hypercall macros (broke the x86/64 and ia64 builds).
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-31 13:26:10 +01:00
kfraser@dhcp93.uk.xensource.com 3f2522e1ac Use a global build configuration file, and rework libxc Makefile for PPC.
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
2006-05-31 11:31:52 +01:00
kaf24@firebug.cl.cam.ac.uk 678b2e21b2 [HVM] Fixes to buffer handling in ne2000 device model.
Signed-off-by: hanzhu <zhu.han@intel.com>
2006-05-31 09:30:40 +01:00
kaf24@firebug.cl.cam.ac.uk affc898c83 The xm dmesg command wasn't taking the -c/--clear options because of
incorrect values to arg_check(). Patch simply allows for the possible
option with arg_check().

Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
2006-05-31 07:48:54 +01:00
kaf24@firebug.cl.cam.ac.uk 652b6e9492 Update .hgignore list for rombios changes. 2006-05-31 07:48:00 +01:00
kaf24@firebug.cl.cam.ac.uk 5426ba079f [VTPM_TOOLS] Updated vtpm for new release of the tpm_emulator.
New emulator includes AIK, DAA, and Transport Sessions
Signed-off-by: Vinnie Scarlata <Vincent.r.scarlata@intel.com>
2006-05-31 07:45:20 +01:00
kaf24@firebug.cl.cam.ac.uk 7469df6c08 [MINIOS] Various address-space fixes.
1. Make Mini-OS start from 0x0.
2. Fixes the pagetable builder to handle half full, but already mapped
pt frames.=20
3. Add a bounds check to ensure than Mini-OS does not try to use Xen
virtual space.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
Signed-off-by: Aravindh Puthiyaparambil
<aravindh.puthiyaparambil@unisys.com>
2006-05-31 07:43:06 +01:00
kaf24@firebug.cl.cam.ac.uk 7c5fa19f50 [HVMLOADER] Default to 8-way SMP rombios.
From: Thomas Woller <thomas.woller@amd.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-31 07:41:33 +01:00
kaf24@firebug.cl.cam.ac.uk 8f1d4352b6 [SVM] Fix virtualization of the CPUID NX bit, and clean up other CPUID bits.
Signed-off-by: Tom Woller <thomas.woller@amd.com>
Signed-off-by: Wei Huang <wei.huang2@amd.com>
2006-05-31 07:28:43 +01:00
kaf24@firebug.cl.cam.ac.uk 6726fd1b61 [HVM] Fix shadow mode to not corrupt frame 0's page_info struct.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2006-05-31 07:25:59 +01:00
kaf24@firebug.cl.cam.ac.uk 9fea9fb410 [ACM] Add a hypervisor call macro to the linux kernel; it
completes the alignment of the ACM call interface with the other Xen 
hypervisor call interfaces. This macro is used to call from the a guest 
kernel directly into the ACM hypervisor module.

Signed-off by: Reiner Sailer <sailer@us.ibm.com>
Signed-off by: Bryan D. Payne <bdpayne@us.ibm.com>
2006-05-31 07:23:54 +01:00
kaf24@firebug.cl.cam.ac.uk 6b85882e12 Fix x86/64 definition of dma_get_cache_alignment().
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-31 07:20:36 +01:00
cl349@firebug.cl.cam.ac.uk 6bcd41c00e Explicitly use sh to run ioemu configure
instead of relying on configure executable permissions to be set.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2006-05-30 23:47:41 +01:00
cl349@firebug.cl.cam.ac.uk 1e4824bc2b Explicitly use sh to run mkhex
instead of relying on mkhex executable permissions to be set.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2006-05-30 23:45:28 +01:00
kaf24@firebug.cl.cam.ac.uk d9b9ff1fcd Fix PAE debug builds to avoid shadowing shadow-mode pgdirs below 4GB.
The current shadow mode is not aware of this extra level of shadowing
and gets rather confused. Furthermore it *always* ensures that its
PAE pgdirs are below 4GB so there is no need for the extra shadowing
logic to be invoked.

This fixes a bug introduced in changeset 10177:d5f98d23427a0d256b896fc63ccfd2c1f79e55ba

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-30 18:47:37 +01:00
kaf24@firebug.cl.cam.ac.uk ed2a5cde8d Fix infinite recursion loop in get_page_type() error path.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-30 18:11:34 +01:00
awilliam@xenbuild.aw 430962ac74 [IA64] clean up ia64 xen-mkbuildtree-pre
xen-mkbuildtree-pre of ia64 clean up.
evtchn_ia64.c doesn't exist now.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-05-30 10:32:42 -06:00
awilliam@xenbuild.aw a342eb4e85 [IA64] use is_running_on_xen()
Now xen drivers use is_running_on_xen() to check whether it runs on 
xen or bare metal. There remains many if (running_on_xen) in ia64
specific codes. This patch replaces running_on_xen with is_running_on_xen()

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-05-30 10:31:19 -06:00
awilliam@xenbuild.aw 2561ce3fcd [IA64] add missing END(xen_bsw1)
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
2006-05-30 10:30:12 -06:00
awilliam@xenbuild.aw ed5e4da348 [IA64] VTI: Optimize thash vtlb algorithm
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
2006-05-30 10:28:59 -06:00
awilliam@xenbuild.aw 90de273702 [IA64] VTI: simple format cleanup
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
2006-05-30 08:46:21 -06:00
kaf24@firebug.cl.cam.ac.uk 3231ebb6ba Define halt() and safe_halt() properly for Linux-on-Xen. Remove duplicated
code for initial bringup of secondary VCPUs.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-30 13:29:29 +01:00
kaf24@firebug.cl.cam.ac.uk a04183a56f Make perfc_valuea actually return the value it reads.
Signed-off-by: David Lively <dlively@virtualiron.com>
2006-05-30 12:37:49 +01:00
kaf24@firebug.cl.cam.ac.uk a6d9ba6149 [HVM][AMD] Support HVM SMP guests on AMD Pacifica hardware (svm platform).
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
2006-05-30 12:32:07 +01:00
kaf24@firebug.cl.cam.ac.uk 8dba288c08 [HVM] Fix a bug in the emulation of the xchg instruction.
This bug has prevented us from booting fully virtualized SMP guests
that write to the APIC using the xchg instruction (when
CONFIG_X86_GOOD_APIC is not set). On 32 bit platforms, sles 10 kernels
are built without CONFIG_x86_GOOD_APIC not set and hence we have had
problems booting fully virtualized SMP sles 10 guests.

Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
2006-05-30 12:30:47 +01:00
kaf24@firebug.cl.cam.ac.uk a3b519a9b5 [BALLOON] Remove the static lower bound on memory target from balloon driver.
Experimentation an discussion on xen-devel concludes that a dynamic method
for determining safe balloon size will be required.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-30 12:28:46 +01:00
kaf24@firebug.cl.cam.ac.uk e482168899 Fix the support for PAE pgdirs above 4GB that was introduced in
changeset 10173:954f4dea9da6336aaa35d0706aed55fde7909644.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-30 11:44:23 +01:00
ack@kneesa.uk.xensource.com 03bb00e0b0 Update docs for new credit scheduler and cleanup out of date scheduler stuff.
Signed-off-by: Emmanuel Ackaouy <ack@xensource.com>
2006-05-28 15:49:17 +01:00
kaf24@firebug.cl.cam.ac.uk e8ea99cff2 Fix SMP boot for kernels without CONFIG_HOTPLUG_CPU.
The function cpu_is_allowed() appears that it should return a boolean
but in fact returns zero on success and an errno on failure. Thus
rename it to the more vague cpu_up_check(), in line with its return
value and thge fact it has unspecified side effects.

Fix the macro definition of cpu_up_check() when building non-hotplug
kernel to return zero rather than one (which always failed secondary
cpu bringup!).

Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-28 09:46:30 +01:00
kaf24@firebug.cl.cam.ac.uk 3903e920a1 Rename csched -> sched_credit/sched-credit in control plane.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-27 10:13:27 +01:00
awilliam@xenbuild.aw 7a3587d6e5 merge with xen-unstable.hg 2006-05-26 13:41:49 -06:00
kaf24@firebug.cl.cam.ac.uk c263397874 [PAE] Allow pgdirs above 4GB for paravirt guests.
**NOTE**: This obviates the need for lowmem_emergency_pool.
Unpriv guests no longer need to be able to allocate memory
below 4GB for PAE PDPTs.
Signed-off-by: Keir Fraser <keir@xensource.com>
2006-05-26 17:22:30 +01:00