KVM: VMX: Flatten __vmx_vcpu_run()
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2090231 CVE: CVE-2022-23816 CVE: CVE-2022-23825 CVE: CVE-2022-29900 CVE: CVE-2022-29901 Conflicts: The ENDBR macro has to be removed from vmx_vmexit() due to missing upstream commit 156ff4a5 ("x86/ibt: Base IBT bits"). commit 8bd200d2 Author: Josh Poimboeuf <jpoimboe@kernel.org> Date: Tue, 14 Jun 2022 23:16:11 +0200 KVM: VMX: Flatten __vmx_vcpu_run() Move the vmx_vm{enter,exit}() functionality into __vmx_vcpu_run(). This will make it easier to do the spec_ctrl handling before the first RET. Signed-off-by:Josh Poimboeuf <jpoimboe@kernel.org> Signed-off-by:
Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by:
Borislav Petkov <bp@suse.de> Signed-off-by:
Waiman Long <longman@redhat.com>
Loading