]> xenbits.xensource.com Git - osstest/rumprun.git/log
osstest/rumprun.git
8 years agoREADME: link to rumprun unikernel video series wiki page
Antti Kantee [Tue, 5 Jul 2016 17:00:49 +0000 (17:00 +0000)]
README: link to rumprun unikernel video series wiki page

[ci skip]

8 years agoMerge pull request #78 from thedrow/patch-2
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

8 years agoUpgrade gcc and binutils.
Omer Katz [Fri, 24 Jun 2016 11:13:57 +0000 (14:13 +0300)]
Upgrade gcc and binutils.

8 years agoSpecify -y for upgrade.
Omer Katz [Fri, 24 Jun 2016 11:02:54 +0000 (14:02 +0300)]
Specify -y for upgrade.

8 years agoUpgrade buildutils to get rid of old ld warning.
Omer Katz [Fri, 24 Jun 2016 11:02:22 +0000 (14:02 +0300)]
Upgrade buildutils to get rid of old ld warning.

8 years agoBump OS version to Trusty.
Omer Katz [Fri, 24 Jun 2016 10:40:36 +0000 (13:40 +0300)]
Bump OS version to Trusty.

8 years agoMerge pull request #77 from thedrow/patch-1
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

8 years agoEnable ccache in Travis
Omer Katz [Fri, 24 Jun 2016 10:10:21 +0000 (13:10 +0300)]
Enable ccache in Travis

8 years agoDMA: allocate aligned memory if requested
Antti Kantee [Tue, 7 Jun 2016 13:11:04 +0000 (13:11 +0000)]
DMA: allocate aligned memory if requested

8 years agoPull in latest buildrump.sh and src-netbsd
Antti Kantee [Tue, 17 May 2016 12:44:36 +0000 (12:44 +0000)]
Pull in latest buildrump.sh and src-netbsd

Cosmetic'ish fixes.

8 years agoSwitch to new-style pci hypercall defs
Antti Kantee [Tue, 17 May 2016 12:28:59 +0000 (12:28 +0000)]
Switch to new-style pci hypercall defs

Fixes issue #38

8 years agodisable xendev also from component config
Antti Kantee [Tue, 17 May 2016 12:01:07 +0000 (12:01 +0000)]
disable xendev also from component config

issue #73

8 years agopull in new src-netbsd
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

8 years agopull in new buildrump.sh
Antti Kantee [Tue, 17 May 2016 11:24:14 +0000 (11:24 +0000)]
pull in new buildrump.sh

8 years agodisable librumpxen_xendev
Antti Kantee [Tue, 17 May 2016 11:23:59 +0000 (11:23 +0000)]
disable librumpxen_xendev

issue #73

8 years agoalso, don't try to run the cryptotest which is now not built
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

8 years agoremember to disable the crypto test
Antti Kantee [Wed, 11 May 2016 13:38:11 +0000 (13:38 +0000)]
remember to disable the crypto test

8 years agopull in latest buildrump.sh
Antti Kantee [Wed, 11 May 2016 13:26:31 +0000 (13:26 +0000)]
pull in latest buildrump.sh

removes openssl from stdlibs

8 years agobuild-rr: generate a sourceable $PATH-setting config
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.

9 years agocc: exit with success if nothing fails
Antti Kantee [Mon, 2 May 2016 14:23:25 +0000 (14:23 +0000)]
cc: exit with success if nothing fails

9 years agocc: make output of -dump{machine,specs} match reality
Antti Kantee [Mon, 2 May 2016 14:22:34 +0000 (14:22 +0000)]
cc: make output of -dump{machine,specs} match reality

9 years agoAdd a minimal /etc/hosts (localhost)
Antti Kantee [Sat, 5 Mar 2016 15:28:20 +0000 (15:28 +0000)]
Add a minimal /etc/hosts (localhost)

9 years agopull in new src-netbsd (openssl fixes)
Antti Kantee [Wed, 2 Mar 2016 12:52:13 +0000 (12:52 +0000)]
pull in new src-netbsd (openssl fixes)

9 years agopull in new buildrump.sh
Antti Kantee [Wed, 2 Mar 2016 12:52:02 +0000 (12:52 +0000)]
pull in new buildrump.sh

9 years agobuildtests: place RRDEST into PATH first
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.

9 years agoRevert "buildtests: adjusting PATH is no longer necessary"
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.

9 years agobuildtests: adjusting PATH is no longer necessary
Antti Kantee [Mon, 29 Feb 2016 02:13:45 +0000 (02:13 +0000)]
buildtests: adjusting PATH is no longer necessary

9 years agotests: use RUMPRUN_C{C,XX} instead of relying on PATH
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.

9 years agoconfig: provide RUMPRUN_CXX
Antti Kantee [Mon, 29 Feb 2016 02:11:49 +0000 (02:11 +0000)]
config: provide RUMPRUN_CXX

