vmm(4): Enable support for AMD-V (SVM) CPUs.
authormlarkin <mlarkin@openbsd.org>
Mon, 29 May 2017 05:59:45 +0000 (05:59 +0000)
committermlarkin <mlarkin@openbsd.org>
Mon, 29 May 2017 05:59:45 +0000 (05:59 +0000)
commit40a29f6502b1fd4140efc3a229befe53109be1cc
treec0bb8c20c7283a4a746f013d1a92063f71148448
parent2d313e676523ea123d716b2f0aad0d56bdf1892c
vmm(4): Enable support for AMD-V (SVM) CPUs.

Tested on the following CPUs:

AMD C-60 APU
AMD GX-412TC SOC (PCEngines APU2C4)
AMD Opteron(tm) Processor 6128

... and various others via bochs/simulators, on a variety of different
guest VM types. Also verified no regressions on my x230 Intel machine
since this diff slightly changes CPUID behaviour WRT cache information.

ok deraadt@
sys/arch/amd64/amd64/vmm.c