Commit Graph
1271 Commits
Author SHA1 Message Date
kaf24@firebug.cl.cam.ac.uk bb5ae6b5cc bitkeeper revision 1.1389.5.37 (427f9fd5lvofpMsmBQ2h16fsuXQH6Q)
Manual merge.
2005-05-09 17:37:25 +00:00
kaf24@firebug.cl.cam.ac.uk af6be9c0e9 bitkeeper revision 1.1389.5.32 (427dd050vCHxq0uiJZz1uFqkyfzA0w)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
2005-05-08 08:39:44 +00:00
lists-xen@pimb.org[kaf24] c4d7a1af8e bitkeeper revision 1.1159.258.114 (427dcfb8HaNsKoCdNjOQCEM_vCEWTA)
[PATCH] [PATCH] Increase size of sxpr parser input buffer

Increase the size of the sxpr parser input buffer from 1024 characters, which
isn't long enough to hold larger domain configurations (xfrd transmits the
entire domain config sxpr as a single atom inside of another sxpr).

Signed-off-by: Jody Belka <knew (dash) xen (at) pimb (dot) org>
2005-05-08 08:37:12 +00:00
kmacy@netapp.com[kaf24] f6f5d2be1a bitkeeper revision 1.1389.5.26 (427c8812BoSWeQz8YGOr4XZvnAzolA)
[PATCH] [PATCH] remove gdbserver chattiness

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2005/05/06 17:39:50-07:00 kmacy@barleywine.eng.netapp.com
#   remove irritating chattiness from gdbserver
#   Signed-off-by: Kip Macy <kmacy@fsmware.com>
#
# BitKeeper/etc/logging_ok
#   2005/05/06 17:39:50-07:00 kmacy@barleywine.eng.netapp.com +1 -0
#   Logging to logging@openlogging.org accepted
#
# tools/gdb/gdb-6.2.1-xen-sparse/gdb/gdbserver/linux-xen-low.c
#   2005/05/06 17:39:19-07:00 kmacy@barleywine.eng.netapp.com +2 -1
#   remove debug noise
#
2005-05-07 09:19:14 +00:00
kaf24@firebug.cl.cam.ac.uk 9e11829aa9 bitkeeper revision 1.1389.5.21 (427a5ee3rBlRFupS4xBvv_nWVHQlsA)
Clean up IO-APIC handling in domain0, and the hypercall interface
exported by Xen (inc. removal of PCI-related calls). This hopefully
fixes acpi=off.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-05 17:58:59 +00:00
smh22@tempest.cl.cam.ac.uk 1d5464775f bitkeeper revision 1.1389.5.16 (427a2d48fB11IAeFlv0AL07RxME0vg)
build privcmd even in unpriv domains; minor libxc fix

Signed-off-by: Steven Hand <steven@xensource.com>
2005-05-05 14:27:20 +00:00
kaf24@firebug.cl.cam.ac.uk e286f60403 bitkeeper revision 1.1389.7.5 (4279f582pwUD_gXMbX8w4RQ2aYmGDA)
Fix return code from xc_domain_create.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-05 10:29:22 +00:00
kaf24@firebug.cl.cam.ac.uk d431485326 bitkeeper revision 1.1389.1.24 (4275fe39zl4LNqHkDr0esLqsvTaLoA)
Fix ioemu makefile to not use 'uname -i'.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-02 10:17:29 +00:00
kaf24@firebug.cl.cam.ac.uk 47d73f74d8 bitkeeper revision 1.1389.1.23 (4275e716ZM2AFvimq_UhqQK8jiiq5g)
Fix xc_ptrace interface to get rid of pid_t.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-05-02 08:38:46 +00:00
kaf24@firebug.cl.cam.ac.uk[kaf24] f497950f3f bitkeeper revision 1.1389.1.18 (4273a203Crs6SOBhDcJcXdza1-0gNw)
dump-enable.patch
Dump guest core if enable-dump is set.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
2005-04-30 15:19:31 +00:00
kaf24@firebug.cl.cam.ac.uk[kaf24] b61e6cb4e9 bitkeeper revision 1.1389.1.16 (4273458eyxEjHSppjkQyDsXHHxOY9Q)
coredump.patch
Extend libxc and gdb server to coredump a domain.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
2005-04-30 08:45:02 +00:00
arun.sharma@intel.com[kaf24] 927084f0d4 bitkeeper revision 1.1389.1.15 (4273436eypuqO7C1_MKQjhBV2kylZw)
[PATCH] vmx-mach-to-phys.patch

