1. One or more computer-readable storage mediums storing one or more sequences of instructions, which when executed by one or more processors, cause: executing, within a virtual machine, a guest operating system which does not support Supervisor Mode Execution Protection (SMEP); and a hypervisor instructing hardware to enable Supervisor Mode Execution Protection (SMEP) for the virtual machine executing the guest operating system.