Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

vkernel - Adjust parameters for vkernel test build

* Increase root partition from 512M to 2G to accomodate DEBUG_FLAGS=-g
  kernels.

* Increase default memory from 128M to 256M

* Create the /var/vkernel directory if necessary.
  • Loading branch information...
commit e7cba7ea748984abf25bdff44cc84b4263b5f43b 1 parent 1781bef
Matthew Dillon authored
Showing with 4 additions and 2 deletions.
  1. +4 −2 test/vkernel/Makefile
View
6 test/vkernel/Makefile
@@ -3,8 +3,8 @@
# require it to be specified
SRCDIR ?= ${.CURDIR}/../..
-ROOTSIZE ?= 512M
-PHYSMEM ?= 128m
+ROOTSIZE ?= 2048M
+PHYSMEM ?= 256m
NCPUS ?= 2
all: help
@@ -155,6 +155,8 @@ sysloader: mount
# (check does this for us)
#
run: check
+ mkdir -p /var/vkernel
+ sysctl vm.vkernel_enable=1
cd ${VKDIR} && ./vkernel -m ${PHYSMEM} -n ${NCPUS} \
-r root.img -U -v \
-I /var/run/vknet
Please sign in to comment.
Something went wrong with that request. Please try again.