VMX domains need to setup their machine to physical maps.

Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-04-30 08:35:58 +00:00
kaf24@firebug.cl.cam.ac.uk 6e88ee268d bitkeeper revision 1.1389.1.14 (427343557mBKHXIKNWB3vC3vSFMQ7g)
Fix xc_ptrace for paravirtualized guests.
Signed-off-by: Kip Macy <kmacy@fsmware.com>
2005-04-30 08:35:33 +00:00
kaf24@firebug.cl.cam.ac.uk 3ba18b6857 bitkeeper revision 1.1389.1.4 (427125bdwah0mehgnafVLP-gRLDM_w)
Avoid field duplication between vcpu_guest_context and arch_exec_domain
structures. The latter now includes the former as a sub-field.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-28 18:04:45 +00:00
kaf24@firebug.cl.cam.ac.uk 162dad1cfb bitkeeper revision 1.1389.1.2 (4270ed5dZvr_HdIQR0eBM2m4Kj81_A)
Renames:
 execution_context/xen_regs -> cpu_user_regs
 full_execution_context     -> vcpu_guest_context
[defined both 'struct xxx' and 'xxx_t' forms]
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-28 14:04:13 +00:00
kaf24@firebug.cl.cam.ac.uk 4f7f0d5578 bitkeeper revision 1.1385.1.3 (426f6b05kK8EBkiTLCXBeJZCPG2ZgQ)
Cset exclude: bren@br260.wolfson.cam.ac.uk|ChangeSet|20050426221254|30123
2005-04-27 10:35:49 +00:00
bren@br260.wolfson.cam.ac.uk 06418b32fe bitkeeper revision 1.1385.1.2 (426ebce6uikcKvm56neQ1G3uFEGApw)
Properly set memory parameters for newly created domains.

Signed-off-by: Bin Ren <bin.ren@cl.cam.ac.uk>
2005-04-26 22:12:54 +00:00
smh22@firebug.cl.cam.ac.uk 324df1cf56 bitkeeper revision 1.1385.1.1 (426e50841dwkW8TPBgE1y4h3O71bsQ)
build when DEBUG=1 + whitespace fixes
2005-04-26 14:30:28 +00:00
leendert@watson.ibm.com[kaf24] 6d59ce88ba bitkeeper revision 1.1379 (426ca278F5TOjFztt77FKYt8v457dg)
[PATCH] [PATCH] Assorted VMX patches

This patch contains the following VMX patches:

- ioemu: Update the address when doing a stosb/stosw/stosl. Without this patch
  stosb writes req->count times at the same location req->addr. Not exactly
  the intended semantics.

- xc_ptrace.c: Use the page_array to refer to partition memory. This allows
  you to use gdbserver on a VMX partition (and presumably partitions that use
  shadow page tables).

- dom0_ops.c: Preserve ECF_VMX_GUEST flag for gdbserver. Without it you
  cannot (re)set the VMX domain state.

- vmx.c: Added support for lmsw. Unmodified FreeBSD uses this when running
  inside a VMX partition.

Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>

===== tools/ioemu/iodev/cpu.cc 1.8 vs edited =====
2005-04-25 07:55:36 +00:00
kaf24@firebug.cl.cam.ac.uk 99124bb409 bitkeeper revision 1.1378 (426ca26eUpP7OInuOBvTyETb6y9VRQ)
Add /usr/lib64/python to the path for python tools so that they can be
found on 64-bit platforms.
Signed-off-by: Jerone Young <jyoung@us.ibm.com>
2005-04-25 07:55:26 +00:00
kaf24@firebug.cl.cam.ac.uk f50cd74cf2 bitkeeper revision 1.1373 (426a2bc8m7wX71OOkLtSOgNXcrObMA)
xc_domain.c:
  Ensure ctxt is mlocked in xc_domain_getfullinfo.
