]> xenbits.xensource.com Git - rumpuser-xen.git/log
rumpuser-xen.git
11 years agounifdef -UHAVE_LIBC
Antti Kantee [Mon, 2 Sep 2013 19:29:01 +0000 (21:29 +0200)]
unifdef -UHAVE_LIBC

We're going to have a real libc, and we don't want
this code around complicating things.

11 years agodisable symlink killing in make clean, too annoying
Antti Kantee [Mon, 2 Sep 2013 16:31:44 +0000 (19:31 +0300)]
disable symlink killing in make clean, too annoying

11 years agofix posix_memalign signature
Antti Kantee [Mon, 2 Sep 2013 15:54:03 +0000 (18:54 +0300)]
fix posix_memalign signature

11 years agoFix posix_memalign() signature.
Antti Kantee [Mon, 2 Sep 2013 15:52:55 +0000 (18:52 +0300)]
Fix posix_memalign() signature.

SERIOUSLY, need to check which compiler warnings are used.

11 years agoSupport realloc, hide POSIX aliases ALLOC_TESTING.
Antti Kantee [Mon, 2 Sep 2013 15:51:46 +0000 (18:51 +0300)]
Support realloc, hide POSIX aliases ALLOC_TESTING.

Hiding malloc etc. prevents collisions with the host.

11 years agoGive more posix-y names to memory allocators.
Antti Kantee [Sun, 1 Sep 2013 18:51:54 +0000 (21:51 +0300)]
Give more posix-y names to memory allocators.

Useful in the "with libc" scenario.

11 years agofix readlock held condition
Antti Kantee [Sat, 31 Aug 2013 13:53:11 +0000 (16:53 +0300)]
fix readlock held condition

11 years agoUse buildrump.sh only for the kernel.
Antti Kantee [Fri, 30 Aug 2013 12:53:07 +0000 (15:53 +0300)]
Use buildrump.sh only for the kernel.

This repo implements its own hypercalls and we don't need the POSIX ones
from buildrump.sh

11 years agoupdate buildrump.sh (for -k)
Antti Kantee [Fri, 30 Aug 2013 12:07:59 +0000 (15:07 +0300)]
update buildrump.sh (for -k)

11 years agoterminate freelist, this time in the correct place
Antti Kantee [Wed, 28 Aug 2013 20:00:15 +0000 (23:00 +0300)]
terminate freelist, this time in the correct place

11 years agoconsistent naming for image and domain
Antti Kantee [Tue, 27 Aug 2013 20:45:15 +0000 (23:45 +0300)]
consistent naming for image and domain

11 years agoset initial rump kernel context to NULL
Antti Kantee [Sat, 24 Aug 2013 20:03:47 +0000 (23:03 +0300)]
set initial rump kernel context to NULL

11 years agoMake sure biopoll doesn't run too early.
Antti Kantee [Fri, 23 Aug 2013 13:30:54 +0000 (16:30 +0300)]
Make sure biopoll doesn't run too early.

probably doesn't, but better safe than sorry

11 years agoUse blkfront wait if we're waiting for events.
Antti Kantee [Fri, 23 Aug 2013 13:18:27 +0000 (16:18 +0300)]
Use blkfront wait if we're waiting for events.

11 years agoIncrease default memory allowance to 16MB
Antti Kantee [Thu, 22 Aug 2013 10:30:27 +0000 (13:30 +0300)]
Increase default memory allowance to 16MB

8MB might be tight especially on 64bit if running complex demos.

11 years agoImprove memory use efficiently by 40+%
Antti Kantee [Thu, 22 Aug 2013 09:14:05 +0000 (12:14 +0300)]
Improve memory use efficiently by 40+%

This is done by adjusting the rump kernel memory allocation hypercall
to directly use the page allocator for page-sized allocation (the very
common case).  This in turn avoids having to allocate an extra page for
the malloc header, which in turn makes rump_hypermalloc(PAGE_SIZE)
consume only one page of memory instead of two.

11 years agofix use-after-free
Antti Kantee [Wed, 21 Aug 2013 21:09:00 +0000 (00:09 +0300)]
fix use-after-free

11 years agoReplace GPL'd xmalloc with a BSD-licensed malloc.
Antti Kantee [Wed, 21 Aug 2013 20:53:17 +0000 (23:53 +0300)]
Replace GPL'd xmalloc with a BSD-licensed malloc.

I believe this was the last GPL'd file hidden in the Mini-OS sources
and this whole repo can now be considered free software regardless of
how it is used, modified and/or distributed.

TODO: avoid wastefulness in the standard "just allocate a page, thanks"
case for the malloc hypercall.

11 years agoMake compile without sscanf()
Antti Kantee [Wed, 21 Aug 2013 10:26:17 +0000 (13:26 +0300)]
Make compile without sscanf()

compile-tested only

11 years agoimprove path spec
Antti Kantee [Wed, 21 Aug 2013 09:58:46 +0000 (12:58 +0300)]
improve path spec

11 years agoDon't remove symbolic links from rumpobj with "make clean".
Antti Kantee [Wed, 21 Aug 2013 09:55:40 +0000 (12:55 +0300)]
Don't remove symbolic links from rumpobj with "make clean".

