commit | 29541bb8f4a18b2939dea137315e1803b4617c8d | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <guangrong.xiao@linux.intel.com> | Wed Sep 09 14:05:54 2015 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Thu Oct 01 15:06:38 2015 +0200 |
tree | 0e8cb5902718f72b05d27e71dd69a1b5b1acc105 | |
parent | f36201e5f44b55faf44ddc820929548e51ec841b [diff] |
KVM: VMX: simplify invpcid handling in vmx_cpuid_update() If vmx_invpcid_supported() is true, second execution control filed must be supported and SECONDARY_EXEC_ENABLE_INVPCID must have already been set in current vmcs by vmx_secondary_exec_control() If vmx_invpcid_supported() is false, no need to clear SECONDARY_EXEC_ENABLE_INVPCID Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>