2005-04-23 11:04:40 +00:00
kaf24@firebug.cl.cam.ac.uk 0ebae1de2a bitkeeper revision 1.1367 (4269220d42QVzUVVn9-Tn1tb9fNSWw)
Remove memory and cpu parameters from DOM0_CREATEDOMAIN, and remove
DOM0_SETINITIALMEM. You can get the same effect via PINCPU, 
SETMAXMEM, and do_mem_op(increase_reservation).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-22 16:10:53 +00:00
iap10@freefall.cl.cam.ac.uk e631a47cf6 bitkeeper revision 1.1346.1.1 (42670505dNhgnJm5dQD81pCalXMZgw)
manual merge
2005-04-21 01:42:29 +00:00
iap10@freefall.cl.cam.ac.uk 8b521bdf6b bitkeeper revision 1.1159.170.111 (4266fe71ppAIWyNXyP9cTS2-29x3_A)
Merge freefall.cl.cam.ac.uk:/auto/anfs/scratch/font/sd386/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
2005-04-21 01:14:25 +00:00
arun.sharma@intel.com[iap10] f57176ef14 bitkeeper revision 1.1349 (4266f0e3WdYR9ou-iJ615G_cx6Whhg)
[PATCH] use-large-file-api.patch

Support > 2G root fs on i386.

Signed-off-by: Xin B Li <xin.b.li@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
Signed-off-by: ian@xensource.com
2005-04-21 00:16:35 +00:00
cw@f00f.org[kaf24] a872a9ab5e bitkeeper revision 1.1337 (426630b2jBKjnL7WBIWHGPtgL50rqg)
[PATCH] [PATCH] gdbserver minor build fixes

 gdb-6.2.1-xen-sparse/gdb/gdbserver/configure    |    2 +-
 gdb-6.2.1-xen-sparse/gdb/gdbserver/configure.in |    2 +-
 gdbbuild                                        |   16 ++++++++++++----
 3 files changed, 14 insertions(+), 6 deletions(-)

