]>
xenbits.xensource.com Git - osstest/rumprun.git/log
Antti Kantee [Tue, 5 Jul 2016 17:00:49 +0000 (17:00 +0000)]
README: link to rumprun unikernel video series wiki page
[ci skip]
Antti Kantee [Fri, 24 Jun 2016 12:53:15 +0000 (12:53 +0000)]
Merge pull request #78 from thedrow/patch-2
Bump Travis workers OS version to Trusty
Omer Katz [Fri, 24 Jun 2016 11:13:57 +0000 (14:13 +0300)]
Upgrade gcc and binutils.
Omer Katz [Fri, 24 Jun 2016 11:02:54 +0000 (14:02 +0300)]
Specify -y for upgrade.
Omer Katz [Fri, 24 Jun 2016 11:02:22 +0000 (14:02 +0300)]
Upgrade buildutils to get rid of old ld warning.
Omer Katz [Fri, 24 Jun 2016 10:40:36 +0000 (13:40 +0300)]
Bump OS version to Trusty.
Antti Kantee [Fri, 24 Jun 2016 10:31:21 +0000 (10:31 +0000)]
Merge pull request #77 from thedrow/patch-1
Enable ccache in Travis
Omer Katz [Fri, 24 Jun 2016 10:10:21 +0000 (13:10 +0300)]
Enable ccache in Travis
Antti Kantee [Tue, 7 Jun 2016 13:11:04 +0000 (13:11 +0000)]
DMA: allocate aligned memory if requested
Antti Kantee [Tue, 17 May 2016 12:44:36 +0000 (12:44 +0000)]
Pull in latest buildrump.sh and src-netbsd
Cosmetic'ish fixes.
Antti Kantee [Tue, 17 May 2016 12:28:59 +0000 (12:28 +0000)]
Switch to new-style pci hypercall defs
Fixes issue #38
Antti Kantee [Tue, 17 May 2016 12:01:07 +0000 (12:01 +0000)]
disable xendev also from component config
issue #73
Antti Kantee [Tue, 17 May 2016 11:24:23 +0000 (11:24 +0000)]
pull in new src-netbsd
updates NetBSD blanket timestamp to May 2016
Antti Kantee [Tue, 17 May 2016 11:24:14 +0000 (11:24 +0000)]
pull in new buildrump.sh
Antti Kantee [Tue, 17 May 2016 11:23:59 +0000 (11:23 +0000)]
disable librumpxen_xendev
issue #73
Antti Kantee [Wed, 11 May 2016 13:51:34 +0000 (13:51 +0000)]
also, don't try to run the cryptotest which is now not built
Antti Kantee [Wed, 11 May 2016 13:38:11 +0000 (13:38 +0000)]
remember to disable the crypto test
Antti Kantee [Wed, 11 May 2016 13:26:31 +0000 (13:26 +0000)]
pull in latest buildrump.sh
removes openssl from stdlibs
Antti Kantee [Wed, 11 May 2016 11:26:57 +0000 (11:26 +0000)]
build-rr: generate a sourceable $PATH-setting config
Useful e.g. if you want to test rumprun-packages where you
cannot easily use $RUMPRUN_CC etc.
Antti Kantee [Mon, 2 May 2016 14:23:25 +0000 (14:23 +0000)]
cc: exit with success if nothing fails
Antti Kantee [Mon, 2 May 2016 14:22:34 +0000 (14:22 +0000)]
cc: make output of -dump{machine,specs} match reality
Antti Kantee [Sat, 5 Mar 2016 15:28:20 +0000 (15:28 +0000)]
Add a minimal /etc/hosts (localhost)
Antti Kantee [Wed, 2 Mar 2016 12:52:13 +0000 (12:52 +0000)]
pull in new src-netbsd (openssl fixes)
Antti Kantee [Wed, 2 Mar 2016 12:52:02 +0000 (12:52 +0000)]
pull in new buildrump.sh
Antti Kantee [Mon, 29 Feb 2016 02:36:16 +0000 (02:36 +0000)]
buildtests: place RRDEST into PATH first
This change ensures that the tools from our build will be
found instead of some others which may exist along PATH.
Antti Kantee [Mon, 29 Feb 2016 02:35:19 +0000 (02:35 +0000)]
Revert "buildtests: adjusting PATH is no longer necessary"
Adjusting PATH is necessary, because otherwise ./configure --host
will fail to find the tools.
This reverts commit
1f721d480fa532bf493cf29a89897a572e70f846 .
Antti Kantee [Mon, 29 Feb 2016 02:13:45 +0000 (02:13 +0000)]
buildtests: adjusting PATH is no longer necessary
Antti Kantee [Mon, 29 Feb 2016 02:12:11 +0000 (02:12 +0000)]
tests: use RUMPRUN_C{C,XX} instead of relying on PATH
IOW, make sure the right compiler is run.
Antti Kantee [Mon, 29 Feb 2016 02:11:49 +0000 (02:11 +0000)]
config: provide RUMPRUN_CXX
Antti Kantee [Fri, 26 Feb 2016 18:35:34 +0000 (18:35 +0000)]
build-rr: don't require "Binutils" in ld version string
Fixes probe on Fedora 21.
via jermar on irc
Antti Kantee [Fri, 26 Feb 2016 18:28:32 +0000 (18:28 +0000)]
build-rr: throw an explicit error if cc/ld version check fails
Antti Kantee [Thu, 25 Feb 2016 15:19:01 +0000 (15:19 +0000)]
Revert amd64 pagetable changes.
We need the vga mapped (easy), but we also need the multiboot
info. Since we don't really know where the bootloader is
going to place it, just not worth the fuss, so keep the whole
low meg mapped in the bootstrap page table.
Antti Kantee [Thu, 25 Feb 2016 14:03:45 +0000 (14:03 +0000)]
amd64 pagetable: regen
Antti Kantee [Thu, 25 Feb 2016 14:03:17 +0000 (14:03 +0000)]
amd64: don't map pages before memstart
Antti Kantee [Fri, 19 Feb 2016 18:36:22 +0000 (18:36 +0000)]
space -> tab indent
no functional change (one would at least hope ...)
Antti Kantee [Fri, 19 Feb 2016 18:18:40 +0000 (18:18 +0000)]
Treat routed and non-routed interrupts separately.
For systems with routed interrupts, we don't know exactly
how they're routed (since we don't parse acpi tables or
mpbios or any of that rubbish). However, for bog-standard
ISA interrupts we do know where they'll appear. So avoid
calling the non-routed interrupt handler in case of a routed
interrupt and vice versa.
Antti Kantee [Wed, 17 Feb 2016 13:02:33 +0000 (13:02 +0000)]
also voidify intr_init()
Antti Kantee [Wed, 17 Feb 2016 13:00:22 +0000 (13:00 +0000)]
p-p-p-p-panic: make bmk_isr_rumpkernel() type void
In other words: just panic if something doesn't work out.
It's ~100% likely that the resulting state would not be what
the user wanted in case we'd return an error.
Antti Kantee [Wed, 17 Feb 2016 12:53:13 +0000 (12:53 +0000)]
Rename bmk_isr_init -> bmk_isr_rumpkernel
The established handler will always call the rump kernel, so
reflect that in the name. Also, give it a flags parameter
(always 0 for now).
Antti Kantee [Wed, 17 Feb 2016 00:26:11 +0000 (00:26 +0000)]
README: sprinkle italics
[ci skip]
Antti Kantee [Tue, 16 Feb 2016 23:02:03 +0000 (23:02 +0000)]
README: also expand on "experimental nature"
Antti Kantee [Tue, 16 Feb 2016 22:59:24 +0000 (22:59 +0000)]
README: provide some more info
Group the bit about rumprun-packages next to language support
examples, and add some quasi-randomly picked examples.
Antti Kantee [Tue, 16 Feb 2016 22:48:40 +0000 (22:48 +0000)]
Install rumprunfs_base files to destdir.
Antti Kantee [Mon, 15 Feb 2016 12:21:10 +0000 (12:21 +0000)]
cookfs: warn if image is >1MB.
Antti Kantee [Mon, 15 Feb 2016 12:08:06 +0000 (12:08 +0000)]
GENFS -> COOKFS (they were hiding in allcaps!)
Antti Kantee [Thu, 11 Feb 2016 21:43:27 +0000 (21:43 +0000)]
Fix installation of xen private components
Antti Kantee [Thu, 11 Feb 2016 21:10:09 +0000 (21:10 +0000)]
no need to export in platform.conf
Antti Kantee [Thu, 11 Feb 2016 21:09:02 +0000 (21:09 +0000)]
etc.ffs is dead, long live cookfs
Antti Kantee [Thu, 11 Feb 2016 20:39:00 +0000 (20:39 +0000)]
g/c "doextras", it no longer does anything
Antti Kantee [Thu, 11 Feb 2016 20:35:00 +0000 (20:35 +0000)]
xen: build rumpxen{dev,if} from Makefile, not build-rr
Makes the platforms consistent.
Antti Kantee [Thu, 11 Feb 2016 20:05:35 +0000 (20:05 +0000)]
xen Makefiles: g/c flags set elsewhere
Antti Kantee [Thu, 11 Feb 2016 20:04:55 +0000 (20:04 +0000)]
Put some common CFLAGS/CPPFLAGS into Makefile.inc
Antti Kantee [Thu, 11 Feb 2016 19:48:03 +0000 (19:48 +0000)]
makefile: g/c leftover variable
Antti Kantee [Thu, 11 Feb 2016 19:43:41 +0000 (19:43 +0000)]
clean clean targets in Makefiles
Antti Kantee [Wed, 10 Feb 2016 13:46:26 +0000 (13:46 +0000)]
Include vioscsi in hw_generic bake conf.
Antti Kantee [Tue, 9 Feb 2016 13:59:05 +0000 (13:59 +0000)]
rumprun-bake: add -m command line parameter
Anything passed with -m gets processed as a config directive
for the config that the command is operating on.
Antti Kantee [Tue, 9 Feb 2016 13:24:37 +0000 (13:24 +0000)]
rumprun-bake: move to a block-based config format
Antti Kantee [Wed, 10 Feb 2016 18:36:54 +0000 (18:36 +0000)]
Travis: group tests according to estimated duration
Attempt to optimize overall throughput that way. The principle
of why ordering thusly helps rests of the solid foundation of
wishful thinking (and observation on how travis usually schedules
the various build jobs).
Antti Kantee [Wed, 10 Feb 2016 18:15:21 +0000 (18:15 +0000)]
Finish genfs -> cookfs rename.
Call the runtime counterpart, which prepares the cooked fs
for consumption, "platefs".
Antti Kantee [Wed, 10 Feb 2016 17:57:37 +0000 (17:57 +0000)]
cookfs: handle files/paths with spaces
Antti Kantee [Wed, 10 Feb 2016 15:43:45 +0000 (15:43 +0000)]
rumprunfs_base: put everything in a "rootfs" directory
Move is done mostly for the purposes of testing that the -s
parameter works.
Antti Kantee [Wed, 10 Feb 2016 15:40:34 +0000 (15:40 +0000)]
rename genfs to cookfs
Antti Kantee [Wed, 10 Feb 2016 15:39:59 +0000 (15:39 +0000)]
genfs: deal with files with quotation marks in the name
Antti Kantee [Wed, 10 Feb 2016 15:38:03 +0000 (15:38 +0000)]
genfs: add -s, strips n leading path components
Antti Kantee [Wed, 10 Feb 2016 13:38:07 +0000 (13:38 +0000)]
rumprun-bake: use libexec/readelf -- it's always available
Saves from having to set $READELF if host readelf is not
called "readelf".
Antti Kantee [Tue, 9 Feb 2016 14:36:26 +0000 (14:36 +0000)]
In case of sysproxy, print listening address.
Antti Kantee [Tue, 9 Feb 2016 14:29:38 +0000 (14:29 +0000)]
genfs: make symbols private
Fixes baking multiple genfs'd objects. (or, actually, any
user-supplied ones since etc comes by default)
Antti Kantee [Mon, 8 Feb 2016 17:16:00 +0000 (17:16 +0000)]
genfs: don't track data objects dynamically
We already know what they'll be and can glob for them.
Antti Kantee [Mon, 8 Feb 2016 14:22:51 +0000 (14:22 +0000)]
genfs: pass data files to gcc via symbolic link
The filenames are interpreted by gcc, both in if gcc should
compile the files (which we don't want it, since they're data)
and also as how to transform the filename to the symbol name.
Using a known-good filename (the symlink) takes care of both issues.
problems were reported by @davedoesdev
Antti Kantee [Mon, 8 Feb 2016 13:51:44 +0000 (13:51 +0000)]
Pull in new buildrump.sh
Fixes things against nbsrc HEAD.
Antti Kantee [Mon, 8 Feb 2016 12:59:12 +0000 (12:59 +0000)]
build-rr: make ld 2.22 the minimum
Fixes Travis builds (hopefully ...)
Antti Kantee [Mon, 8 Feb 2016 12:55:56 +0000 (12:55 +0000)]
build-rr: the stetson-harrison ld version in previous was wrong.
Apparently Travis sports an older version. Print it so that
I can fix the check.
Antti Kantee [Mon, 8 Feb 2016 12:40:57 +0000 (12:40 +0000)]
build-rr: check cc/ld versions
Issue a warning or error for old or prehistoric tools,
respectively.
XXX: not sure how the ld check will work with GNU gold.
We'll see.
Issue reported by a number of users recently, including
in issue #69.
Antti Kantee [Thu, 4 Feb 2016 01:35:11 +0000 (01:35 +0000)]
test that passwd entry for "root" is available
Antti Kantee [Thu, 4 Feb 2016 01:29:57 +0000 (01:29 +0000)]
Include rumprunfs_base in the _foundation set.
Antti Kantee [Thu, 4 Feb 2016 01:28:43 +0000 (01:28 +0000)]
Add a librumprunfs_base component.
It is built by genfs and contains the /etc files required by
most Rumprun unikernels.
Antti Kantee [Thu, 4 Feb 2016 01:21:24 +0000 (01:21 +0000)]
genfs: CFLAGS/CPPFLAGS should reflect BUILDRUMP_TOOLS.
Therefore, they need to hardcoded instead of env-overridable.
Antti Kantee [Thu, 4 Feb 2016 01:09:40 +0000 (01:09 +0000)]
genfs tool: remember to use CFLAGS
Antti Kantee [Thu, 4 Feb 2016 01:09:21 +0000 (01:09 +0000)]
build app-tools earlier
Antti Kantee [Thu, 4 Feb 2016 00:38:08 +0000 (00:38 +0000)]
Create app-tools as executable in objdir.
That way they can be judiciously executed from there during
a build.
Antti Kantee [Wed, 3 Feb 2016 23:57:52 +0000 (23:57 +0000)]
Add genfs.
genfs is a tool for turning directory hierarchies into an
object file. When the object file in question is baked into
a Rumprun unikernel image, the files from the hierarchies are
(magically) available in the booted unikernel.
Antti Kantee [Wed, 3 Feb 2016 23:48:24 +0000 (23:48 +0000)]
Add rumprun_genfs()
It attaches rumpfs external storage to the given pathnames with
the given memory area.
Antti Kantee [Tue, 2 Feb 2016 14:08:39 +0000 (14:08 +0000)]
Re-pull src-netbsd.
Fixes snafu in previous, one which wasn't yet apparent but
would have been apparent soon.
Antti Kantee [Tue, 2 Feb 2016 13:08:46 +0000 (13:08 +0000)]
update src-netbsd, also contains new openssl
Antti Kantee [Thu, 28 Jan 2016 13:32:44 +0000 (13:32 +0000)]
Also add $RUMPRUN_CC to config.
A build-specific cc is needed because cc includes the lib path
in the binary for baking. After this change it's possible to use
config variables alone to build at least a simple unikernel for
testing (i.e. setting PATH to match the build dest is not required).
XXX: value is hardcoded to gcc, but that's not a practical problem as
long as support only gcc.
Antti Kantee [Wed, 27 Jan 2016 21:35:18 +0000 (21:35 +0000)]
Add RUMPSTOP to config too, so that tests find it.
Antti Kantee [Wed, 27 Jan 2016 16:38:27 +0000 (16:38 +0000)]
Include git branch in default obj/destdir names.
If we're not in a git repo, on master, or detached => nothing.
Antti Kantee [Wed, 27 Jan 2016 15:36:08 +0000 (15:36 +0000)]
Try to fix travis
Not sure if the travis "shell" supports ".", so might have
make a script to source the config. We'll see.
Antti Kantee [Wed, 27 Jan 2016 15:16:01 +0000 (15:16 +0000)]
Use $RUMPRUN/$RUMPRUN_BAKE in tests
Antti Kantee [Wed, 27 Jan 2016 15:09:53 +0000 (15:09 +0000)]
Add RUMPRUN_BAKE and RUMPRUN to config.
That way you don't have to twiddle with paths if you want to
build to an alternate tree while doing development.
(config is only for developers anyway)
Antti Kantee [Tue, 26 Jan 2016 20:51:47 +0000 (20:51 +0000)]
Run the xen probe in a subshell.
Might fix Travis build failure. Who knows. Hard to say for
sure about the problems which I can't repeat locally.
Antti Kantee [Tue, 26 Jan 2016 18:25:08 +0000 (18:25 +0000)]
Probe location of Xen headers.
Throw an intelligent error if they're not found.
XXX: would be nice to have a mechanism for providing a manual
override, but that sort of parameter passing needs a general
solution.
related to #67 (which can now be closed)
Antti Kantee [Mon, 25 Jan 2016 00:13:48 +0000 (00:13 +0000)]
Recent NetBSD needs _KERNTYPES to expose register_t.
Antti Kantee [Sun, 24 Jan 2016 23:32:41 +0000 (23:32 +0000)]
update buildrump.sh for NetBSD 7.99.26 support
Antti Kantee [Mon, 18 Jan 2016 16:59:05 +0000 (16:59 +0000)]
update src-netbsd
ext2fs kernel panic fix
Antti Kantee [Wed, 13 Jan 2016 23:22:14 +0000 (23:22 +0000)]
Merge pull request #66 from deferpanic/master
adding raw as qemu image format explicitly
ian eyberg [Wed, 13 Jan 2016 14:21:59 +0000 (06:21 -0800)]
adding authors
ian eyberg [Wed, 13 Jan 2016 12:49:17 +0000 (04:49 -0800)]
adding raw
Antti Kantee [Tue, 12 Jan 2016 17:37:30 +0000 (17:37 +0000)]
remember to add rumpkern_mman to the config too
Antti Kantee [Tue, 12 Jan 2016 16:54:36 +0000 (16:54 +0000)]
Move mmap emulation into the kernel.
That way systems which want to use kernel-only mode can
use the mmap emulation.
part of deferpanic/gorump#18