Commit Graph
6083 Commits
Author SHA1 Message Date
iap10@firebug.cl.cam.ac.uk 90c0e3301d Install libxenstore in /usr/lib64 for 64 bit builds
Signed-off-by: ian@xensource.com
2005-08-10 16:52:03 +00:00
kaf24@firebug.cl.cam.ac.uk 1c57a9e116 Small time fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-10 16:03:31 +00:00
kaf24@firebug.cl.cam.ac.uk b6e5a7b02b Fix wallclock initialisation in domain0.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-10 15:14:50 +00:00
kaf24@firebug.cl.cam.ac.uk b1231e1b08 Fix domain0 builder for PAE.
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-10 14:11:40 +00:00
kaf24@firebug.cl.cam.ac.uk add4888a4d Fix 64-bit __get_user() on 32-bit x86. Needed for PAE.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-10 13:06:00 +00:00
kaf24@firebug.cl.cam.ac.uk 2de676fedb Fix stupid typo in previous checkin (stopped time.c
from compiling on 32-bit x86).
2005-08-10 13:05:22 +00:00
kaf24@firebug.cl.cam.ac.uk e9041e1e82 Fix time handling on x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-10 12:56:47 +00:00
twilkie@paploo.uk.xensource.com cbc34f7812 Fix simple index error in error handling. Now reports correct domain name in error message. 2005-08-10 12:21:39 +00:00
kaf24@firebug.cl.cam.ac.uk 509bb24d17 merge 2005-08-10 09:50:15 +00:00
kaf24@firebug.cl.cam.ac.uk 15f4fae9dc dma_map_single can't sleep since it may be called with locks held, or
interrupts off, etc.   Thus it shouldn't make sleeping allocations.

Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-08-10 09:50:05 +00:00
cl349@firebug.cl.cam.ac.uk efd6f7db4d merge? 2005-08-10 09:47:13 +00:00
cl349@firebug.cl.cam.ac.uk c2bf763b7f Make xen daemon startup more robust.
1) make xenconsoled exit gracefully if xcs dies
2) daemonize xenstored before binding to xenstored socket
3) wait to close stdio in xenstored until we're ready to accept
connections (so that PID=`xenstored --output-pid` doesn't return until
it's ready to accept connections)
4) updates tools/misc/xend for these changes
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustycorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-10 09:46:51 +00:00
kaf24@firebug.cl.cam.ac.uk a4857a1c3f Add padding to allocation bitmap. Should fix page fault
on x86/64 debug builds on some systems.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-10 09:45:06 +00:00
kaf24@firebug.cl.cam.ac.uk 42c9a99912 The following patch adds cramfs support to domU kernels so cramfs based
ramdisks can be used for initrds.

Signed-off-by: Sean Dague <sean@dague.net>
2005-08-10 09:09:15 +00:00
cl349@firebug.cl.cam.ac.uk 1b8d0b8824 Initialize the xenstore MFN for VMX domains
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-10 08:44:58 +00:00
cl349@firebug.cl.cam.ac.uk 9ae7cd4f23 merge? 2005-08-09 16:26:19 +00:00
cl349@firebug.cl.cam.ac.uk 9045816f69 Do not suppress errors on writes outside transactions.
Mike Wray made this change because xend's callbacks were failing
with EROFS, because a transaction was going on.  However, the
solution is to either block callbacks during transactions, or use
a different connection to the store.
We fail ex-transaction activity because it's not clear what the right
behaviour is: it allows deadlock if two people do it, and it implied
your transaction isn't rooted in the right place.