More cleanups are possible, I'll send those at a later stage.
2005-04-20 10:36:34 +00:00
kaf24@firebug.cl.cam.ac.uk 17544ec455 bitkeeper revision 1.1330 (4266282ak6eGcWHbvw6KeINzcPr1XA)
Skip ioemu build if env var XEN_NO_IOEMU is set.
Signed-off-by: Mike Day <md@soft-hackle.net>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-20 10:00:10 +00:00
iap10@freefall.cl.cam.ac.uk 30d67edfcf bitkeeper revision 1.1322 (426440a7MY7EjFXXw7M9LRSPhJFVdA)
pull gdb-6.2.1 from more reliable location
Signed-off-by: Kip Macy <kmacy@fsmware.com>
2005-04-18 23:20:07 +00:00
iap10@freefall.cl.cam.ac.uk 1ce3ac326d bitkeeper revision 1.1321 (42642eb1DhlDvDKcX1gTZhvys-xHJQ)
fix single-stepping
make persistent context per-cpu
Signed-off-by: Kip Macy <kmacy@fsmware.com>
Signed-off-by: ian@xensource.com
2005-04-18 22:03:29 +00:00
iap10@freefall.cl.cam.ac.uk 7fbf26132f bitkeeper revision 1.1320 (42642ddapSMPP0vKzhY_zJP6GaMQ7A)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-04-18 21:59:54 +00:00
iap10@freefall.cl.cam.ac.uk d25f5a7f56 bitkeeper revision 1.1159.258.103 (42642c5djs1dzMOSs-vIJLlGCQyrMQ)
Allow xc_domain_info_t to be optional in xc_domain_getfullinfo
From: Kip Macy
Signed-off-by: ian@xensource.com
2005-04-18 21:53:33 +00:00
iap10@freefall.cl.cam.ac.uk 8a3f8e49c6 bitkeeper revision 1.1318 (4264283ce__gVUpQLdg5yGlZuF8vBw)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-04-18 21:35:56 +00:00
iap10@freefall.cl.cam.ac.uk 4d872314e5 bitkeeper revision 1.1159.258.102 (42642814jW88x6oBUhJL6cOEJiTYjA)
Add a check for the 'ip' iproute tools in the install script.
Suggested by Sam Johnston [samjie@gmail.com]
Signed-off-by: ian@xensource.com
2005-04-18 21:35:16 +00:00
iap10@freefall.cl.cam.ac.uk 3cb35dbf45 bitkeeper revision 1.1316 (4264261frL-EQxwgFFde16WtF01B4g)
trivial from Dave Jones
2005-04-18 21:26:55 +00:00
iap10@freefall.cl.cam.ac.uk 8a05adbb14 bitkeeper revision 1.1315 (4264225egUELt3bitAUc2HgHeMMr_w)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-04-18 21:10:54 +00:00
iap10@freefall.cl.cam.ac.uk 85ba283513 bitkeeper revision 1.1159.258.100 (4264223aKtYgG3NrSKfbwM7nfkpGcg)
Fix curldebug function in xendomain.c of xfrd. Function takes argument
"size_t buf_num" and uses it as the field width to print, that has to be
an int. While size_t on 32 bit systems is 4bytes (or size of an int) it
is 8bytes on 64bit systems (not size of an int). So this function should
just use "int buf_num". This function is not used in the code anywhere.
This will fix compilation on x86-64.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
2005-04-18 21:10:18 +00:00
iap10@freefall.cl.cam.ac.uk a383ed638d bitkeeper revision 1.1313 (42641d28jw3IBtr_TG4yEG9VDljPEw)
With -D_FORTIFY_SOURCE=2 (which is used in the Fedora buildroot), gcc has certain defines for functions like read() to check that things are done right.

This trips up these function pointers, and gcc becomes unhappy.
Adding parens around the function prevents gcc from expanding read to the macro it is defined to internally, and makes things compile again.

Signed-off-by: Rik van Riel <riel@redhat.com>
2005-04-18 20:48:40 +00:00
iap10@freefall.cl.cam.ac.uk 7da5ec1a48 bitkeeper revision 1.1312 (42641150UzGGr-qvbIIWNR0atSZMEA)
Trivial ggc4 cleanup from Cihula, Joseph [joseph.cihula@intel.com]
Signed-off-by: ian@xensource.com
2005-04-18 19:58:08 +00:00
iap10@freefall.cl.cam.ac.uk 7af13f54d1 bitkeeper revision 1.1306 (42604119SDlzs7R1nEPCLSovtVOJ7A)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
2005-04-15 22:32:57 +00:00
katzj@redhat.com[iap10] 2cc5addc8f bitkeeper revision 1.1305 (42603ffeunTyoZX2egpGvfR_Km2tBw)
[PATCH] Install libraries into libdir

Attached makes it so that libxc and libxutil get installed
into /usr/lib64 instead of /usr/lib on x86_64.

Signed-off-by: Jeremy Katz <katzj@redhat.com>

===== Config.mk 1.3 vs edited =====
2005-04-15 22:28:14 +00:00
katzj@redhat.com[iap10] c9505fed46 bitkeeper revision 1.1159.258.97 (42603992S3sF-t0yBth7NEBevozVOg)
[PATCH] Make non-native python path handling a
> > Although I don't really agree with the installing of the
> > python bits to the non-native paths, I can see where it's
> > useful as long as the module ABI doesn't change if you're
> > trying to distribute binary tarballs.  But with the current
> > handling it adds module lookup costs for the native path case
> > (which would be the norm) as well as prevents using
> > PYTHONPATH to look to a different location for the modules.
> >
> > The attached patch changes things so that at first, the xen
> > module is attempted to be imported from the stock paths.  If
> > we get an ImportError exception, then it adds /usr/lib/python
> > to the end of the python path and imports again.
>
> Do you prefer this to just unconditionally addding /usr/lib/python to
> the end of the path rather than the front?

