Commit Graph
7743 Commits
Author SHA1 Message Date
djm@kirby.fc.hp.com 081db0ddef Fix read of guest psr to properly set dfh and other bits (by Matt Chapman) 2005-11-18 11:04:58 -06:00
djm@kirby.fc.hp.com f3ccc12644 Properly pass iha/itir if data miss occurs when fetching privop (by Matt Chapman) 2005-11-18 10:58:03 -06:00
djm@kirby.fc.hp.com 32a58ce429 Remove DOMU_BUILD_STAGING and supporting code entirely, no longer needed 2005-11-18 10:01:10 -06:00
djm@kirby.fc.hp.com 7b6f7ffd28 Turn off DOMU_BUILD_STAGING, no longer needed (flagged by Kevin Tian) 2005-11-17 18:35:14 -06:00
djm@kirby.fc.hp.com 64f8b7c045 Parse all ACPI MADT entries, not just NR_CPUS (by Alex Williamson) 2005-11-17 10:32:22 -06:00
djm@kirby.fc.hp.com da6c57b623 Turn off duplicate console output (by Alex Williamson) 2005-11-17 10:28:45 -06:00
djm@kirby.fc.hp.com a2c3a1959d Remove old version of xen xlilo patch 2005-11-17 07:23:14 -06:00
djm@kirby.fc.hp.com 4a568b83e8 Integration of the xen4xlilo patch. (by Tristan Gingold)
It is now backward compatible: works with the old elilo.
2005-11-17 07:21:18 -06:00
djm@kirby.fc.hp.com e2428e6e1c Enable build to work for both generic and non-generic (hpsim issue) 2005-11-16 18:40:24 -06:00
djm@kirby.fc.hp.com 95533845ba Changes so that Xen can be compiled with gcc 4.0.2: (by Tristan Gingold)
* functions must be declared before being called.
* a cast or a conditionnal expression is not an lvalue.
* a function cannot be declared static and redeclared extern (or reverse).
* gcc 4.0.2 missed a range optimization (ia64_setreg_unknown_kr).
* ia64_ksyms is not used (removed from Makefile).
* (added by Dan M: since now modified, move gfp.h from linux to linux-xen)
2005-11-16 17:45:36 -06:00
djm@kirby.fc.hp.com c538d1512b Enable generic build for dom0 and build for domU with CONFIG_VT forced off 2005-11-16 16:59:41 -06:00
djm@kirby.fc.hp.com 7ee451de31 Fix problem if itlb miss occurs when in metaphysical mode 2005-11-16 16:44:49 -06:00
djm@kirby.fc.hp.com f4307fdf3a Support dom0_mem parameter at boot option (by Masaki Kanno)
Usage is the likely same as that of x86.  ex. append="dom0_mem=768M ..."
(Also dom0_align parameter added by Dan Magenheimer)
Signed-off-by Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Signed-off-by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-11-14 11:41:41 -06:00
djm@kirby.fc.hp.com 450ffa8c6a Fix delivery of nat consumption faults (still chatty)
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-11-11 13:23:04 -06:00
djm@kirby.fc.hp.com d789b2eb4d Punt to slow path for itc.i/d for region0 to avoid metaphys problem
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-11-11 13:05:38 -06:00
djm@kirby.fc.hp.com b715e902fe Fix region0 virtual accesses
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-11-11 12:51:08 -06:00
djm@kirby.fc.hp.com 63e31364a3 Enable gcc3.4 with CONFIG_SMP (by Alex Williamson) 2005-11-10 15:24:29 -06:00
djm@kirby.fc.hp.com 5076bff75d Blkfront no longer built by default, need CONFIG_XEN_BLKDEV_FRONTEND 2005-11-10 14:02:01 -06:00
djm@kirby.fc.hp.com 49c307a5b9 Merge 2005-11-10 10:51:37 -06:00
djm@kirby.fc.hp.com 46a39fbe37 Reflect various missing traps/faults (flagged with printf for now).
Without this building xen documentation crashes Xen!
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-11-10 10:39:38 -06:00
djm@kirby.fc.hp.com cab735cf69 Fix typo 2005-11-10 09:07:47 -06:00
djm@kirby.fc.hp.com 093551c035 Merge latest xen-unstable into xen-ia64-unstable 2005-11-10 08:34:09 -06:00
djm@kirby.fc.hp.com 0add1f8a92 Adapt to new evtchn interfaces.
Signed-off-by Kevin Tian <kevin.tian@intel.com>
2005-11-10 08:18:25 -06:00
djm@kirby.fc.hp.com 69c6d67950 Back out partial fix in ia64-unstable 7665/7/8, breaks Debian boot 2005-11-10 08:10:18 -06:00
djm@kirby.fc.hp.com 77f2cfe583 Don't panic for other region physaddr handling in vcpu_translate 2005-11-09 15:31:01 -06:00
djm@kirby.fc.hp.com 8eb71472c8 Don't panic for (rare) dom0 physaddr with uncacheable attribute 2005-11-09 14:11:31 -06:00
djm@kirby.fc.hp.com 930b8bf98f Fix ia64 tools build (new parameter in xc_vmx_build) 2005-11-09 12:59:28 -06:00
djm@kirby.fc.hp.com 9725166a3d Enable region0 virtual addresss in vcpu_translate (but still broken elsewhere)
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
2005-11-09 12:26:17 -06:00
emellor@leeni.uk.xensource.com 19744cdc5f Cope with the ValueError exception that we get if you use Xend with the recent
change to parsing memory configuration against a store with entries written
by an older Xend.

