]>
xenbits.xensource.com Git - osstest/rumprun.git/log
Martin Lucina [Mon, 30 Nov 2015 13:33:58 +0000 (14:33 +0100)]
hw/x86: Load configuration from multiboot module if found
Antti Kantee [Sun, 29 Nov 2015 18:55:00 +0000 (18:55 +0000)]
rumpbake_main<n> -> rumprun_main<n>
Avoids the problematic term "rumpbake", and the
function name is more a property of rumprun anyway.
Antti Kantee [Wed, 25 Nov 2015 22:02:59 +0000 (22:02 +0000)]
Restore old argv behaviour which was lost with rc_TESTING.
The first argv deriving from cmdline will be used for all
remaining executables. Sucky semantics, but while we're in
limbo, we're in limbo, and not much sense can be made here.
Wei Liu [Mon, 23 Nov 2015 13:05:08 +0000 (13:05 +0000)]
minios: don't rely on specific page table allocation scheme
Today mini-os is making assumptions how the page tables it is started
with are being allocated. Especially it is using the number of page
table frames to calculate which is the first unmapped pfn.
Instead of relying on page table number assumptions just look into the
page tables to find the first pfn not already mapped.
Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
master commit:
8d84345a20d8a46ea26379c9f19961f6aa3e6e83
master date: Fri Nov 20 19:32:42 2015 +0100
[ wei: port to rumprun ]
Signed-off-by: Wei Liu <liuw@liuw.name>
Antti Kantee [Tue, 17 Nov 2015 11:44:53 +0000 (11:44 +0000)]
rumprun: fix grub-mkrescue argument order
Now matches man page. Fixes issue #62.
Antti Kantee [Tue, 17 Nov 2015 11:40:33 +0000 (11:40 +0000)]
pgalloc_align: make page size min alignment
Fix callers and tighten assert.
Antti Kantee [Tue, 17 Nov 2015 01:44:54 +0000 (01:44 +0000)]
add more kludges to deal with test build mess
Antti Kantee [Tue, 17 Nov 2015 01:20:38 +0000 (01:20 +0000)]
Update src-netbsd and buildrump.sh.
Fixes snafu in previous update of these submodules.
Antti Kantee [Tue, 17 Nov 2015 00:47:45 +0000 (00:47 +0000)]
buildtests.sh: don't set variables which are already set
Antti Kantee [Tue, 17 Nov 2015 00:47:13 +0000 (00:47 +0000)]
pull in latest src-netbsd and buildrump.sh
Antti Kantee [Mon, 16 Nov 2015 16:36:34 +0000 (16:36 +0000)]
Fix test build by making sure CC/CXX doesn't get overriden.
XXX: maybe the vars for the backend buildrump.sh tools in
config (e.g. CC) should have smarter names.
Antti Kantee [Mon, 16 Nov 2015 15:13:21 +0000 (15:13 +0000)]
rumprun-bake: make -c conf-without-path work
Antti Kantee [Mon, 16 Nov 2015 13:08:18 +0000 (13:08 +0000)]
rumprun-bake usage: all commands optionally take -c conffile
Antti Kantee [Mon, 16 Nov 2015 12:18:15 +0000 (12:18 +0000)]
tests: include $RUMPRUN_MKCONF
"make clean" will now nuke hellopp.bin, where pertinent
Antti Kantee [Sun, 15 Nov 2015 14:21:10 +0000 (14:21 +0000)]
rumprun-bake: check that "describe" is invoked with proper args
Antti Kantee [Sun, 15 Nov 2015 14:07:54 +0000 (14:07 +0000)]
rumprun-bake: dumpconfig -> describe
New name seems, subjectively speaking, more professional.
Antti Kantee [Sun, 15 Nov 2015 14:07:15 +0000 (14:07 +0000)]
rumprun-bake: improve usage
* add dumpconfig
* print synopsis and descriptions in the same order
Antti Kantee [Sun, 15 Nov 2015 13:56:55 +0000 (13:56 +0000)]
rumprun-bake: give user a better chance to see compat warning
Antti Kantee [Sat, 14 Nov 2015 20:27:07 +0000 (20:27 +0000)]
rumprun-bake: _uniq only just-in-time
It's not *that* difficult, and it's way faster.
Antti Kantee [Sat, 14 Nov 2015 19:22:33 +0000 (19:22 +0000)]
rumprun-bake: fix _uniq param to make previous commit actually work
The numbers from the previous commit are less impressive now.
But we're still ahead of the 100ms human-lag-detection zone.
Antti Kantee [Sat, 14 Nov 2015 18:36:17 +0000 (18:36 +0000)]
rumprun-bake: _uniq each config only in its final state
Hugely speeds up config processing: makes "rumprun-bake list" go
from 150ms to 40ms on my machine and, most importantly, removes
human-observable sluggishness.
Antti Kantee [Sat, 14 Nov 2015 17:52:52 +0000 (17:52 +0000)]
rumprun-bake: add "dumpconfig" to command line syntax
Antti Kantee [Sat, 14 Nov 2015 13:32:08 +0000 (13:32 +0000)]
Assign ${.PARSEDIR} directly instead of cd + pwd.
Fixes issue #60
Antti Kantee [Sat, 14 Nov 2015 13:31:42 +0000 (13:31 +0000)]
build-rr: abspath PLATFORMDIR
Antti Kantee [Fri, 13 Nov 2015 14:44:08 +0000 (14:44 +0000)]
rumprun-bake: fix grammar in usage and reword slightly
Antti Kantee [Fri, 13 Nov 2015 14:28:01 +0000 (14:28 +0000)]
build-rr: catch errors from buildrump.sh probe
Antti Kantee [Fri, 13 Nov 2015 13:58:07 +0000 (13:58 +0000)]
build-rr: run setvars also for install
Makes "./build-rr hw install" work. Without this fix the
default object directory would not get set.
Antti Kantee [Fri, 13 Nov 2015 12:41:03 +0000 (12:41 +0000)]
build-rr: add -d to synopsis
Antti Kantee [Wed, 11 Nov 2015 15:28:08 +0000 (15:28 +0000)]
rumprun launcher: fail if -D is used with iso
Antti Kantee [Thu, 5 Nov 2015 23:13:00 +0000 (23:13 +0000)]
app-tools cc: fail for -print-multiarch
Some packages (e.g. python) will do the wrong thing if the
compiler pretends to support multiarch.
with thanks to @rday
Antti Kantee [Thu, 5 Nov 2015 23:11:06 +0000 (23:11 +0000)]
app-tools cc: use basename $0 for error, not whole $0
Antti Kantee [Thu, 5 Nov 2015 21:34:49 +0000 (21:34 +0000)]
build-rr: write "config" which includes both mk/sh configs
Antti Kantee [Thu, 5 Nov 2015 16:59:02 +0000 (16:59 +0000)]
Run "make includes" so that unwind.h gets installed again.
Fixes rumprun-packages/38
Antti Kantee [Thu, 5 Nov 2015 16:33:16 +0000 (16:33 +0000)]
x86: ack insr interrupts on PIC.
Partial fix for #59 in the sense that the guest no longer
stops responding.
Still no idea why repeating the problem is only possible on
amd64 with serial console, so further exploration is necessary.
per tip from @mato
Antti Kantee [Wed, 4 Nov 2015 23:11:10 +0000 (23:11 +0000)]
g/c leftover local prototypes
no functional change
Antti Kantee [Wed, 4 Nov 2015 15:49:12 +0000 (15:49 +0000)]
build-rr: update usage
Antti Kantee [Wed, 4 Nov 2015 13:50:02 +0000 (13:50 +0000)]
rumprun: fix -W t,inet,dhcp under set -u
Antti Kantee [Wed, 4 Nov 2015 13:49:13 +0000 (13:49 +0000)]
rumprun: adjust copypasteware in error messages
Antti Kantee [Wed, 4 Nov 2015 13:35:31 +0000 (13:35 +0000)]
rumprun launcher: set -eu
Tried to go through a bunch of different scenarios, but some
fallout is possible, of course.
Antti Kantee [Wed, 4 Nov 2015 12:48:51 +0000 (12:48 +0000)]
prune unnecessary header
Antti Kantee [Wed, 4 Nov 2015 10:55:27 +0000 (10:55 +0000)]
Merge pull request #58 from gaffo/patch-1
Correct error output, $image_path is blank / not a real variable
Martin Lucina [Wed, 4 Nov 2015 10:33:03 +0000 (11:33 +0100)]
toolchain.cmake.in: Fix CMAKE_FIND_ROOT_PATH
Mike Gaffney [Wed, 4 Nov 2015 08:07:27 +0000 (00:07 -0800)]
Correct error output, $image_path is blank / not a real variable
When running, error doesn't say what it's missing, it is actually empty string in this case due to the wrong variable name being used.
Antti Kantee [Wed, 4 Nov 2015 02:06:08 +0000 (02:06 +0000)]
memalloc: nicer alloc stats print
Antti Kantee [Wed, 4 Nov 2015 01:58:14 +0000 (01:58 +0000)]
memalloc: ctassert malloc header size
Antti Kantee [Wed, 4 Nov 2015 01:52:25 +0000 (01:52 +0000)]
reduce malloc header overhead from 16 bytes to 8 bytes.
As a side effect, alignment is limited to 2GB, but I think
that's enough, given that you'd have to have a guest with >4GB
memory for larger alignments to be possible.
Antti Kantee [Wed, 4 Nov 2015 00:08:15 +0000 (00:08 +0000)]
memalloc: use __builtin_clzl() instead of for loop.
Antti Kantee [Tue, 3 Nov 2015 23:29:57 +0000 (23:29 +0000)]
memalloc: NBUCKETS -> LOCALBUCKETS
(other buckets elsewhere)
Antti Kantee [Tue, 3 Nov 2015 23:26:00 +0000 (23:26 +0000)]
memalloc: a bunch of improvements
* go directly to page allocator for large allocations
* make the test hit both small and large allocs
* code simplifications
Antti Kantee [Tue, 3 Nov 2015 21:44:51 +0000 (21:44 +0000)]
memalloc: avoid list ping-pong when allocating from core
Antti Kantee [Tue, 3 Nov 2015 21:28:09 +0000 (21:28 +0000)]
memalloc: use structs, not an union for alloc blocks
Antti Kantee [Tue, 3 Nov 2015 20:11:27 +0000 (20:11 +0000)]
pgalloc: fix comment
no fuctional change
Antti Kantee [Tue, 3 Nov 2015 19:48:33 +0000 (19:48 +0000)]
carveandlink_freechunk -> freechunk_link
more descriptional name
no functional change
Antti Kantee [Tue, 3 Nov 2015 19:42:17 +0000 (19:42 +0000)]
rumpuser_mem: use page allocator for large allocations
Antti Kantee [Tue, 3 Nov 2015 18:17:08 +0000 (18:17 +0000)]
pgalloc: use builtin_ctz/clz instead of for loops.
Antti Kantee [Tue, 3 Nov 2015 17:11:47 +0000 (17:11 +0000)]
Add bmk_pgalloc_align()
Can be used to allocate chunks with alignment > size.
Antti Kantee [Mon, 2 Nov 2015 23:52:22 +0000 (23:52 +0000)]
memalloc: g/c RCHECK never-conditionally-compiled checks
Antti Kantee [Mon, 2 Nov 2015 23:51:18 +0000 (23:51 +0000)]
use constant width types
Antti Kantee [Mon, 2 Nov 2015 23:07:58 +0000 (23:07 +0000)]
memalloc: remove unnecessary pagesize variable
Antti Kantee [Mon, 2 Nov 2015 22:52:44 +0000 (22:52 +0000)]
some comment massage
Antti Kantee [Mon, 2 Nov 2015 22:25:03 +0000 (22:25 +0000)]
make the memalloc tester run on top of bmk
Antti Kantee [Mon, 2 Nov 2015 14:44:49 +0000 (14:44 +0000)]
get install-time vars from objdir
Antti Kantee [Mon, 2 Nov 2015 13:27:37 +0000 (13:27 +0000)]
Make it clear that die produces an ERROR.
Antti Kantee [Mon, 2 Nov 2015 13:26:41 +0000 (13:26 +0000)]
Throw nice error if user tries to install non-existent build
Antti Kantee [Mon, 2 Nov 2015 13:06:30 +0000 (13:06 +0000)]
Build malloc stats by default.
Antti Kantee [Sun, 1 Nov 2015 23:46:18 +0000 (23:46 +0000)]
add hw_virtio_scsi configuration
Antti Kantee [Sun, 1 Nov 2015 23:45:12 +0000 (23:45 +0000)]
update buildrump.sh and src-netbsd
Antti Kantee [Sun, 1 Nov 2015 22:11:47 +0000 (22:11 +0000)]
g/c old way of specifying PCI support on platform/board
Antti Kantee [Sat, 31 Oct 2015 12:23:21 +0000 (12:23 +0000)]
Disable "stray interrupt" print
Doesn't convey anything useful in its current state.
Antti Kantee [Sat, 31 Oct 2015 12:19:26 +0000 (12:19 +0000)]
When building with -s, default destdir to rumprun-extsrc.
Mirrors what object dirs do.
Antti Kantee [Fri, 30 Oct 2015 20:49:02 +0000 (20:49 +0000)]
Merge pull request #57 from mattgray/master
rumprun launcher: trim od output to support OS X
Matt Gray [Fri, 30 Oct 2015 19:23:48 +0000 (19:23 +0000)]
AUTHORS updated
Matt Gray [Fri, 30 Oct 2015 20:00:53 +0000 (20:00 +0000)]
rumprun launcher: OS X support: use printf to fix output of od
Antti Kantee [Fri, 30 Oct 2015 01:43:19 +0000 (01:43 +0000)]
checkprevbuilds is now necessary only for xen
Antti Kantee [Fri, 30 Oct 2015 01:40:43 +0000 (01:40 +0000)]
platform/hw: create header links into objdir
hw platform now builds completely into objdir, meaning multiple
parallel builds with different options are possible from one
working directory.
Antti Kantee [Thu, 29 Oct 2015 19:46:37 +0000 (19:46 +0000)]
oops, revert buildrump.sh revision pointing to local repo
Antti Kantee [Thu, 29 Oct 2015 18:20:36 +0000 (18:20 +0000)]
rumprun launcher: remove use or readlink(1)
As reported by @mattgray on irc, the one available on OS X is
incompatible, and since resolving the canonical path doesn't
seem to be absolutely necessary, let's simply opt to not do it
at all.
Antti Kantee [Thu, 29 Oct 2015 16:40:04 +0000 (16:40 +0000)]
build-rr: set -eu
Both were previously set, but now they're set in the same place.
No functional change intended.
Antti Kantee [Thu, 29 Oct 2015 01:24:34 +0000 (01:24 +0000)]
Some archs: fix SRCS/ASMS to be those instead of .o
Antti Kantee [Thu, 29 Oct 2015 01:15:14 +0000 (01:15 +0000)]
Build hw platform into $RROBJ.
Antti Kantee [Wed, 28 Oct 2015 22:05:01 +0000 (22:05 +0000)]
set --sysroot for compiler wrapper
Makes cc -print-sysroot work. That said, why do we still
need -isystem and -L in our specs? (yes, I tried without them,
lossage generated)
Antti Kantee [Wed, 28 Oct 2015 18:27:26 +0000 (18:27 +0000)]
makepseudolinkstubs: Use ${NM}, not nm
Antti Kantee [Wed, 28 Oct 2015 17:46:46 +0000 (17:46 +0000)]
Fix include path for non-BUILDRR case.
Antti Kantee [Wed, 28 Oct 2015 17:35:26 +0000 (17:35 +0000)]
update buildrump.sh
Antti Kantee [Wed, 28 Oct 2015 17:25:39 +0000 (17:25 +0000)]
Check if qemu supports -no-kvm
Some really old qemus might not.
Antti Kantee [Wed, 28 Oct 2015 13:10:34 +0000 (13:10 +0000)]
fix error branch pastos in previous
Antti Kantee [Wed, 28 Oct 2015 13:07:42 +0000 (13:07 +0000)]
Use ${READELF:=readelf} instead of hardcoding objdump.
Use of readelf also mirrors rumprun-bake, so you need only
one binary dumping tool now (useful in env where the GNU'ish
toolchain isn't standard).
Antti Kantee [Wed, 28 Oct 2015 12:48:12 +0000 (12:48 +0000)]
xen ldscripts: include .text.* in text (like on hw)
Might fix problems reported here:
https://www.freelists.org/post/rumpkernel-users/Issues-linking-executable-for-Rumprun-with-additional-library,4
Antti Kantee [Wed, 28 Oct 2015 12:13:09 +0000 (12:13 +0000)]
Use destdir/rumprun-$MACHINE_GNU_ARCH$ as a GNU-like prefix.
Antti Kantee [Wed, 28 Oct 2015 01:35:55 +0000 (01:35 +0000)]
Put rumptools into the object directory.
Antti Kantee [Wed, 28 Oct 2015 01:34:32 +0000 (01:34 +0000)]
Update buildrump.sh and use new "probe" method.
The new probe method doesn't require any directories
to be created.
Antti Kantee [Tue, 27 Oct 2015 23:41:38 +0000 (23:41 +0000)]
Use MACHINE_GNU_ARCH, not MACHINE_ARCH
That matches the terms (and make variables!) with the NetBSD
Makefiles and avoids mismatch lossage.
Antti Kantee [Tue, 27 Oct 2015 23:02:21 +0000 (23:02 +0000)]
platform/hw: need to use i386 as MACHINE_ARCH here
Antti Kantee [Tue, 27 Oct 2015 22:45:45 +0000 (22:45 +0000)]
build-rr: don't override correct MACHINE_ARCH.
The lossage stems from the fact that NetBSD uses i386 as
MACHINE, i386 as MACHINE_ARCH, and i486 as MACHINE_GNU_ARCH.
We want to follow the MACHINE_GNU_ARCH since it actually makes sense.
Antti Kantee [Tue, 27 Oct 2015 22:23:46 +0000 (22:23 +0000)]
Ok, maybe the platform Makefiles aren't ready for -j
Antti Kantee [Tue, 27 Oct 2015 22:08:50 +0000 (22:08 +0000)]
build-rr: run platform make with -j
Antti Kantee [Tue, 27 Oct 2015 22:05:08 +0000 (22:05 +0000)]
Install specs to lib instead of share root.
specs are now split into arch and machine specs.
Antti Kantee [Tue, 27 Oct 2015 21:21:23 +0000 (21:21 +0000)]
build-rr: simplify MACHINE_ARCH handling.
Antti Kantee [Tue, 27 Oct 2015 18:37:57 +0000 (18:37 +0000)]
Install brprintmetainfo, it's used by cc
Fixes all kinds of problems in not detecting compile failures.
Problem reported by meena on irc.
Wei Liu [Tue, 27 Oct 2015 17:54:19 +0000 (17:54 +0000)]
xenbus: add two more mb()s
Signed-off-by: Wei Liu <liuw@liuw.name>