9 years agobuild-rr: don't require "Binutils" in ld version string
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

9 years agobuild-rr: throw an explicit error if cc/ld version check fails
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

9 years agoRevert amd64 pagetable changes.
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.

9 years agoamd64 pagetable: regen
Antti Kantee [Thu, 25 Feb 2016 14:03:45 +0000 (14:03 +0000)]
amd64 pagetable: regen

9 years agoamd64: don't map pages before memstart
Antti Kantee [Thu, 25 Feb 2016 14:03:17 +0000 (14:03 +0000)]
amd64: don't map pages before memstart

9 years agospace -> tab indent
Antti Kantee [Fri, 19 Feb 2016 18:36:22 +0000 (18:36 +0000)]
space -> tab indent

no functional change (one would at least hope ...)

9 years agoTreat routed and non-routed interrupts separately.
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.

9 years agoalso voidify intr_init()
Antti Kantee [Wed, 17 Feb 2016 13:02:33 +0000 (13:02 +0000)]
also voidify intr_init()

9 years agop-p-p-p-panic: make bmk_isr_rumpkernel() type void
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.

9 years agoRename bmk_isr_init -> bmk_isr_rumpkernel
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).

9 years agoREADME: sprinkle italics
Antti Kantee [Wed, 17 Feb 2016 00:26:11 +0000 (00:26 +0000)]
README: sprinkle italics

[ci skip]

9 years agoREADME: also expand on "experimental nature"
Antti Kantee [Tue, 16 Feb 2016 23:02:03 +0000 (23:02 +0000)]
README: also expand on "experimental nature"

9 years agoREADME: provide some more info
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.

9 years agoInstall rumprunfs_base files to destdir.
Antti Kantee [Tue, 16 Feb 2016 22:48:40 +0000 (22:48 +0000)]
Install rumprunfs_base files to destdir.

9 years agocookfs: warn if image is >1MB.
Antti Kantee [Mon, 15 Feb 2016 12:21:10 +0000 (12:21 +0000)]
cookfs: warn if image is >1MB.

9 years agoGENFS -> COOKFS (they were hiding in allcaps!)
Antti Kantee [Mon, 15 Feb 2016 12:08:06 +0000 (12:08 +0000)]
GENFS -> COOKFS (they were hiding in allcaps!)

9 years agoFix installation of xen private components
Antti Kantee [Thu, 11 Feb 2016 21:43:27 +0000 (21:43 +0000)]
Fix installation of xen private components

9 years agono need to export in platform.conf
Antti Kantee [Thu, 11 Feb 2016 21:10:09 +0000 (21:10 +0000)]
no need to export in platform.conf

9 years agoetc.ffs is dead, long live cookfs
Antti Kantee [Thu, 11 Feb 2016 21:09:02 +0000 (21:09 +0000)]
etc.ffs is dead, long live cookfs

9 years agog/c "doextras", it no longer does anything
Antti Kantee [Thu, 11 Feb 2016 20:39:00 +0000 (20:39 +0000)]
g/c "doextras", it no longer does anything

9 years agoxen: build rumpxen{dev,if} from Makefile, not build-rr
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.

9 years agoxen Makefiles: g/c flags set elsewhere
Antti Kantee [Thu, 11 Feb 2016 20:05:35 +0000 (20:05 +0000)]
xen Makefiles: g/c flags set elsewhere

9 years agoPut some common CFLAGS/CPPFLAGS into Makefile.inc
Antti Kantee [Thu, 11 Feb 2016 20:04:55 +0000 (20:04 +0000)]
Put some common CFLAGS/CPPFLAGS into Makefile.inc

9 years agomakefile: g/c leftover variable
Antti Kantee [Thu, 11 Feb 2016 19:48:03 +0000 (19:48 +0000)]
makefile: g/c leftover variable

9 years agoclean clean targets in Makefiles
Antti Kantee [Thu, 11 Feb 2016 19:43:41 +0000 (19:43 +0000)]
clean clean targets in Makefiles

9 years agoInclude vioscsi in hw_generic bake conf.
Antti Kantee [Wed, 10 Feb 2016 13:46:26 +0000 (13:46 +0000)]
Include vioscsi in hw_generic bake conf.

9 years agorumprun-bake: add -m command line parameter
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.

9 years agorumprun-bake: move to a block-based config format
Antti Kantee [Tue, 9 Feb 2016 13:24:37 +0000 (13:24 +0000)]
rumprun-bake: move to a block-based config format

9 years agoTravis: group tests according to estimated duration
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).

9 years agoFinish genfs -> cookfs rename.
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".

9 years agocookfs: handle files/paths with spaces
Antti Kantee [Wed, 10 Feb 2016 17:57:37 +0000 (17:57 +0000)]
cookfs: handle files/paths with spaces

9 years agorumprunfs_base: put everything in a "rootfs" directory
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.

9 years agorename genfs to cookfs
Antti Kantee [Wed, 10 Feb 2016 15:40:34 +0000 (15:40 +0000)]
rename genfs to cookfs

