Commit Graph
1241 Commits
Author SHA1 Message Date
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
mafetter@fleming.research 1618e704bc bitkeeper revision 1.1271 (42527d4814Ue_cd-FzUT4Dr8TSIJAA)
Merge maf46@ssh-relay1.cl.cam.ac.uk:/usr/groups/xeno/BK/xen-unstable.bk
into fleming.research:/scratch/fleming/mafetter/xen.work

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-05 11:58:00 +00:00
vh249@arcadians.cl.cam.ac.uk 39b25a53dc bitkeeper revision 1.1236.1.215 (42526b63vLzmU02tqgo2T5K1cqfpBQ)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/vh249/xen-unstable.bk
2005-04-05 10:41:39 +00:00
vh249@arcadians.cl.cam.ac.uk 90522d3b36 bitkeeper revision 1.1236.57.2 (4252646a-w2lxhow-zRG4FwNSoDk5A)
add support for memory suffix in user tools and in kernel

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-04-05 10:11:54 +00:00
mafetter@fleming.research 5d54f397bd bitkeeper revision 1.1269 (42524412_qy8UFAnO7-nfNL1poTqIg)
Hand merge

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-05 07:53:54 +00:00
kaf24@firebug.cl.cam.ac.uk 976f6fc92c bitkeeper revision 1.1236.1.209 (42517173PR-QieAWB-SNd4qnSxKmMQ)
Remove broken atropos and round-robin schedulers. Clean up the
scheduler plugin interface a little.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-04 16:55:15 +00:00
mafetter@fleming.research 52367cb022 bitkeeper revision 1.1267 (4251679dHqcry__n_OW9aNhfUtjZ_A)
Hand merged

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-04 16:13:17 +00:00
kaf24@viper.(none) 556c27d483 bitkeeper revision 1.1236.1.206 (424fd1e3OF1dIgDtN9JonRnCv2YHrQ)
Clean up symtab loading in elf loader.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-03 11:22:11 +00:00
kaf24@viper.(none) fd33063f9c bitkeeper revision 1.1236.1.205 (424fd161S0p6f85LcRWpZCuo7kqBBg)
Fix tools build.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-03 11:20:01 +00:00
kaf24@firebug.cl.cam.ac.uk 4d446939a0 bitkeeper revision 1.1236.1.200 (424efe01yAPteHQ-fOPSaM_1yE9IfA)
Makefile fixes. mbootpack dependencies now work properly.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-02 20:18:09 +00:00
leendert@watson.ibm.com[kaf24] 39d08bc1ba bitkeeper revision 1.1236.1.198 (424e4a89leX7XO7bU7Dkch4KS5zLhQ)
[PATCH] [PATCH] VMX support for MMIO/PIO in VM8086 mode

Memory mapped and port I/O is currently broken under VMX when the
partition is running in VM8086 mode. The reason is that the instruction
decoding support uses 32-bit opcode/address decodes rather 16-bit
decodes. This patch fixes that. In addition, the patch adds support for
the "stos" instruction decoding because this is a frequently used way
to clear MMIO areas such as the screen.

As an aside, vmx_platform.c should really reuse x86_emulate.c as much
as possible.

Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com>

===== tools/ioemu/iodev/cpu.cc 1.7 vs edited =====
2005-04-02 07:32:25 +00:00
leendert@watson.ibm.com[kaf24] b67d9ea723 bitkeeper revision 1.1236.1.197 (424e4a83Uiv2R3w5XZIvsLYfRc7fhQ)
[PATCH] [PATCH] tools/libxc/xc_vmx_build.c broken

xc_vmx_build pins the level 2 page table too early so that subsequent maps
(like those in zap_mmio_ranges) fail and consequently xc_vmx_build fails.
To solve this, this patch pins the l2pt at the end of the function when
all memory initializations are finalized.

