Commit Graph
5674 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk 29395fa9ef Shell scripts aren't very strippable and some versions of install get
very unhappy if you try to.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
2005-07-06 08:47:34 +00:00
kaf24@firebug.cl.cam.ac.uk a0933c7ea8 Oh gcc4 ....how you complain soo. This patch fixes compile with gcc4
where an unintialized variable is used in a function.

Signed-off-by: Jerone Young <jerone@gmail.com>
2005-07-06 08:46:38 +00:00
kaf24@firebug.cl.cam.ac.uk 3a91dcc097 Here are two patches which update the hypercall interfaces to
use 64-bit values for both page table entries and physical
addresses.  These changes are needed to use more than 4GB with
PAE paging enabled.

The first patch is a pretty straightforward update for xen, it
simply makes the values 64-bit wide everythere.

The second patch adapts the linux kernel to the hypercall
interface changes.  It also introduces two MULTI_* functions
(for the update_va_mapping hypercalls) which have simliar
behavior like the HYPERVISOR_* counterparts but fill
multicall_entry_t instead of doing the call directly.

The tools don't need source code changes, but must be rebuilt
due to the change in the xen public header file.

Domain0 boots fine, unpriviliged domain boots fine with fully
functional networking.  Note this is non-PAE mode, tools don't
have support for PAE domU boots yet.

Signed-off-by: Gerd Knorr <kraxel@suse.de>
2005-07-05 16:08:03 +00:00
cl349@firebug.cl.cam.ac.uk e1a2774cf9 Cleanup whitespace. 2005-07-05 09:01:37 +00:00
cl349@firebug.cl.cam.ac.uk 912d27a215 No changes from me. 2005-07-05 08:47:55 +00:00
cl349@firebug.cl.cam.ac.uk add8f845bc Remove confusion about terminating nul character. 2005-07-05 08:46:46 +00:00
cl349@firebug.cl.cam.ac.uk 834bb72330 Undo "Add -fPIC tools/xenstore/Makefile". 2005-07-05 08:44:29 +00:00
kaf24@firebug.cl.cam.ac.uk 763c04b318 Rename fields in physinfo_t structure and add sockets/nodes
fields.
2005-07-04 16:02:46 +00:00
kaf24@firebug.cl.cam.ac.uk 3bbb722ab0 Manual merge. 2005-07-04 15:41:21 +00:00
akw27@arcadians.cl.cam.ac.uk fea26110c5 merge
Signed-off-by: andrew.warfield@cl.cam.ac.uk
2005-07-04 15:35:35 +00:00
kaf24@firebug.cl.cam.ac.uk 63ba48b807 Fix grant-table interface by removing the unnecessary union.
This fixes a domU crash introduced over the weekend.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-04 15:34:57 +00:00
akw27@arcadians.cl.cam.ac.uk c6961d4f4a Add hook in get_user_pages to allow lookups of foreign mapped pages.
Direct IO to userspace (e.g. with libaio) needs to map user virtual addresses
down to page structs.  This patch adds a new vma flag (VM_FOREIGN) to tell
get_user_pages that there are foreign frames in the vma.  If VM_FOREIGN is set
vm_private_data points to a map of struct page pointers, indicating the
physical page underpinning the vaddr.

After a fair bit of discussion with Keir, this seems to be the least
intrusive way to allow this sort of lookup.  If this solves things, we
can pull the VM_FOREIGN clause out into make it a noop on non-Xen
arches in the same way that the gate_area check above it is.
2005-07-04 15:31:47 +00:00
gmilos@localhost.localdomain 905bd75893 Example of assymetric pull/push paths. 2005-07-04 15:01:22 +00:00
gmilos@localhost.localdomain b9db0e99ab Extended explanation of 'hg diff'. 2005-07-04 14:47:28 +00:00
kaf24@firebug.cl.cam.ac.uk d83ba385f0 To avoid MSR save/restore at every VM exit/entry time, we restore the
x86_64 specific MSRs at domain switch time if modified. In VMX domains,
we modify those upon requests from the guests to that end. Note that
IA32_EFER.LME and IA32_EFER.LMA are saved/restored by H/W on every VM
exit. For the usual domains (i.e. dom0 and domU), those MSRs are not
modified once set at initialization time, so we don't save them when
swiched out, but simply reset them (if modified) to the initial values
when switched in. This patch also include extended handling for 64-bit
guests. Please apply.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-04 08:21:35 +00:00
kaf24@firebug.cl.cam.ac.uk d05c4adbfb The patch extends the VMCS handling to support both 32-bit and 64-bit
guests. Please apply. It also includes cleanups.

Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
Signed-off-by: Chengyuan Li <chengyuan.li@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
2005-07-04 08:20:20 +00:00
kaf24@firebug.cl.cam.ac.uk b77137f178 Recent header file cleanup (cset 2b6c1a8098078f7e53de7cf72227fddf01f0b2b6)
broke x86_64.  The cleanup removed a padding field in trap_info_t, so the 
trap table set the address for each trap handler to zero.

Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-07-04 08:18:42 +00:00
kaf24@firebug.cl.cam.ac.uk ce17c49782 Manual merge. 2005-07-03 22:36:48 +00:00
kaf24@firebug.cl.cam.ac.uk 72facf5ef0 Remove Jan Beulich's install.sh patch. It was failing for
some users.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-03 22:32:52 +00:00
akw27@arcadians.cl.cam.ac.uk 1f0eae20c9 Manual merge -- hg not so good at deleting right now.
Signed-off-by: akw27@cam.ac.uk
2005-07-03 18:49:55 +00:00
kaf24@firebug.cl.cam.ac.uk 75dab2dab2 Install qemu-dm.debug script. 2005-07-03 15:09:20 +00:00
akw27@arcadians.cl.cam.ac.uk 91788df76e Clean-up of blktap and parallax user space code.
Move parallax stuff to its own sub directory and tidy Makefiles a bit.
Signed-off-by: andrew.warfield@cl.cam.ac.uk
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>


