OSDN Git Service

x86, KVM: remove unnecessary argument to x86_virt_spec_ctrl and callers
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 30 Sep 2022 18:48:24 +0000 (14:48 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 9 Nov 2022 17:26:51 +0000 (12:26 -0500)
commitbd3d394e367e66e773a6cb25a82c29b04464230b
treeb4524496afdfb62101883e158e8244b21b22864a
parent9f2febf3f04daebdaaa5a43cfa20e3844905c0f9
x86, KVM: remove unnecessary argument to x86_virt_spec_ctrl and callers

x86_virt_spec_ctrl only deals with the paravirtualized
MSR_IA32_VIRT_SPEC_CTRL now and does not handle MSR_IA32_SPEC_CTRL
anymore; remove the corresponding, unused argument.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/include/asm/spec-ctrl.h
arch/x86/kernel/cpu/bugs.c
arch/x86/kvm/svm/svm.c