Commit Graph
4541 Commits
Author SHA1 Message Date
iap10@freefall.cl.cam.ac.uk 9c4ffb42aa bitkeeper revision 1.1317 (426426e75ONJGdRHoWdYW1_r-sGgsA)
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:30:15 +00:00
ryanh@us.ibm.com[iap10] b79f86fed9 bitkeeper revision 1.1159.258.101 (426426c8abaWsVEeXnAJoNNGZ6ooyg)
[PATCH] [PATCH] xen: is_idle_task cleanup

The macro is_idle_task references d_flags which is only in struct
domain.  When WAKE_HISTO or BLOCKTIME_HISTO are defined (in schedule.c)
xen fails to compile with out the attached patch.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
2005-04-18 21:29:44 +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 b965d560d3 bitkeeper revision 1.1314 (42642022uxXkB91UbVd9yk-liaeCHA)
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:01:22 +00:00
hollisb@us.ibm.com[iap10] 6f87cf9311 bitkeeper revision 1.1159.258.99 (42641f67D11Zf7wIb-qAVu9io6tamQ)
[PATCH] IO-APIC in drivers/pci/quirks.c

This patch moves the IO-APIC include inside #ifdef CONFIG_X86_IO_APIC , which
is how Linux 2.6 has it. This is needed for architectures without
asm/io_apic.h. I've verified that x86 still builds; please apply.

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>

===== xen/drivers/pci/quirks.c 1.9 vs edited =====
2005-04-18 20:58:15 +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
mafetter@fleming.research b658d2db02 bitkeeper revision 1.1311 (4263f29cFxgD641lih3gf05JfmiLPg)
Fix one of the linux 2.4 compilation problems...

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-18 17:47:08 +00:00
maf46@burn.cl.cam.ac.uk c4176c140e bitkeeper revision 1.1310 (4263d01alGeX35dYhvzi6Uo_ZNlWkQ)
Fix bug with get_page_type where validating an L2/L3/L4 page which contained a self
reference would cause xen to busy-wait forever.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-18 15:19:54 +00:00
iap10@freefall.cl.cam.ac.uk e3cdfbde11 bitkeeper revision 1.1309 (426052aaG0swXIw841qM6ZsAgDrD2w)
update ignore file
2005-04-15 23:47:54 +00:00
iap10@freefall.cl.cam.ac.uk 231be096c3 bitkeeper revision 1.1308 (4260510bQdQyEJ4w-XdZSU5iSTB_Pg)
The attached patch apic.patch updates xen/arch/x86/apic.c so that it is based on linux 2.6.10 code.  A few changes made to linux required reworking functions in other files as well so I held off on those changes.  For example, setup_APIC_timer(void *) changed to setup_APIC_timer(unsigned int).  The change has no real bearing on the Xen code -- it's just a question of how close to linux one wants to be.  However, that change goes with a change to smp_call_function which would affect quite a few other files/functions so I left it as is.  Most of the other changes are trivial.
xen/ac_timer.h was included but not needed by apic.c so I removed it from the list of #includes.

The new apic.c includes two new files: asm/io_ports.h and asm/mach_apic.h.  Patches to create those files are included as well.
2005-04-15 23:40:59 +00:00
chrisw@osdl.org[iap10] f927793a9f bitkeeper revision 1.1307 (42604f23zhUwzxPQ-mNyzol0cpHWlg)
[PATCH] Eliminate kernel version checks from

Eliminate kernel version checks from x86_64/kernel/pci-dma.c as a trivial
first pass cleanup towards merging.

Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-04-15 23:32:51 +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
iap10@freefall.cl.cam.ac.uk 04c5b09794 bitkeeper revision 1.1159.258.98 (42603e07B1WGB8z5xrijsm1UIICwKg)
[PATCH] add cscope support to xen Makefile
  
