]>
xenbits.xensource.com Git - rumpuser-xen.git/log
Ian Jackson [Wed, 11 Jun 2014 12:35:28 +0000 (13:35 +0100)]
mini-os/xenbus: Add missing locks to xb_write
xb_write was missing any locking against concurrent calls.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Ian Jackson [Wed, 11 Jun 2014 12:18:09 +0000 (13:18 +0100)]
mini-os: Provide <mini-os/queue.h>
Upstream (xen.git) minios has MINIOS_{,S}{LIST,TAILQ}_* (eg,
MINIOS_LIST_INSERT). rumpuser-xen has {,S}{LIST,TAILQ}_* (eg,
LIST_INSERT) because it can #include <sys/queue.h>.
We want to try to make this code upstreamable (or at least no less
upstreamable than it already is).
So provide <mini-os/queue.h> which provides MINIOS_* in terms of
<sys/queue.h>. That allows us to use MINIOS_* in the bulk of minios.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Ian Jackson [Wed, 18 Jun 2014 13:27:47 +0000 (14:27 +0100)]
mini-os: Make some headers more rumpkernel-friendly
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Ian Jackson [Thu, 19 Jun 2014 15:45:48 +0000 (16:45 +0100)]
callmain: Split up command line into separate arguments for main()
We understand '' and "" quoting, with \-escapes for ' and ", like a
shell would. (Of course we don't interpolate ` or $ in "".)
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Ian Jackson [Wed, 28 May 2014 16:10:12 +0000 (17:10 +0100)]
callmain: Provide a default app_main which calls main()
This allows the linking of programs which expect a conventional main().
For now we pass the command line as a single argument.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Ian Jackson [Mon, 9 Jun 2014 15:35:51 +0000 (16:35 +0100)]
.gitignore: Ignore things generated by build
Including the subtrees cloned adhoc.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Ian Jackson [Fri, 20 Jun 2014 13:56:46 +0000 (14:56 +0100)]
update buildrump.sh for new rumpsrc revison
Antti Kantee [Sun, 22 Jun 2014 12:45:24 +0000 (12:45 +0000)]
need subr.sh before we can source it
Antti Kantee [Wed, 18 Jun 2014 13:27:22 +0000 (13:27 +0000)]
update nblibs (openssl 1.0.1h)
Antti Kantee [Tue, 17 Jun 2014 18:07:17 +0000 (18:07 +0000)]
update buildrump.sh (for improved subr.sh::docheckout)
Antti Kantee [Mon, 16 Jun 2014 20:55:01 +0000 (20:55 +0000)]
specify base path to usermtree
Antti Kantee [Mon, 16 Jun 2014 20:54:40 +0000 (20:54 +0000)]
pull in subr.sh fix
Antti Kantee [Mon, 16 Jun 2014 20:47:58 +0000 (20:47 +0000)]
use buildrump.sh/subr.sh
Antti Kantee [Mon, 16 Jun 2014 20:47:19 +0000 (20:47 +0000)]
pull in new buildrump.sh
Antti Kantee [Mon, 16 Jun 2014 20:40:34 +0000 (20:40 +0000)]
update buildrump.sh for subr.sh
Antti Kantee [Mon, 16 Jun 2014 13:51:29 +0000 (13:51 +0000)]
simplify listing all libs
Antti Kantee [Mon, 16 Jun 2014 11:35:24 +0000 (11:35 +0000)]
use ./buildrump.sh kernelheaders
Antti Kantee [Mon, 16 Jun 2014 11:30:18 +0000 (11:30 +0000)]
pull in new buildrump.sh (for "kernelheaders")
Antti Kantee [Mon, 16 Jun 2014 11:26:02 +0000 (11:26 +0000)]
you do nothing, setupdest
Antti Kantee [Sat, 14 Jun 2014 15:42:19 +0000 (15:42 +0000)]
update PCI device component names
Antti Kantee [Sat, 14 Jun 2014 15:29:24 +0000 (15:29 +0000)]
Build PCI drivers the newstyle way
compile-tested only
Antti Kantee [Sat, 14 Jun 2014 14:41:18 +0000 (14:41 +0000)]
pull in latest nblibs (to match buildrump.sh)
Antti Kantee [Sat, 14 Jun 2014 14:40:17 +0000 (14:40 +0000)]
pull in latest buildrump.sh
Antti Kantee [Sat, 14 Jun 2014 14:32:22 +0000 (14:32 +0000)]
add cleanrump and distcleanrump targets a la rumprun
Antti Kantee [Sat, 14 Jun 2014 14:30:21 +0000 (14:30 +0000)]
nuke symlinks from correct directory
Antti Kantee [Fri, 13 Jun 2014 14:22:44 +0000 (14:22 +0000)]
remove some low-hanging namespace pollution. needs more work
Antti Kantee [Thu, 5 Jun 2014 23:21:42 +0000 (23:21 +0000)]
Support "justcheckout"
from the rumprun build script ... yes, they still need to be united.
Antti Kantee [Wed, 28 May 2014 01:35:17 +0000 (01:35 +0000)]
send email notifications to rumpkernel-builds
Antti Kantee [Mon, 26 May 2014 12:07:03 +0000 (12:07 +0000)]
do not build mvphy since we do not use it
Antti Kantee [Mon, 26 May 2014 11:49:27 +0000 (11:49 +0000)]
update nblibs
Antti Kantee [Mon, 26 May 2014 11:49:10 +0000 (11:49 +0000)]
update buildrump.sh
Antti Kantee [Thu, 15 May 2014 19:00:37 +0000 (19:00 +0000)]
Merge pull request #7 from ijackson-citrix/netfront-csum-offload
xen/netfront: Request no checksum offload
Antti Kantee [Thu, 15 May 2014 18:59:07 +0000 (18:59 +0000)]
Merge pull request #6 from ijackson-citrix/master
Demo and build fixes
Ian Jackson [Thu, 15 May 2014 18:43:20 +0000 (19:43 +0100)]
xen/netfront: Request no checksum offload
Checksum offload is not plumbed through to the networking stack, so
does not work. Turn it off by writing the relevant key in xenstore.
It would be better, but more work, to plumb it through.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Ian Jackson [Thu, 15 May 2014 18:29:39 +0000 (19:29 +0100)]
Config.mk: Make it possible to override XEN_HEADERS
This makes it possible to build against a checked out and built but
not installed xen tree, etc.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Ian Jackson [Thu, 15 May 2014 18:28:42 +0000 (19:28 +0100)]
rumpkern_demo: Do not constantly try to close closed fds
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Ian Jackson [Thu, 15 May 2014 18:28:06 +0000 (19:28 +0100)]
rumpkern_demo: Return from readconn when read fails
After closing the fd, we should not continue with the rest of the
function.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Ian Jackson [Thu, 15 May 2014 18:26:25 +0000 (19:26 +0100)]
rumpkern_demo: Work even though master socket is not fd 0
The WOPR demo was predicated on the master socket being fd 0. But of
course it isn't because the rump environment now correctly starts with
some fds 0-2.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Antti Kantee [Wed, 14 May 2014 10:18:23 +0000 (10:18 +0000)]
add editing domain_config to the quickstart instructions
Antti Kantee [Wed, 14 May 2014 10:01:23 +0000 (10:01 +0000)]
conform to new pci_intr_string signature from NetBSD code
XXX: should just move to sys/rump/dev/lib/libpci, but that has slightly
different hypercall interface, so we need some work to adjust things here.
Antti Kantee [Wed, 14 May 2014 09:46:31 +0000 (09:46 +0000)]
update submodule urls to current ones
(old ones were provided by github compat, so no great actual impact)
Antti Kantee [Wed, 14 May 2014 09:44:16 +0000 (09:44 +0000)]
pull in latest buildrump.sh and nblibs (why not?)
Antti Kantee [Tue, 13 May 2014 22:05:14 +0000 (22:05 +0000)]
unsnafu
Antti Kantee [Tue, 13 May 2014 22:00:47 +0000 (22:00 +0000)]
always use curlwp=hypercall, nothing else is available
Antti Kantee [Tue, 13 May 2014 21:58:47 +0000 (21:58 +0000)]
Do not wrap thread_create
1) it's probably quite fast and without deadlocks
2) it causes recursion with softints
So, wrt. "2", this fix is kind of a hack, but I have the softint
revamp on the horizon anyway, so better revisit the issue then.
Antti Kantee [Tue, 13 May 2014 16:44:14 +0000 (16:44 +0000)]
remove unnecessary call to gettimeofday()
it's now provided by the rump kernel, and breaks when called
too early in bootstrap
Justin Cormack [Thu, 10 Apr 2014 08:22:15 +0000 (09:22 +0100)]
Build all the libraries not just libc, libm
This merges in the changes from rumprun to build more NetBSD
libraries. At some point it would be good to merge these
build processes.
Justin Cormack [Tue, 8 Apr 2014 15:03:04 +0000 (16:03 +0100)]
update repos
Justin Cormack [Tue, 8 Apr 2014 15:00:23 +0000 (16:00 +0100)]
remove rumpkern_time
Justin Cormack [Tue, 8 Apr 2014 14:51:54 +0000 (15:51 +0100)]
add short form how to build
Antti Kantee [Mon, 7 Apr 2014 15:12:48 +0000 (15:12 +0000)]
fix toyp
Antti Kantee [Mon, 7 Apr 2014 15:10:53 +0000 (15:10 +0000)]
point to wiki
Antti Kantee [Tue, 1 Apr 2014 10:37:17 +0000 (10:37 +0000)]
sprintf -> snprintf
Antti Kantee [Mon, 24 Mar 2014 00:46:04 +0000 (00:46 +0000)]
update urls
Antti Kantee [Tue, 18 Mar 2014 01:09:21 +0000 (01:09 +0000)]
gettimeofday is provided by the rump kernel
Antti Kantee [Tue, 18 Mar 2014 01:05:51 +0000 (01:05 +0000)]
use rumpkern_time instead of stubs
Antti Kantee [Tue, 18 Mar 2014 00:54:36 +0000 (00:54 +0000)]
pull in latest buildrump.sh
Antti Kantee [Tue, 18 Mar 2014 00:54:26 +0000 (00:54 +0000)]
pull in latest nblibs
Antti Kantee [Sun, 16 Mar 2014 12:08:41 +0000 (12:08 +0000)]
fix urls: anttikantee -> rumpkernel
Antti Kantee [Fri, 7 Mar 2014 15:08:53 +0000 (15:08 +0000)]
use minimal irc notifications
Antti Kantee [Mon, 17 Feb 2014 22:36:07 +0000 (22:36 +0000)]
make build infos go to #rumpkernel-builds
Justin Cormack [Tue, 31 Dec 2013 17:29:03 +0000 (17:29 +0000)]
force MKPIC=no as buildrump -k switching to not doing this by default
Justin Cormack [Mon, 23 Dec 2013 19:30:15 +0000 (19:30 +0000)]
do apt-get update first
Justin Cormack [Mon, 23 Dec 2013 19:25:44 +0000 (19:25 +0000)]
fix some printf format strings in rumpkern_demo
Antti Kantee [Tue, 17 Dec 2013 07:33:47 +0000 (07:33 +0000)]
Merge branch 'pci'
Antti Kantee [Tue, 17 Dec 2013 07:30:05 +0000 (07:30 +0000)]
add note describing why dma mem alloc needs more work
Antti Kantee [Sun, 8 Dec 2013 11:58:42 +0000 (11:58 +0000)]
pull in latest buildrump.sh
Antti Kantee [Mon, 23 Sep 2013 20:20:03 +0000 (20:20 +0000)]
update comments -- things _are_ expected to compile
Antti Kantee [Mon, 23 Sep 2013 20:08:20 +0000 (20:08 +0000)]
header visibility
Antti Kantee [Mon, 23 Sep 2013 19:44:03 +0000 (19:44 +0000)]
and create the objdir root too ...
Antti Kantee [Mon, 23 Sep 2013 19:28:19 +0000 (19:28 +0000)]
use MAKEOBJDIRPREFIX to fix obj locations for now
Antti Kantee [Mon, 23 Sep 2013 18:23:34 +0000 (18:23 +0000)]
spell dmat64 correctly (usually helps code compile)
Antti Kantee [Mon, 23 Sep 2013 18:07:55 +0000 (18:07 +0000)]
pull buildrump.sh for amd64 fix
Antti Kantee [Mon, 23 Sep 2013 18:06:44 +0000 (18:06 +0000)]
if we're LP64, pretend we can do dma64
Antti Kantee [Mon, 23 Sep 2013 17:34:00 +0000 (17:34 +0000)]
Pull new submodules (for PCI support)
Antti Kantee [Mon, 23 Sep 2013 15:14:40 +0000 (18:14 +0300)]
build PCI drivers as part of buildxen.sh
Antti Kantee [Mon, 23 Sep 2013 15:12:37 +0000 (18:12 +0300)]
Build PCI drivers
Antti Kantee [Mon, 23 Sep 2013 15:00:38 +0000 (18:00 +0300)]
Add rest of PCI driver hierarchy
Antti Kantee [Mon, 23 Sep 2013 14:58:36 +0000 (17:58 +0300)]
add PCI bus support
Antti Kantee [Mon, 23 Sep 2013 14:19:27 +0000 (17:19 +0300)]
consistent naming
Antti Kantee [Mon, 23 Sep 2013 14:09:59 +0000 (17:09 +0300)]
include hypercall header from right place
Antti Kantee [Mon, 23 Sep 2013 14:08:03 +0000 (17:08 +0300)]
g/c unnecessary bits
Antti Kantee [Mon, 23 Sep 2013 14:07:27 +0000 (17:07 +0300)]
add pcn(4) PCI NIC driver
Antti Kantee [Mon, 23 Sep 2013 14:03:10 +0000 (17:03 +0300)]
add wm(4) PCI NIC driver
Antti Kantee [Mon, 23 Sep 2013 13:58:03 +0000 (16:58 +0300)]
add phy drivers
Antti Kantee [Mon, 23 Sep 2013 13:47:52 +0000 (16:47 +0300)]
add example on how to specify PCI devices
Antti Kantee [Thu, 19 Sep 2013 15:42:29 +0000 (18:42 +0300)]
Allow configurations with 0 pci devices to boot.
XXX: needs some more finetuning on multiple layers
Antti Kantee [Thu, 19 Sep 2013 11:24:16 +0000 (14:24 +0300)]
tone down some prints
Antti Kantee [Thu, 19 Sep 2013 11:06:06 +0000 (14:06 +0300)]
Don't depend everything on Makefile
I promise I'll remember to type "make clean" if I make _critical_ changes
to the Makefile. 99% of the time I just want to modify the set of libs
that gets linked, and I don't want to wait for a recompile.
Antti Kantee [Wed, 18 Sep 2013 22:46:21 +0000 (01:46 +0300)]
Add hypercalls for PCI drivers
Antti Kantee [Wed, 18 Sep 2013 20:33:53 +0000 (20:33 +0000)]
Remove build vars now set by rumpmake itself.
Antti Kantee [Mon, 16 Sep 2013 12:39:36 +0000 (12:39 +0000)]
make compile after infra changes
Antti Kantee [Mon, 16 Sep 2013 12:33:55 +0000 (12:33 +0000)]
g/c unused cpp define
Antti Kantee [Sun, 15 Sep 2013 18:35:16 +0000 (18:35 +0000)]
Running checkout multiple times is no longer a problem.
Preserve the ability to not checkout if the first parameter is
"nocheckout"; might be useful e.g. if you have local mods in
the source trees.
Antti Kantee [Sun, 15 Sep 2013 18:34:03 +0000 (18:34 +0000)]
Install headers before build.
This way running the build multiple times will always use
headers from the same location. Otherwise they would first get
used from the source tree and then from destdir.
Antti Kantee [Sun, 15 Sep 2013 17:43:59 +0000 (17:43 +0000)]
Create objdirs in sys before running includes.
This avoids creating the machine symlinks in the source tree during
includes, which in turn avoids causing problems with checkout later due
to a dirty source tree.
Antti Kantee [Sun, 15 Sep 2013 17:16:24 +0000 (17:16 +0000)]
Put httpd objects in a separate variable.
Since they're not built by this Makefile, they now don't get
blown away by a "make clean" either. (yeayea, this is bubblegum)
Antti Kantee [Sun, 15 Sep 2013 14:02:38 +0000 (14:02 +0000)]
avoid indirection in wiki link
[ci skip]
Antti Kantee [Sun, 15 Sep 2013 14:01:37 +0000 (14:01 +0000)]
point to wiki
[ci skip]
Antti Kantee [Sun, 15 Sep 2013 13:28:18 +0000 (13:28 +0000)]
"buildrump.sh tools" can now be run multiple times