9 years agogenfs: deal with files with quotation marks in the name
Antti Kantee [Wed, 10 Feb 2016 15:39:59 +0000 (15:39 +0000)]
genfs: deal with files with quotation marks in the name

9 years agogenfs: add -s, strips n leading path components
Antti Kantee [Wed, 10 Feb 2016 15:38:03 +0000 (15:38 +0000)]
genfs: add -s, strips n leading path components

9 years agorumprun-bake: use libexec/readelf -- it's always available
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".

9 years agoIn case of sysproxy, print listening address.
Antti Kantee [Tue, 9 Feb 2016 14:36:26 +0000 (14:36 +0000)]
In case of sysproxy, print listening address.

9 years agogenfs: make symbols private
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)

9 years agogenfs: don't track data objects dynamically
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.

9 years agogenfs: pass data files to gcc via symbolic link
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

9 years agoPull in new buildrump.sh
Antti Kantee [Mon, 8 Feb 2016 13:51:44 +0000 (13:51 +0000)]
Pull in new buildrump.sh

Fixes things against nbsrc HEAD.

9 years agobuild-rr: make ld 2.22 the minimum
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 ...)

9 years agobuild-rr: the stetson-harrison ld version in previous was wrong.
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.

9 years agobuild-rr: check cc/ld versions
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.

9 years agotest that passwd entry for "root" is available
Antti Kantee [Thu, 4 Feb 2016 01:35:11 +0000 (01:35 +0000)]
test that passwd entry for "root" is available

9 years agoInclude rumprunfs_base in the _foundation set.
Antti Kantee [Thu, 4 Feb 2016 01:29:57 +0000 (01:29 +0000)]
Include rumprunfs_base in the _foundation set.

9 years agoAdd a librumprunfs_base component.
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.

9 years agogenfs: CFLAGS/CPPFLAGS should reflect BUILDRUMP_TOOLS.
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.

9 years agogenfs tool: remember to use CFLAGS
Antti Kantee [Thu, 4 Feb 2016 01:09:40 +0000 (01:09 +0000)]
genfs tool: remember to use CFLAGS

9 years agobuild app-tools earlier
Antti Kantee [Thu, 4 Feb 2016 01:09:21 +0000 (01:09 +0000)]
build app-tools earlier

9 years agoCreate app-tools as executable in objdir.
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.

9 years agoAdd genfs.
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.

9 years agoAdd rumprun_genfs()
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.

9 years agoRe-pull src-netbsd.
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.

9 years agoupdate src-netbsd, also contains new openssl
Antti Kantee [Tue, 2 Feb 2016 13:08:46 +0000 (13:08 +0000)]
update src-netbsd, also contains new openssl

9 years agoAlso add $RUMPRUN_CC to config.
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.

9 years agoAdd RUMPSTOP to config too, so that tests find it.
Antti Kantee [Wed, 27 Jan 2016 21:35:18 +0000 (21:35 +0000)]
Add RUMPSTOP to config too, so that tests find it.

9 years agoInclude git branch in default obj/destdir names.
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.

9 years agoTry to fix travis
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.

9 years agoUse $RUMPRUN/$RUMPRUN_BAKE in tests
Antti Kantee [Wed, 27 Jan 2016 15:16:01 +0000 (15:16 +0000)]
Use $RUMPRUN/$RUMPRUN_BAKE in tests

9 years agoAdd RUMPRUN_BAKE and RUMPRUN to config.
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)

9 years agoRun the xen probe in a subshell.
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.

9 years agoProbe location of Xen headers.
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)

9 years agoRecent NetBSD needs _KERNTYPES to expose register_t.
Antti Kantee [Mon, 25 Jan 2016 00:13:48 +0000 (00:13 +0000)]
Recent NetBSD needs _KERNTYPES to expose register_t.

9 years agoupdate buildrump.sh for NetBSD 7.99.26 support
Antti Kantee [Sun, 24 Jan 2016 23:32:41 +0000 (23:32 +0000)]
update buildrump.sh for NetBSD 7.99.26 support

9 years agoupdate src-netbsd
Antti Kantee [Mon, 18 Jan 2016 16:59:05 +0000 (16:59 +0000)]
update src-netbsd

ext2fs kernel panic fix

9 years agoMerge pull request #66 from deferpanic/master
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

9 years agoadding authors
ian eyberg [Wed, 13 Jan 2016 14:21:59 +0000 (06:21 -0800)]
adding authors

9 years agoadding raw
ian eyberg [Wed, 13 Jan 2016 12:49:17 +0000 (04:49 -0800)]
adding raw

9 years agoremember to add rumpkern_mman to the config too
Antti Kantee [Tue, 12 Jan 2016 17:37:30 +0000 (17:37 +0000)]
remember to add rumpkern_mman to the config too

9 years agoMove mmap emulation into the kernel.
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