svn commit: r225758 - projects/bhyve/sys/amd64/conf

Neel Natu neelnatu at gmail.com
Mon Sep 26 17:02:34 UTC 2011


Hi,

On Mon, Sep 26, 2011 at 5:13 AM, Bjoern A. Zeeb
<bzeeb-lists at lists.zabbadoz.net> wrote:
>
> On Sep 26, 2011, at 7:05 AM, Neel Natu wrote:
>
>> Author: neel
>> Date: Mon Sep 26 07:05:40 2011
>> New Revision: 225758
>> URL: http://svn.freebsd.org/changeset/base/225758
>>
>> Log:
>>  Kernel configuration for a bhyve guest.
>>
>> Added:
>>  projects/bhyve/sys/amd64/conf/BHYVE
>>
>> Added: projects/bhyve/sys/amd64/conf/BHYVE
>> ==============================================================================
>> --- /dev/null 00:00:00 1970   (empty, because file is newly added)
>> +++ projects/bhyve/sys/amd64/conf/BHYVE       Mon Sep 26 07:05:40 2011        (r225758)
>> @@ -0,0 +1,345 @@
>> +#
>> +# BHYVE -- Kernel configuration file for FreeBSD/amd64 bhyve guest
>> +#
>> +# For more information on this file, please read the config(5) manual page,
>> +# and/or the handbook section on Kernel Configuration Files:
>> +#
>> +#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
>> +#
>> +# The handbook is also available locally in /usr/share/doc/handbook
>> +# if you've installed the doc distribution, otherwise always see the
>> +# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
>> +# latest information.
>> +#
>> +# An exhaustive list of options and more detailed explanations of the
>> +# device lines is also present in the ../../conf/NOTES and NOTES files.
>> +# If you are in doubt as to the purpose or necessity of a line, check first
>> +# in NOTES.
>> +#
>> +# $FreeBSD: projects/bhyve/sys/amd64/conf/GENERIC 221914 2011-05-14 20:35:01Z jhb $
>> +
>> +cpu          HAMMER
>> +ident                BHYVE
>
> .....
>
> it might make more sense to include GENERIC and use nooptions nodevice for the things
> you don't want.  Seems to be more common practice.
>

Alright, that sounds fine. I'll submit a patch on top of this soon.

Ideally, we would just want the GENERIC kernel config to also be able
to boot on bhyve but we aren't there yet ...

best
Neel

> Given the list is long, maintaining will be hard either way but you have the
> $FreeBSD$ string up there so diffing latest to last synched version will help.
>
> .....
>> +
>> +device               bvmconsole      # brain dead simple bvm console
>> +device               bvmdebug        # brain dead simple bvm gdb pipe
>> +
>> +device               mptable
>> +options              NKPT=256
>
> --
> Bjoern A. Zeeb                                 You have to have visions!
>         Stop bit received. Insert coin for new address family.
>
>


More information about the svn-src-projects mailing list