They're created by buildrump.sh and should be cleared elsewhere.

11 years agoRemove ia64 support.
Antti Kantee [Wed, 21 Aug 2013 09:44:52 +0000 (12:44 +0300)]
Remove ia64 support.

First and foremost, ia64 contained files contaminated with GPL.
Second, it's highly likely that nobody will miss it (I know of
exactly 0 people who have run rump kernels on ia64).

11 years agoPreserve domain on crash.
Antti Kantee [Tue, 20 Aug 2013 20:46:02 +0000 (23:46 +0300)]
Preserve domain on crash.

The tests can run so fast that the console server doesn't have
a chance to catch up.

11 years agofix strtoul ep test. also, assign result
Antti Kantee [Tue, 20 Aug 2013 20:45:24 +0000 (23:45 +0300)]
fix strtoul ep test. also, assign result

11 years agofix typo from sscanf->strtoul conversion
Antti Kantee [Tue, 20 Aug 2013 20:36:56 +0000 (23:36 +0300)]
fix typo from sscanf->strtoul conversion

11 years agospecify radix explicitly
Antti Kantee [Tue, 20 Aug 2013 20:36:07 +0000 (23:36 +0300)]
specify radix explicitly

11 years agoreplace some gpl'd code with a non-viral alternative. *sigh*
Antti Kantee [Tue, 20 Aug 2013 13:35:29 +0000 (16:35 +0300)]
replace some gpl'd code with a non-viral alternative. *sigh*

no functional change intended, but only compile-tested so far

11 years agonits
Antti Kantee [Mon, 19 Aug 2013 20:47:41 +0000 (23:47 +0300)]
nits

11 years agouse config param to control which tests to run
Antti Kantee [Mon, 19 Aug 2013 20:43:49 +0000 (23:43 +0300)]
use config param to control which tests to run

11 years agoput build commands in a simple script
Antti Kantee [Mon, 19 Aug 2013 20:24:14 +0000 (23:24 +0300)]
put build commands in a simple script

11 years agosupport multiple block devices
Antti Kantee [Mon, 19 Aug 2013 19:57:40 +0000 (22:57 +0300)]
support multiple block devices

11 years agosupport device close
Antti Kantee [Mon, 19 Aug 2013 17:59:24 +0000 (20:59 +0300)]
support device close

11 years agobe a bit more random
Antti Kantee [Mon, 19 Aug 2013 16:44:52 +0000 (19:44 +0300)]
be a bit more random

11 years agosome near-cosmetic improvements
Antti Kantee [Mon, 19 Aug 2013 16:25:30 +0000 (19:25 +0300)]
some near-cosmetic improvements

11 years agoallow multiple outstanding bio operations
Antti Kantee [Mon, 19 Aug 2013 17:34:52 +0000 (20:34 +0300)]
allow multiple outstanding bio operations

11 years agoadd missing copyright
Antti Kantee [Mon, 19 Aug 2013 17:16:20 +0000 (20:16 +0300)]
add missing copyright

11 years agoimplement errno support
Antti Kantee [Mon, 19 Aug 2013 17:10:37 +0000 (20:10 +0300)]
implement errno support

(would conflict with HAVE_LIBC, solve that later)

11 years agogive vif a hardcoded MAC addr to keep dhcp happier
Antti Kantee [Mon, 19 Aug 2013 17:02:35 +0000 (20:02 +0300)]
give vif a hardcoded MAC addr to keep dhcp happier

11 years agoUse poll() for multi-connection support.
Antti Kantee [Mon, 19 Aug 2013 16:59:33 +0000 (19:59 +0300)]
Use poll() for multi-connection support.

It was boring to write, but it exercises blocking and timeouts
quite nicely.  Too bad it shook out only one bug :/

11 years agoMerge branch 'master' of https://github.com/anttikantee/rumpuser-xen
Antti Kantee [Mon, 19 Aug 2013 14:54:21 +0000 (17:54 +0300)]
Merge branch 'master' of https://github.com/anttikantee/rumpuser-xen

11 years agofix cv_timedwait
Antti Kantee [Mon, 19 Aug 2013 14:53:20 +0000 (17:53 +0300)]
fix cv_timedwait

11 years agoclarify instructions a bit more
Antti Kantee [Mon, 19 Aug 2013 09:28:34 +0000 (12:28 +0300)]
clarify instructions a bit more

11 years agoupdate docs for submodule change
Antti Kantee [Mon, 19 Aug 2013 09:19:16 +0000 (12:19 +0300)]
update docs for submodule change

11 years agoadd buildrump.sh as a submodule
Antti Kantee [Mon, 19 Aug 2013 09:03:53 +0000 (12:03 +0300)]
add buildrump.sh as a submodule

11 years agoless sparta
Antti Kantee [Fri, 16 Aug 2013 00:25:21 +0000 (03:25 +0300)]
less sparta

11 years agoInitial support for rump kernels on Xen
Antti Kantee [Thu, 15 Aug 2013 23:38:35 +0000 (02:38 +0300)]
Initial support for rump kernels on Xen

11 years agoInitial commit
Antti Kantee [Thu, 15 Aug 2013 22:41:35 +0000 (15:41 -0700)]
Initial commit