Added maxmem field to list of things to be read from the store on recreate.
2005-11-09 16:08:37 +01:00
kaf24@firebug.cl.cam.ac.uk e7570f0014 Support recent change moving virtual IOAPIC model into Xen for
ia64/VTI. Now ia64/vti will create links to arch/x86/dm/vmx_vioapic.c
and include/x86/vmx_vlapic.h.

Firstly, a small change to common virtual IOAPIC model to be used by
both sides. Also some compilation fix to tools is included in first
one. Secondly, there are ia64-specific changes to hook to common
IOAPIC model.

Based on this patch upon latest xen-ia64-unstable tip, we can see
multiple domains working again on XEN/IA64, including both domU and
VTI domain simultaneously in run-time.

Signed-off-by Kevin Tian <kevin.tian@intel.com>
Signed-off-by Anthony Xu <Anthony.xu@intel.com>
Signed-off-by Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by Eddie Dong <eddie.dong@intel.com>
2005-11-09 14:53:12 +01:00
kaf24@firebug.cl.cam.ac.uk 2ea876d2a0 Attached patch allows building of netfront and blkfront as modules
(xennet.ko and xenblk.ko).  

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-11-09 14:42:15 +01:00
kaf24@firebug.cl.cam.ac.uk d47fc2945e gnttab_request_free_callback needs to be exported for building modular
blkfront

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-11-09 14:41:37 +01:00
kaf24@firebug.cl.cam.ac.uk 69e309b3b1 Remove use of get_gendisk in blkfront gen_gendisk is no long exported
by 2.6 kernel. Now blkfront can be built as a kernel module.

Signed-off-by: Xiaofeng Ling <xiaofeng.ling@intel.com>
Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-11-09 14:41:14 +01:00
kaf24@firebug.cl.cam.ac.uk 4b6d60a8f0 Allow xen_create_contiguous_region() to fail gracefully if it
cannot allocate a contiguous multi-page extent of memory. This
should avoid unnecessary crashes in the xen-specific skbuff
cache constructor.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-09 14:39:32 +01:00
smh22@firebug.cl.cam.ac.uk b99415e527 More fixes for save/restore; use configured memory for generating sxp.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-09 13:59:53 +01:00
emellor@leeni.uk.xensource.com 4d59fe8300 This patch prevents the xm-test console library from duplicating the
debugging output, when it's turned on.  This just makes it easier to
read.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-09 12:39:38 +01:00
emellor@leeni.uk.xensource.com de3ec1ee5f This patch adds a new test that attempts to save and restore a domain
with a block device attached.  It starts up a domain, mounts a block
device, writes data to it, saves, restores, and then verifies that the
block device can still be read.

Signed-off-by: Dan Smith <danms@us.ibm.com>
2005-11-09 12:39:05 +01:00
emellor@leeni.uk.xensource.com 4bb125c6d1 Chmod a+x.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-09 12:38:46 +01:00
smh22@firebug.cl.cam.ac.uk 9d894bc217 Fix 64-bit build.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-09 09:02:59 +01:00
djm@kirby.fc.hp.com 64123904fb Fix domU (by Kevin Tian) 2005-11-08 12:15:55 -06:00
smh22@firebug.cl.cam.ac.uk 7962b47d8b Enable save/restore for PAE domains.
This includes quite a few cleanups / refactoring of the old code, some
of which is intended to prepare for 64-bit save/restore. 

Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-08 18:42:07 +01:00
smh22@firebug.cl.cam.ac.uk a2520b396e Use '-' instead of '_' in xen version strings.
Signed-off-by: Steven Hand <steven@xensource.com>
2005-11-08 18:39:58 +01:00
kaf24@firebug.cl.cam.ac.uk 0444e5275d Fix alloc_skb() to ensure data is always physically contiguous.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-08 16:48:42 +01:00
kaf24@firebug.cl.cam.ac.uk 366aac2d16 Rationalise the kernel event-channel binding interfaces. The
new interfaces are simpler and should be implementable by any
architecture.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-11-08 15:58:31 +01:00
emellor@leeni.uk.xensource.com 7aa98216f5 Increase the static constant default number of loopback interfaces, nloopbacks,
to 8.  These interfaces are very cheap, so there's no problem having a few
spare.  Anyone with more than 8 NICs can still use the kernel command line or
the module parameter line to pass a larger limit to this module.

Detail the kernel command line parameter for nloopbacks in the diagnostic in
network-bridge.

Closes bug #381.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
2005-11-08 15:15:02 +01:00
emellor@leeni.uk.xensource.com 7a2e27bf0c Merged. 2005-11-08 14:56:14 +01:00
emellor@leeni.uk.xensource.com 3483f006f3 Fix two leaks in the pyxc interface. The dictionaries are being added
to lists, and an extra ref was being left behind.

Signed-off-by: Sean Perry <sean@xensource.com>
Signed-off-by: Robert Read <robert@xensource.com>
2005-11-08 14:53:27 +01:00
Michael.Fetterman@cl.cam.ac.uk 11f72f4ab9 merge 2005-11-08 14:41:25 +01:00
Michael.Fetterman@cl.cam.ac.uk c02e0c7355 merge 2005-11-08 13:30:05 +01:00
Michael.Fetterman@cl.cam.ac.uk 07df3c1601 Cleanup various shadow mode asserts.
Separate out the ability for domains to be able to write to their
pagetables (ala "writable page tables", which uses write-protected PTEs
to address the page tables: this is shadow_mode_write_all()) from the
right of a domain to create a PTE with write permissions that points
at a page table (this is shadow_mode_wr_pt_pte())...

Minor cleanup of SHADOW_DEBUG (at least make it compilable) in shadow.c.
2005-11-08 13:26:50 +01:00