Add cscope support to xen Makefile.  While at it, refactor a bit so
etags, ctags, and cscope use same method to generate file list.
  
Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-04-15 22:19:51 +00:00
chrisw@osdl.org[iap10] fef1e0d218 bitkeeper revision 1.1304 (42603d0cFBy4o8Z0uWMo4r_vc6tf2g)
[PATCH] [PATCH] Eliminate kernel version checks from

Eliminate kernel version checks from i386/kernel/pci-dma.c as a trivial
first pass cleanup towards merging.

Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-04-15 22:15:40 +00:00
chrisw@osdl.org[iap10] d3469aaace bitkeeper revision 1.1303 (42603cfcV4b1vmdRdZJg3Fl9rZ2Tkw)
[PATCH] [PATCH] remove unused get_smp_processor_id

Remove unused get_smp_processor_id().

Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-04-15 22:15:24 +00:00
chrisw@osdl.org[iap10] 7a01aa1436 bitkeeper revision 1.1302 (42603cdb-AbHd2ci9qddxFzBGr4xqA)
[PATCH] add cscope support to xen Makefile

Add cscope support to xen Makefile.  While at it, refactor a bit so
etags, ctags, and cscope use same method to generate file list.

Signed-off-by: Chris Wright <chrisw@osdl.org>
2005-04-15 22:14:51 +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
iap10@freefall.cl.cam.ac.uk 718f9a6fd8 bitkeeper revision 1.1159.258.96 (426020fdvI1TOBH3k_tSkViH1At7WA)
Below is the patch that returns an 'int' from the notify_via_evtchn() 
call.

Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Signed-off-by: ian@xensource.com
2005-04-15 20:15:57 +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
kaf24@firebug.cl.cam.ac.uk 1b8c6c3938 bitkeeper revision 1.1301 (425efd40p7ew4Nxd9WYfNILEq8FV8A)
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-04-14 23:31:12 +00:00
kaf24@firebug.cl.cam.ac.uk 4544f174a0 bitkeeper revision 1.1159.258.94 (425efd27VCIdiye1vxlHLWe8PRt9gA)
Add a xencons_bufsz= option to allow a larger than usual console
buffer to be allocated. Reduces chance of console output being
truncated.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-14 23:30:47 +00:00
kaf24@firebug.cl.cam.ac.uk 7883c1304a bitkeeper revision 1.1300 (425ef0b4lXDHXsulXDmrVOvOZAhPXQ)
Do not STI when transitioning from user to kernel mode in
x86/64 Xen. Otherwise, by directly entering restore_all_guest
without first executing test_all_events, we risk ignoring
pending softirq and event-delivery work.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-14 22:37:40 +00:00
kaf24@firebug.cl.cam.ac.uk a8552af19f bitkeeper revision 1.1299 (425eef16s6fX6jXC3hHMyjTl5h4U4Q)
Forward port of I/O-page fix in 2.0 series.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-14 22:30:46 +00:00
iap10@firebug.cl.cam.ac.uk 59a5846826 bitkeeper revision 1.1298 (425edf52L4XNweV-tkdrG5jgBJeS-A)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/iap10/xen-unstable.bk
2005-04-14 21:23:30 +00:00
iap10@firebug.cl.cam.ac.uk 91e4581c42 bitkeeper revision 1.1294.1.1 (425edf4cAtOdBglwfiRqYUAVOrP-Iw)
Add more generous default configs to the x86_64 build. 
We still seem to have a serious interrupt problem, so its not 
ready for users quite yet.
2005-04-14 21:23:24 +00:00
maf46@burn.cl.cam.ac.uk 62ea381446 bitkeeper revision 1.1297 (425ed8e8fyYSNRfTQEAOwYEwqTp89A)
Merge burn.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into burn.cl.cam.ac.uk:/local/scratch-1/maf46/xen-unstable.bk

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-14 20:56:08 +00:00
kaf24@firebug.cl.cam.ac.uk 41253dcf4e bitkeeper revision 1.1296 (425ed844TjWbscrQKTHCdNtZCwSQaA)
Manual merge.
2005-04-14 20:53:24 +00:00
maf46@burn.cl.cam.ac.uk 407214c6c7 bitkeeper revision 1.1293.1.1 (425ed7d4ns1ECT4A2gBGlWC_vklpGQ)
Now booting VT-X domain with new shadow code.

