CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2016/11/24 00:58:55
Modified files:
usr.sbin/vmd : Makefile config.c loadfile.h loadfile_elf.c
vmd.c vmd.h vmm.c
usr.sbin/vmctl : vmctl.c
Added files:
usr.sbin/vmd : ufs.c vmboot.c vmboot.h
Log message:
Add support for booting the kernel from the disk image.
This make the kernel/-k argument optional and, if not specified, tries
to find the /bsd kernel in the primary hd0a partition of the first
disk image itself. It doesn't support hd0a:/etc/boot.conf yet, and it
is no BIOS or full boot loader, but it makes booting and handling of
VMs a bit easier - booting an external kernel is still supported.
The UFS file system code ufs.c is directly from libsa which is also
used by the real boot loader. The code compiles with a few signedness
warning which will be fixed separately.
OK mlarkin@