--HG--
rename : tools/blktap/README-PARALLAX => tools/blktap/parallax/README
rename : tools/blktap/block-async.c => tools/blktap/parallax/block-async.c
rename : tools/blktap/block-async.h => tools/blktap/parallax/block-async.h
rename : tools/blktap/blockstore.c => tools/blktap/parallax/blockstore.c
rename : tools/blktap/blockstore.h => tools/blktap/parallax/blockstore.h
rename : tools/blktap/blockstored.c => tools/blktap/parallax/blockstored.c
rename : tools/blktap/bstest.c => tools/blktap/parallax/bstest.c
rename : tools/blktap/parallax.c => tools/blktap/parallax/parallax.c
rename : tools/blktap/radix.c => tools/blktap/parallax/radix.c
rename : tools/blktap/radix.h => tools/blktap/parallax/radix.h
rename : tools/blktap/requests-async.c => tools/blktap/parallax/requests-async.c
rename : tools/blktap/requests-async.h => tools/blktap/parallax/requests-async.h
rename : tools/blktap/snaplog.c => tools/blktap/parallax/snaplog.c
rename : tools/blktap/snaplog.h => tools/blktap/parallax/snaplog.h
rename : tools/blktap/vdi.c => tools/blktap/parallax/vdi.c
rename : tools/blktap/vdi.h => tools/blktap/parallax/vdi.h
rename : tools/blktap/vdi_create.c => tools/blktap/parallax/vdi_create.c
rename : tools/blktap/vdi_fill.c => tools/blktap/parallax/vdi_fill.c
rename : tools/blktap/vdi_list.c => tools/blktap/parallax/vdi_list.c
rename : tools/blktap/vdi_snap.c => tools/blktap/parallax/vdi_snap.c
rename : tools/blktap/vdi_snap_delete.c => tools/blktap/parallax/vdi_snap_delete.c
rename : tools/blktap/vdi_snap_list.c => tools/blktap/parallax/vdi_snap_list.c
rename : tools/blktap/vdi_tree.c => tools/blktap/parallax/vdi_tree.c
rename : tools/blktap/vdi_unittest.c => tools/blktap/parallax/vdi_unittest.c
rename : tools/blktap/vdi_validate.c => tools/blktap/parallax/vdi_validate.c
2005-07-03 14:14:09 +00:00
kaf24@firebug.cl.cam.ac.uk f83f4d86d9 Replace implicit 16-byte arg to xen_extraversion with an
explicit typedef.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-07-03 12:39:03 +00:00
akw27@arcadians.cl.cam.ac.uk 2d984d10eb Fix some newline ugliness that BK wouldn't correct.
Signed-off-by: akw27@cl.cam.ac.uk
2005-07-03 12:02:01 +00:00
kaf24@firebug.cl.cam.ac.uk fe39b61fe4 Avoid repeated #define's in public headers.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-02 22:37:55 +00:00
kaf24@firebug.cl.cam.ac.uk e27fcf3739 Remove non-ISO attributes from public headers.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-02 08:41:48 +00:00
kaf24@firebug.cl.cam.ac.uk 14f7caf775 Register the portio handler only once.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-01 21:25:45 +00:00
kaf24@firebug.cl.cam.ac.uk 2f7020fc57 Refactor guest exception injection code.
- Exceptions get reflected to the guest by default, instead of crashing
  the domain.
