mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Copy XENHVM config file from amd64, now that i386+XENHVM works.
This commit is contained in:
parent
206d503b92
commit
1934cbcc1a
1 changed files with 24 additions and 0 deletions
24
sys/i386/conf/XENHVM
Normal file
24
sys/i386/conf/XENHVM
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
#
|
||||
# XENHVM -- Xen HVM kernel configuration file for FreeBSD/amd64
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
include GENERIC
|
||||
ident XENHVM
|
||||
|
||||
makeoptions MODULES_OVERRIDE=""
|
||||
|
||||
#
|
||||
# Adaptive locks rely on a lock-free pointer read to determine the run state
|
||||
# of the thread holding a lock when under contention; under a virtualisation
|
||||
# system, the thread run state may not accurately reflect whether the thread
|
||||
# (or rather its host VCPU) is actually executing. As such, disable this
|
||||
# optimisation.
|
||||
#
|
||||
options NO_ADAPTIVE_MUTEXES
|
||||
options NO_ADAPTIVE_RWLOCKS
|
||||
options NO_ADAPTIVE_SX
|
||||
|
||||
# Xen HVM support
|
||||
options XENHVM
|
||||
device xenpci
|
||||
Loading…
Reference in a new issue