Permalink
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...
Matthew Dillon
Matthew Dillon committed Oct 13, 2012
1 parent 1781bef commit e7cba7ea748984abf25bdff44cc84b4263b5f43b
Showing with 4 additions and 2 deletions.
  1. +4 −2 test/vkernel/Makefile
View
@@ -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

0 comments on commit e7cba7e

Please sign in to comment.