This hack caused the testsuite to fail (obviously), so as a result the
testsuite wasn't run very often.  This caused it to bitrot.
Signed-off-by: Rusty Russel <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-09 16:16:08 +00:00
kaf24@firebug.cl.cam.ac.uk 191a7d28f8 Directly including ../tools breaks building in separate object tree,
as well as building from mkpatch patch (I believe Rik hit that one).
This puts xenstore headers in linux-public.

Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-08-09 13:53:15 +00:00
kaf24@firebug.cl.cam.ac.uk 09d42caafd Add missing LGPL license notice to python sources
that didn't have them.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-08-09 13:17:37 +00:00
kaf24@firebug.cl.cam.ac.uk ba529a426c PAE PMDs must be made writable before freeing. 2005-08-09 13:08:25 +00:00
kaf24@firebug.cl.cam.ac.uk e7f2cf60b5 merge 2005-08-09 13:04:54 +00:00
kaf24@firebug.cl.cam.ac.uk cd6fd4d17c merge 2005-08-09 13:04:31 +00:00
twilkie@paploo.uk.xensource.com 8aa46fd245 Updates to SV. New look. Removed and simplified lots of files. 2005-08-09 12:55:18 +00:00
cl349@firebug.cl.cam.ac.uk 670f10866e merge? 2005-08-09 12:51:06 +00:00
cl349@firebug.cl.cam.ac.uk b9a5e01c19 The following patch is a major restructuring of main.py to be more straight forward, and remove as much code as possible.
It does a number of things:

* It implements the standardized options proposed via my RFC for xm
* It restructures the calling of these functions to be function pointers out
  of a dictionary, instead of subclasses found through inspection
* It consolidates all help info, making it easier to see that the help
  screen looks consistent across commands.  (Per command help isn't yet in
  this patch just global help)
* It moves object importing into the functions that require them only,
  allowing commands like "xm help" to be runable as non root
* It adds command aliasing to provide backwards compatibility with many
  commands (i.e. xm balloon)
* It provides more useful error messages is most fail cases
* It implements a short help by default (which takes < 24 screen lines) as
  requested by Mark W at OLS
* It attempts to trap more exceptions than before and provide useful errors
  based on them (this requires more testing)

This patch makes no changes to any other elements of xen/xm, and works with
all other objects and libraries as is.

Signed-off-by: Sean Dague <sean@dague.net>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-09 12:50:22 +00:00
kaf24@firebug.cl.cam.ac.uk 1787e1a4b7 When building in separate object directory entry.o fails building
because entry.S includes syscall_table.S but it's in the wrong
directory.  This simply adds the obj-dir to the include search path.

Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-08-09 10:47:41 +00:00
kaf24@firebug.cl.cam.ac.uk 87ce6ef033 Fixes for x86/64 writable pagetables, including SMP
guest support.

