Hi!

Is the attached script useful? Or even correct? It seems to be working
on my system.
It introduces some new rc.conf variables, here's an example:


vkernel="yes"
vkernel_list="example"

vkernel_example_bin=/usr/obj/usr/src/sys/VKERNEL/kernel.debug
vkernel_example_memsize="64m"
vkernel_example_rootimg_list="/var/vkernel/example.01"
vkernel_example_iface_list="auto:bridge0"
vkernel_example_logfile="/var/log/vkernel/example.console"
vkernel_example_flags="-U"


Some variables can take more that one parameter, namely:
vkernel_list  (list of vkernels to start)
vkernel_example_rootimg_list  (list of disk root images for the vkernel)
vkernel_example_iface_list  (list of network interfaces of the vkernel)
vkernel_example_flags (additional flags)

It could go nicely with Chris host initiated vkernel shutdown patch. :-)

Thanks,
Nuno

Attachment: vkernel
Description: Binary data

Reply via email to