Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What would happen if each of these instructions didn't trap into VMX root when executed in VMX non-root?


Would it allow the guest operating system to compromise the host's security?

share|improve this question

I suggest that you familiarize yourself with Popek and Goldberg's virtualization requirements.

In particular, the VMX instructions are sensitive instructions: they can provide privileged access to devices and system resources. Therefore, access to the VMX instructions must be controlled. If those instructions did not trap, and there were no other special provisions made, there would be no way to control access to those instructions. In particular, in a trap-and-emulate architecture for virtualization, we need to ensure that those instructions trigger a trap, so that the VMM can emulate them properly when the guest executes one of them.

If they did not trap, and if no other special provisions were made, it could open up a security hole. It could also cause a loss of fidelity for virtualized guests.

You might also be interested in learning about nested virtualized (aka recursive virtualization).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.