Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

arch/x86/kvm/svm/svm.c svm_get_msr() -> guest_has_spec_ctrl_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
DATA_SOURCE 0 vcpu $0

arch/x86/kvm/svm/svm.c svm_recalc_msr_intercepts() -> guest_has_spec_ctrl_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->srcu.dep_map->name 0-255
DATA_SOURCE 0 vcpu $0

arch/x86/kvm/svm/svm.c svm_set_msr() -> guest_has_spec_ctrl_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
DATA_SOURCE 0 vcpu $0

arch/x86/kvm/vmx/vmx.c vmx_get_msr() -> guest_has_spec_ctrl_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
DATA_SOURCE 0 vcpu $0

arch/x86/kvm/vmx/vmx.c vmx_set_msr() -> guest_has_spec_ctrl_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
DATA_SOURCE 0 vcpu $0