1# 2# XENHVM -- Xen HVM kernel configuration file for FreeBSD/amd64 3# 4# $FreeBSD$ 5# 6include GENERIC 7ident XENHVM 8 9# 10# Adaptive locks rely on a lock-free pointer read to determine the run state 11# of the thread holding a lock when under contention; under a virtualisation 12# system, the thread run state may not accurately reflect whether the thread 13# (or rather its host VCPU) is actually executing. As such, disable this 14# optimisation. 15# 16options NO_ADAPTIVE_MUTEXES 17options NO_ADAPTIVE_RWLOCKS 18options NO_ADAPTIVE_SX 19 20# Xen HVM support 21options XENHVM 22device xenpci 23