Commit Graph
4569 Commits
Author SHA1 Message Date
mjw@wray-m-3.hpl.hp.com 83a12f2ba6 bitkeeper revision 1.1327.2.15 (4270e4efrExxOueWy0PzsA_9yhB0tA)
Move blkif utility functions into xen.util.
Importing xen.xend.server.blkif from xm create caused
errors.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-28 13:28:15 +00:00
mjw@wray-m-3.hpl.hp.com 0da4cefa9f bitkeeper revision 1.1327.2.14 (4270deecYzS6oo19lfqUxQRTnp2SBw)
Document that you need RPM e2fsprogs-devel installed to
compile pygrub.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-28 13:02:36 +00:00
mjw@wray-m-3.hpl.hp.com 51a9f171a5 bitkeeper revision 1.1327.2.13 (4270d6c35WpxFmhdkREjmSvk82s-Bg)
Merge Jeremy's pygrub bootloader patch.

Signed-off-by: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-28 12:27:47 +00:00
mjw@wray-m-3.hpl.hp.com b4ac7763be bitkeeper revision 1.1327.2.12 (4270a5f3EYQTq9cfFkGDYjjJ7ckjuw)
Fix problem with Python 2.4 caused by change in error behaviour
of dircache.listdir. In 2.4 it throws an error on non-existent
directories instead of returning an empty list.
See 'Porting to 2.4' in the Python release notes.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-28 08:59:31 +00:00
mjw@wray-m-3.hpl.hp.com 5ee95edd62 bitkeeper revision 1.1327.2.11 (426fb893OrpBVeRpaWJ0atIxlG4Hxw)
Add support for unix-domain sockets to consoles and the
event server.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-27 16:06:43 +00:00
mjw@wray-m-3.hpl.hp.com 21e79ab902 bitkeeper revision 1.1327.2.10 (426fa4e4eW-9e4FXXSNCILoSYO6KKA)
Add error handling so that disconnecting from a console
producing fast output doesn't cause an error loop.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-27 14:42:44 +00:00
mjw@wray-m-3.hpl.hp.com 084b3e366e bitkeeper revision 1.1327.2.9 (426f9bfcIjY9QAFCPqWBbFw35vclow)
Add support for unix-domain sockets on xend.
Remove some dead code.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-27 14:04:44 +00:00
mjw@wray-m-3.hpl.hp.com 890ea518d9 bitkeeper revision 1.1327.2.8 (426cead1A05puWeKCli1otyMkZ6B9A)
Refresh domain list periodically.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-25 13:04:17 +00:00
mjw@wray-m-3.hpl.hp.com 4ef819374f bitkeeper revision 1.1327.2.7 (42692f39Ootfn2QyViUck00eh0wT7Q)
Remove deferred and dead code.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-22 17:07:05 +00:00
mjw@wray-m-3.hpl.hp.com eae3cc0a1f bitkeeper revision 1.1327.2.6 (4269277eFXyepEq1XdwqGS1lcCxhhg)
Fix problem with netdevs not coming back on reboot.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-22 16:34:06 +00:00
mjw@wray-m-3.hpl.hp.com 790a97e56c bitkeeper revision 1.1327.2.5 (426921fa25ZaWjkBe-mPZImv-iXvmg)
Message unpacking fix.
Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-22 16:10:34 +00:00
mjw@wray-m-3.hpl.hp.com a2dd80a6ea bitkeeper revision 1.1327.2.4 (426918a34Af7gihN8mTkq-P3KrAZXg)
Remove twisted from save/migrate handling.
This needs to use threads, so add thread support for
http server requests.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-22 15:30:43 +00:00
mjw@wray-m-3.hpl.hp.com 1075f20bac bitkeeper revision 1.1327.2.3 (4267b4918M714ImdecocSvKqAkVj1A)
Add some locking to console handling.
Remove a dead file.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-21 14:11:29 +00:00
mjw@wray-m-3.hpl.hp.com 14a5b54eb0 bitkeeper revision 1.1327.2.2 (4267a9b3MhPpljnjQ5IbfLdzcW2K3w)
Remove twisted from the HTTP server and replace with a 
threaded server. Add classes to provide tcp and unix servers
using threads instead of twisted. Remove use of twisted from
the consoles, event server and HTTP resources

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-21 13:25:07 +00:00
mjw@wray-m-3.hpl.hp.com ebd2e8acfb bitkeeper revision 1.1327.2.1 (4266169fT9qqykPCJWENnvnqwf71kQ)
Refactor domain construction and device controllers to
remove use of twisted. Use threads to dispatch channel
input. Move device controllers into domains.

Signed-off-by: Mike Wray <mike.wray@hp.com>
2005-04-20 08:45:19 +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
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