Commit Graph
4571 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
kaf24@firebug.cl.cam.ac.uk 18548cb509 bitkeeper revision 1.1329 (42661815u5WPq8d5f4_axi2xWheybA)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xeno-unstable-ia64.bk
2005-04-20 08:51:33 +00:00
djm@sportsman.spdomain d75941fb53 bitkeeper revision 1.1327.1.3 (426584a23wQiUIp8f6GBvZpPQBMRhA)
Update documentation to reflect rebasing
2005-04-19 22:22:26 +00:00
djm@sportsman.spdomain d79fbbaf63 bitkeeper revision 1.1327.1.2 (426537ceqse6CIeqDSkO2xQvN7gUvg)
Adapt to change in x86
2005-04-19 16:54:38 +00:00
xen-ia64.adm@bkbits.net d8bde6f599 bitkeeper revision 1.1327.1.1 (426536d2PUqtjTi2v06bzD10RFwarg)
Merge bk://xen.bkbits.net/xeno-unstable.bk
into bkbits.net:/repos/x/xen-ia64/xeno-unstable-ia64.bk
2005-04-19 16:50:26 +00:00
iap10@freefall.cl.cam.ac.uk cb00a26b7c bitkeeper revision 1.1328 (4265217aYiP2DYWshvrhuzl1lKe_3w)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/iap10/xeno-clone/xen-unstable.bk
2005-04-19 15:19:22 +00:00
iap10@freefall.cl.cam.ac.uk e98c20f1c4 bitkeeper revision 1.1323.1.2 (42652140LgTunNR_6zFKtu-45HaaTQ)
Bug fix for audit code.
More verbose 'q' debug key.
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-04-19 15:18:24 +00:00
iap10@freefall.cl.cam.ac.uk 5dae05d826 bitkeeper revision 1.1323.1.1 (426520de5_4ELPPMz4K8LGEZrgN-Hg)
Implement save/restore (not migration) for unstable.
Signed-off-by: ian.pratt@cl.cam.ac.uk
2005-04-19 15:16:46 +00:00
kaf24@firebug.cl.cam.ac.uk 6779cb6602 bitkeeper revision 1.1327 (42650c157OdzpVLoIU2uHsYHltTfYg)
Remove unused VERIFY_READ and VERIFY_WRITE parameters from the
access_ok, user-space memory check macros.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-19 13:48:05 +00:00
kaf24@firebug.cl.cam.ac.uk 260de0800d bitkeeper revision 1.1326 (42650a788JSw9ebwfL7C9aWTza0ZlA)
Address space reorganization.

Intention is to have largely the same memory layout
in both PAE and non-PAE mode, so I moved the
fixed-size stuff to the top, followed by the
variable-sized stuff (frametable and linear page
tables), and the domain-accessable machine-phys-table
at the bottom.

Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-19 13:41:12 +00:00
kaf24@firebug.cl.cam.ac.uk 1fbb92db13 bitkeeper revision 1.1325 (4264f4e1_pBZ5zLLX0b0JxQ8LKictQ)
Grant-table cleanups, reduce break-even point for INVLPG vs. full flush,
and fix TLB flushing for SMP guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
2005-04-19 12:09:05 +00:00
cwc22@centipede.cl.cam.ac.uk 0e4e26b870 bitkeeper revision 1.1324 (42644ad1aeFq3LcHbilUBO0afwrj8g)
blkback.c:
  fix to error handling for bad grant refs
  Signed-off-by: Christopher Clark
2005-04-19 00:03:29 +00:00
iap10@freefall.cl.cam.ac.uk 2691177665 bitkeeper revision 1.1323 (426441f4N_rRW9JqV6OGmWTaHrLiCQ)
- Update FreeBSD sparse tree to build against latest -unstable
- add conditional support for writable pagetables (don't use 
  currently locks up xen)
- block driver not update to use grant tables yet, DOM0 will have to 
  be re-compiled with grant table substrate disabled
Signed-off-by: Kip Macy <kmacy@fsmware.com>
Signed-off-by: ian@xensource.com
2005-04-18 23:25:40 +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 e7b98aa055 bitkeeper revision 1.1159.258.104 (42642dba9pDTa93gTC3Il_J65x4vUQ)
add in kern.mk to sparse tree to disable compiling with -std=c99
anonymous unions (used in xen public headers) are not compliant
Signed-off-by: Kip Macy <kmacy@fsmware.com>
Signed-off-by: ian@xensource.com
2005-04-18 21:59:22 +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 6cabb12173 bitkeeper revision 1.1319 (4264295cjYBiljHc4G82B7WseRd9vA)
The problem is that GCC4 is seeing is that variable such as frame (in
grant_table.c) is passed into a function without initialization. Again for the variable sl1mfn  (in shadow.c) does the same thing. So really the patches should be:

Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
2005-04-18 21:40:44 +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 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
djm@kirby.fc.hp.com f20a845519 bitkeeper revision 1.1277.1.8 (426045a9jwqQpAs04HKkiXc9OPbBBw)
vcpu.c:
  pending interrupt fix for paravirtualization
2005-04-15 22:52:25 +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
djm@kirby.fc.hp.com f32b6ce12a bitkeeper revision 1.1277.1.7 (425ef17azBqJhPFLmZEkDtoof0rTBA)
xenasm.S:
  another shared page fix for paravirtualization
2005-04-14 22:40:58 +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