x86/vvmx: Drop the now-obsolete vmx_inst_check_privilege()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 25 Oct 2018 14:17:50 +0000 (15:17 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 30 Oct 2018 13:26:21 +0000 (13:26 +0000)
commit307ee30a1429e2f45d505c1299b58090edd81eb0
treea3b322de3cd19f19861b945c5ba7f42bdbc3777b
parent18cef4df8f8bd04a59a218e5f67e7896e43fd07d
x86/vvmx: Drop the now-obsolete vmx_inst_check_privilege()

Now that nvmx_handle_vmx_insn() performs all VT-x instruction checks, there is
no need for redundant checking in vmx_inst_check_privilege().  Remove it, and
take out the vmxon_check boolean which was plumbed through decode_vmx_inst().

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Sergey Dyasli <sergey.dyasli@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
xen/arch/x86/hvm/vmx/vvmx.c