Signed-off-by: Leendert van Doorn <leendert@watson.ibm.com>
2005-04-02 07:32:19 +00:00
kaf24@firebug.cl.cam.ac.uk cea60ac25d bitkeeper revision 1.1236.1.189 (424d776cRx8rE1fz0drKAs8qp8AVVw)
I/O rings may now be dynamically sized: instead of declaring size
at struct definition time, declare it in FRONT/BACK_RING_INIT().
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 16:31:40 +00:00
vh249@arcadians.cl.cam.ac.uk 4a0b5ba481 bitkeeper revision 1.1236.51.2 (424d4e45s3_LSUrubUDpgLTFNoQ2xw)
add support for refreshing vbds

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-04-01 13:36:05 +00:00
kaf24@firebug.cl.cam.ac.uk 76d7931a0b bitkeeper revision 1.1236.1.183 (424d1ccaDlUUQZ1KrVHubRYFS5AKQA)
Batch p.t. pin requests during guest restore (after being suspended, or
after migration). Allow L1 tables to be pinned even after their va
backptr is fixed (no longer mutable).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-01 10:04:58 +00:00
kaf24@firebug.cl.cam.ac.uk 7b7eedda27 bitkeeper revision 1.1236.1.173 (424bd85e5lo6-hlVKAhgf-Zu85iruw)
Clean up ctrl msg handling in Linux. Remove VBD_GROW/SHRINK -- a VBD
now maps onto a single complete major/minor that is specified at
VBD_CREATE time. Also improve blkdev request_queue unplugging in the
2.6 backend driver to promote better batching.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-31 11:00:46 +00:00
kaf24@firebug.cl.cam.ac.uk 2ddbf56f89 bitkeeper revision 1.1236.1.170 (424bb695wKVs1smMSH8FpgWxT9Gkow)
Fix mbootpack deps.
2005-03-31 08:36:37 +00:00
kaf24@firebug.cl.cam.ac.uk b4c34f2e39 bitkeeper revision 1.1236.1.168 (424baf28WMoJ5y8ZfokGG38qKUacvg)
memset arg ordering.
2005-03-31 08:04:56 +00:00
kaf24@firebug.cl.cam.ac.uk f2ea273302 bitkeeper revision 1.1236.1.167 (424baeff58gP1oFB2UAaXGjoE5zTmw)
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-03-31 08:04:15 +00:00
kaf24@firebug.cl.cam.ac.uk cb666ced1a bitkeeper revision 1.1159.258.80 (424baef1fEkcfSfQH4BQ1MHHtsEiYQ)
Fix memset arg ordering.
2005-03-31 08:04:01 +00:00
kaf24@firebug.cl.cam.ac.uk 99a84adadf bitkeeper revision 1.1236.1.165 (424ba95eSoKkDgTWnpIIuTJTyWdHJg)
Small gcc4 fix in xc_ptrace.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
2005-03-31 07:40:14 +00:00
kaf24@firebug.cl.cam.ac.uk 99d21671d5 bitkeeper revision 1.1236.1.164 (424aed36IaX4v3-NGAT_MnCdUsD1yQ)
Split mmu_update() hypercall into mmu_update() and mmuext_op().
All MMUEXT_* ops are now done via the latter hypercall. This allows
more arguments to be passed in a nicer way to mmuext operations.
Linux 2.4, 2.6 and control tools all use the new interface. The BSDs
will need some work, but shouldn't be too hard (and they can be moved
to writable pagetables at the same time :-) ).
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-30 18:17:26 +00:00
kaf24@firebug.cl.cam.ac.uk 16d8409f6f bitkeeper revision 1.1236.1.163 (424aec4eki8W81v1JGDTKTh7UZNqpQ)
Fix mbootpack deps.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-30 18:13:34 +00:00
kaf24@firebug.cl.cam.ac.uk b90e35d94a bitkeeper revision 1.1236.1.161 (424a87d38l7A3H0bMHl_fsQl_ZRvuA)
Remove vmassist dom0_op. Can now adjust vm assists via setdomaininfo.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-30 11:04:51 +00:00
kaf24@firebug.cl.cam.ac.uk c95e88a596 bitkeeper revision 1.1236.1.160 (424a861f1fQwwCOgZWaGK3g0CTOOkw)
Tidy up vm_assist handling.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-03-30 10:57:35 +00:00
arun.sharma@intel.com[kaf24] 38c41e800d bitkeeper revision 1.1236.1.158 (424a5e40njyl8M4wEhCb_M060CCf-w)
[PATCH] libxc-x86-64-fixes.patch

Build fixes for x86-64.

Signed-off-by: Nitin Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-03-30 08:07:28 +00:00
arun.sharma@intel.com[kaf24] b63443e247 bitkeeper revision 1.1236.1.157 (424a5bd9vDVxqBGBnc7AKIyONvJCyQ)
[PATCH] ioemu-x86-64-fixes.patch

Make ioemu compile on x86-64.

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
2005-03-30 07:57:13 +00:00