VMX: remove unneeded enable_unrestricted_guest check
authorGleb Natapov <gleb@redhat.com>
Tue, 11 Dec 2012 13:14:11 +0000 (15:14 +0200)
committerMarcelo Tosatti <mtosatti@redhat.com>
Tue, 11 Dec 2012 23:00:28 +0000 (21:00 -0200)
commit0b26b588d97031fe8e16a35186220a6c14c89849
tree3c0f88e17b70e277894334ebbd321465b5d44dc0
parenta4d3326c2de46fd7bcc47d1e8786efccfc152f81
VMX: remove unneeded enable_unrestricted_guest check

If enable_unrestricted_guest is true vmx->rmode.vm86_active will
always be false.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c