vmm(4): Clear the guest MWAITX/MONITORX extended CPUID feature bit,
authorbrynet <brynet@openbsd.org>
Thu, 20 Sep 2018 14:32:59 +0000 (14:32 +0000)
committerbrynet <brynet@openbsd.org>
Thu, 20 Sep 2018 14:32:59 +0000 (14:32 +0000)
commit927beb9ef36d476c345f2bc76ff4380453aa6c03
treef3caedf29cde97cde516b78e8c28c19f318adfe8
parente500f7b4e8f00efc5800f2705b07f734cbd5ed1c
vmm(4): Clear the guest MWAITX/MONITORX extended CPUID feature bit,
like we already do for MWAIT/MONITOR. Also match Intel here by not
exposing the SVM capability to AMD guests.

Allows Linux guests to boot in vmd(8) on Ryzen CPUs.

ok mlarkin@
sys/arch/amd64/amd64/vmm.c
sys/arch/amd64/include/vmmvar.h