commit | 218e763f458c44f30041c1b48b4371e130fd4317 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Mon Jan 21 15:36:45 2013 +0200 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Thu Jan 24 00:40:28 2013 -0200 |
tree | 60c7a2053174f650133468f69836e3a56e0795d6 | |
parent | 286da4156dc65c8a054580fdd96b7709132dce8d [diff] |
KVM: VMX: skip vmx->rmode.vm86_active check on cr0 write if unrestricted guest is enabled vmx->rmode.vm86_active is never true is unrestricted guest is enabled. Make it more explicit that neither enter_pmode() nor enter_rmode() is called in this case. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>