Signed-off-by: michael.fetterman@cl.cam.ac.uk
2005-04-14 20:51:32 +00:00
kaf24@firebug.cl.cam.ac.uk ce2b4a9046 bitkeeper revision 1.1159.258.93 (425ed73d07ZuW2sSaCdiIwlCRXD8IQ)
Improved handling of non-RAM pages. Deal with RAM holes.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-14 20:49:01 +00:00
vh249@arcadians.cl.cam.ac.uk 37d433d464 bitkeeper revision 1.1295 (425eab1cIikVxIVyd1yoZpti7rBCLA)
fix return with the lock held

Signed-off-by: Reiner Sailer <sailer@us.ibm.com>
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-04-14 17:40:44 +00:00
iap10@tetris.cl.cam.ac.uk 56b13d9892 bitkeeper revision 1.1294 (425d9f852SL8ULzr5896Y6r81VmGmQ)
Manual merge
2005-04-13 22:39:01 +00:00
iap10@tetris.cl.cam.ac.uk 69f16b1102 bitkeeper revision 1.1159.258.92 (425d9b5fpTDpk1bOSGzFii6MwA1lRw)
Add magic sysrq to default config, along with a couple of common 
SCSI cards.
2005-04-13 22:21:19 +00:00
iap10@tetris.cl.cam.ac.uk c484bcfab7 bitkeeper revision 1.1159.258.91 (425d997aPeMVaT8eLqm62dnz9Sko4w)
Better default for dom0 memory.

Add Xen cmd line parameter to set max number of CPUs ("maxcpus"). 
This doesn't change the enumeration order, so you may wish to use 
it in conjunction with 'noht'.
2005-04-13 22:13:14 +00:00
vh249@arcadians.cl.cam.ac.uk 6ad2bc6f6d bitkeeper revision 1.1293 (425cf706gdIucn9n9UpmnZgk5ZwITQ)
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-13 10:40:06 +00:00
mafetter@fleming.research 99a2243d06 bitkeeper revision 1.1291.1.3 (425cedbeGiOGgBWe1ZUNOQP3QLs_kw)
Fix compilation problem in linux 2.4 kernel
2005-04-13 10:00:30 +00:00
mafetter@fleming.research d3aedc9567 bitkeeper revision 1.1291.1.2 (425bf858UzCNdwL5gna8YNNdZ5iYAA)
The shadow control hypercall can now invoke shadow translate mode.
2005-04-12 16:33:28 +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
vh249@arcadians.cl.cam.ac.uk 5e54811ab5 bitkeeper revision 1.1292 (425bb9faHQQUfDwFTjREYNlMMXUsEg)
unecessary variable rename which lead to unecessary changes between mainline and xen

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
2005-04-12 12:07:22 +00:00
mafetter@fleming.research a66931d294 bitkeeper revision 1.1291 (425ba989Nj6H2qCh4WiBC1ZfKP7ZKg)
Turn off grant table debugging output
2005-04-12 10:57:13 +00:00
mafetter@fleming.research 8fafccca33 bitkeeper revision 1.1290 (425ba026Ih2bcMUdBJt-wtxP9Cltog)
Enabled autofs in dom0 by default
2005-04-12 10:17:10 +00:00
mafetter@fleming.research bcd125ec31 bitkeeper revision 1.1289 (425b9fe0JVvbTzMQDh4T-vsRodcmaw)
cleanup after merge
2005-04-12 10:16:00 +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
kaf24@firebug.cl.cam.ac.uk c5cb74f9eb bitkeeper revision 1.1287 (425aba41d9E1CIacFmT771MdoJl_LQ)
Cull some duplicated code from nmi handling in entry.S.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-11 17:56:17 +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