- Reduce code duplication and improve maintainability.

Signed-off-by: Asit Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-01 21:25:19 +00:00
kaf24@firebug.cl.cam.ac.uk 7545be423c Improve the IDE HD geometry auto detection algorithm.
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Asit K Mallick <asit.k.mallick@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-01 21:24:09 +00:00
kaf24@firebug.cl.cam.ac.uk a2fe25371c Get rid of references to qemu-dm.debug. 2005-07-01 17:26:37 +00:00
kaf24@firebug.cl.cam.ac.uk 2261d4ae64 Another issue found with building the guest outside the source tree.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
2005-07-01 16:07:53 +00:00
kaf24@firebug.cl.cam.ac.uk f28df64de9 I found several build issues, mostly related to building outside of the
source tree. Below/attached adjustments for these.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
2005-07-01 15:49:43 +00:00
kaf24@firebug.cl.cam.ac.uk 02b3ea00b3 Other than the native kernels, the xen guests install without attempting
to use distribution provided mechanisms, thus e.g. preventing the
auto-generation of an initrd. Below/attached a suggestion to adjust that.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
2005-07-01 15:48:47 +00:00
kaf24@firebug.cl.cam.ac.uk b42a1fafc6 Other than native x86-64 code, the XEN guest *does* use 4k mappings for
the contiguous kernel mapping of (physical) memory. Thus the code in
change_page_attr needs to work like on i386 (where large pages are used
only conditionally) rather than like native x86-64. Patch below/attached.
Not doing so triggered the BUG_ON during load of intel-agp on machines
with i915 chipset.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
2005-07-01 15:47:46 +00:00
kaf24@firebug.cl.cam.ac.uk 1c626b55a6 Some exports were misssing/mis-qualified. Adjustment below/attached.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
2005-07-01 15:46:41 +00:00
kaf24@firebug.cl.cam.ac.uk eac337aae7 Other than native i386 code, the page fault handler in the guest for
whatever reason ran a stack_trace even though another one is run from
die(). Since screen space is limited, duplicating (perhaps long) stack
traces seems quite wasteful. Patch removing this duplication below/attached.
Signed-off-by: Jan Beulich <JBeulich@novell.com>
2005-07-01 15:45:39 +00:00
kaf24@firebug.cl.cam.ac.uk 580220fea2 This patch fixes few typos in hg-cheatsheet.txt
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-07-01 15:43:44 +00:00
cl349@firebug.cl.cam.ac.uk f989852d7f Manual merge. 2005-07-01 14:32:22 +00:00
cl349@firebug.cl.cam.ac.uk d95ccfd64f Rewrite xenbus_path and cleanup whitespace.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-01 14:31:22 +00:00
kaf24@firebug.cl.cam.ac.uk 1f1b0c92ed Fix Xen 'make install' not to rebuild console.o if called
from sudo environemnt, for example.
2005-07-01 14:30:46 +00:00
kaf24@firebug.cl.cam.ac.uk fe2ee19268 Manual merge. 2005-07-01 13:35:03 +00:00
cl349@firebug.cl.cam.ac.uk d07778ac00 Remove incorrect check for terminating nul character.
The terminating nul character is not stored in the store but
added by read_reply.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-07-01 13:30:45 +00:00
kaf24@firebug.cl.cam.ac.uk 8fb19ae4b1 . 2005-07-01 13:17:53 +00:00
kaf24@firebug.cl.cam.ac.uk e8be5b7354 Remove BitKeeper files from the repository.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-01 12:48:40 +00:00
kaf24@firebug.cl.cam.ac.uk 6c6af98325 Manual merge 2005-07-01 12:45:24 +00:00
jrb44@plym.cl.cam.ac.uk e9d8803672 Removed "bk root" call from fbsdxensetup script
The script assumes the current directory to be the top of the xen tree.
It makes a rudimentary check to this effect.

Signed-off-by: James Bulpin <james@xensource.com>
2005-07-01 12:35:58 +00:00
kaf24@firebug.cl.cam.ac.uk d6cc31ba52 mkelf32 explicit-size types are based on defs in inttypes.h.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-07-01 12:30:19 +00:00
iap10@freefall.cl.cam.ac.uk fb29a3c75e manual merge 2005-07-01 10:55:46 +00:00
iap10@freefall.cl.cam.ac.uk 1b456a3fee Fix to xen-clone, minor top-level Makefile tidy
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-07-01 10:52:07 +00:00
kaf24@firebug.cl.cam.ac.uk 93a4a4449f Device model path cleanup. Remove bochsrc which is no longer needed.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-07-01 10:34:47 +00:00