NOTE: I removed some x86/64 specific tests from get_page_type().
I can't see what good could come of them -- if they caused
things to work then I'm pretty sure there must be some underlying
bug that is what ought to be fixed.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-09 10:42:51 +00:00
cl349@firebug.cl.cam.ac.uk 1b63dcf8f4 Restore suspend/resume calls for the control interface on suspend/resume.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-09 09:34:06 +00:00
cl349@firebug.cl.cam.ac.uk b06a5d76b9 Don't expose xenstore daemon-only permission bits through python bindings.
These bits are daemon-only, never come though to userspace.  We already
changed them once and broke compilation: better they had never been
referenced.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
2005-08-09 08:44:29 +00:00
kaf24@firebug.cl.cam.ac.uk 72782fe7c8 Simple fix to getdomaininfo cpu_time calculation for
multi-vcpu guests. From Josh Triplett.
2005-08-08 18:43:57 +00:00
kaf24@firebug.cl.cam.ac.uk 52318a414c Fix page_to_phys() macro as suggested by Gerd. 2005-08-08 17:00:21 +00:00
kaf24@firebug.cl.cam.ac.uk bc7615a229 That one is obviously needed to make pae xen-linux work with
more than 4GB.
2005-08-08 16:51:02 +00:00
kaf24@firebug.cl.cam.ac.uk 31b2ad0533 Fix x86/64 xenlinux build. Remove stupid patch.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-08 14:39:29 +00:00
kaf24@firebug.cl.cam.ac.uk 8718ef030b Fix signedness issue in xenlinux timer interrupt handler.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-08 14:13:36 +00:00
kaf24@firebug.cl.cam.ac.uk b352ab0b9a Really fix the x86/64 build. Get rid of push/pop from
scale_delta().
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-08 12:31:04 +00:00
kaf24@firebug.cl.cam.ac.uk 40e0c1037a Fix the x86/64 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-08 12:07:19 +00:00
kaf24@firebug.cl.cam.ac.uk 592d8f352a Remove dead file. 2005-08-08 11:10:54 +00:00
kaf24@firebug.cl.cam.ac.uk 76cc3f4579 Remove dead files. 2005-08-08 11:06:45 +00:00
kaf24@firebug.cl.cam.ac.uk 8cf6cfe286 Fix both Xen and XenLinux to correctly handle 64-bit
time deltas. Good for robustness and future-proofing.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-08 10:59:22 +00:00
kaf24@firebug.cl.cam.ac.uk 0996bc07b9 1) More testing: include tests which I forgot in previous patch, remove
xs_watch_stress, reduce cycles in "make check" random test.
2) xs_crashme: corrupt random packets going to xenstored, watch it
crash.
3) Handle second input from before we finished output on first one.
4) Fix bug where one-arg operations are given zero args.
5) Fix bug where SET_PERMS fails after blocking on transaction.
6) Fix memory leak when DIRECTORY op given no argument.
7) Fail on first memory leak, for better testing.
8) Fix missing waiting_for_ack initialization for new connections.
9) Ensure all input and output is handled for domains so we don't stall.
10) Fix overrun bug in xs_count_strings on non-nul-terminated strings.
11) New test for clients which write without waiting for response.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2005-08-08 09:13:19 +00:00
kaf24@firebug.cl.cam.ac.uk 9174fdfbfc Fix hw_resend_irq() -- IRQ_PENDING must be propagated back
to evtchn_pending[] bit during irq_enable, or the delayed
callback may never happen.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-08 09:12:22 +00:00
kaf24@firebug.cl.cam.ac.uk 5175be9942 The attached patch adds -Werror to HOSTCFLAGS in Config.mk, makes
xen/tools actually use HOSTCFLAGS (it was already using HOSTCC), and
fixes some gcc-4.0 signedness warnings in xen/tools/symbols.c.

Signed-off-by: Josh Triplett <josht@us.ibm.com>
2005-08-08 08:32:52 +00:00
kaf24@firebug.cl.cam.ac.uk aba8322b54 Attached is a patch to x86_64 xenlinux. It also includes cleanups. We
are also working on SMP + writable pagetable support now.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-08-08 08:18:38 +00:00
kaf24@firebug.cl.cam.ac.uk a3ec773b26 Writable pagetables for x86/64. Xen portion.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
2005-08-08 08:18:06 +00:00
kaf24@firebug.cl.cam.ac.uk ea9fb36c36 Really include renamed console files. :-)
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-07 09:13:39 +00:00
kaf24@firebug.cl.cam.ac.uk 2ba532d767 Rename console binaries to xenconsole and xenconsoled.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-07 09:12:55 +00:00
kaf24@firebug.cl.cam.ac.uk 97ef1d5297 this patch fixes X86_64 Xorg Xfree86 issues.
Signed-off-by: Xin Li <xin.b.li@intel.com>
2005-08-07 08:56:57 +00:00
kaf24@firebug.cl.cam.ac.uk bb893a188a Fix perfc_defn.h to allow multiple inclusion. 2005-08-06 15:47:20 +00:00
kaf24@firebug.cl.cam.ac.uk 652bdea7c1 xend prints out some messages when starting, which is annoying. This
patch send those to xend log file instead - people want them always
know where to find them.

Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
2005-08-06 15:45:41 +00:00
kaf24@firebug.cl.cam.ac.uk 1271b79339 More time-interface fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-08-06 15:24:22 +00:00