CVSROOT: /cvs Module name: src Changes by: mlar...@cvs.openbsd.org 2016/10/25 23:22:15
Modified files: sys/arch/i386/include: vmmvar.h sys/arch/i386/i386: vmm.c Log message: Fix a few misc bugs in i386 vmm: 1. Include ioctls needed for pledge support (to be used with the upcoming i386 vmd diff) 2. Don't assume we can enter an IA32e mode guest on entry when the host doesn't have unrestricted guest capability 3. Don't enable PAE in the guest CR4 when launching on hosts without unrestricted guest capability (vmd does not set up PAE bootstrap page tables) 4. Don't use a bitfield for the MSR bitmap index (same fix as just committed for amd64) 5. Store and restore EFER properly on exit to ensure that the host NXE is recovered on exit