Slightly, but just because having /usr/lib/python in my sys.path is
ugly :-)  I can look over it, though... patch doing that attached

Signed-off-by: Jeremy Katz <katzj@redhat.com>

===== tools/misc/netfix 1.13 vs edited =====
2005-04-15 22:00:50 +00:00
katzj@redhat.com[iap10] 60332d49d6 bitkeeper revision 1.1159.258.95 (42602010v-eE8RbyDMcA8iwS-dRkcg)
[PATCH] [PATCH] Man page path

The FHS has said that manpages go in /usr/share/man instead of /usr/man
since FHS 2.0 which dates back to 1997 or so, if I remember correctly.
Having the makefiles drop things in the right place makes the packages a
little cleaner.

Signed-off-by: Jeremy Katz <katzj@redhat.com>

===== tools/xentrace/Makefile 1.24 vs edited =====
2005-04-15 20:12:00 +00:00
iap10@tetris.cl.cam.ac.uk 56b13d9892 bitkeeper revision 1.1294 (425d9f852SL8ULzr5896Y6r81VmGmQ)
Manual merge
2005-04-13 22:39:01 +00:00
mafetter@fleming.research b10a1d453c bitkeeper revision 1.1291.1.1 (425bebf9aCUxgH4Es3NJxOCwIS_yVA)
Remove debug hooks that shouldn't be enabled by default.
2005-04-12 15:40:41 +00:00
mafetter@fleming.research 43a4605d21 bitkeeper revision 1.1288 (425b9987hyix49ReaseCwzMc1AFxcQ)
Hand merged
2005-04-12 09:48:55 +00:00
mafetter@fleming.research 700d1f8579 bitkeeper revision 1.1272.1.1 (425b95a8cRhux_vtKXZDHhnHcViWRg)
Patch to run a domU in shadow test mode.
2005-04-12 09:32:24 +00:00
bren@br260.wolfson.cam.ac.uk b65957655a bitkeeper revision 1.1286 (425a96ca5UAvnSzOyOKUFxfHjMVm9g)
Define atomic functions ourselves rather than relying on
kernel headers under "/usr/include".

Signed-off-by: bin.ren@cl.cam.ac.uk
2005-04-11 15:24:58 +00:00
ccoffing@novell.com[iap10] e4c215974f bitkeeper revision 1.1159.258.90 (425a82f9SNVZLPiwpO07IDSTr_VE7g)
[PATCH]  stream fixes for migration

I've attached a patch for libxutil/libxc.  This fixes one of the hangs =
I've seen during migrations.  It applies against 2.0 and 2.0-testing.

Changes:
 * Encountering EOF or error when xfrd reads from stream could cause an =
infinite loop.
 * Cleaned up the closing of streams.
 * Fixed several memory leaks.

Signed-off-by: Charles Coffing <ccoffing@novell.com>
2005-04-11 14:00:25 +00:00
bren@br260.wolfson.cam.ac.uk b07ab9a333 bitkeeper revision 1.1278.1.1 (4254b244uWvJejlkGeqN8mp1CLtN5w)
New Xen trace buffer implementation that avoids blocking
interrupts. Add support for trace buffer CPU mask and
event mask. Add support for trace classes. New DOM0 trace
buffer hypercall. Fix 'xentrace' signal handler bug.

Signed-off-by: bin.ren@cl.cam.ac.uk
2005-04-07 04:08:36 +00:00
bren@br260.wolfson.cam.ac.uk a526452266 bitkeeper revision 1.1273.1.1 (4252c7d35i_j5GPb1ONx5tb9t7WG4g)
Revamp xentrace. Clean up Xen scheduler tracings.

Signed-off-by: bin.ren@cl.cam.ac.uk
2005-04-05 17:16:03 +00:00