Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
arch/x86/kvm/svm/sev.c sev_es_recalc_msr_intercepts() -> guest_cpuid_has()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->kvm | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->kvm->srcu.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | x86_feature | 323 |
| DATA_SOURCE | 0 | vcpu | $0 |
arch/x86/kvm/hyperv.c __kvm_hv_xsaves_xsavec_maybe_warn() -> guest_cpuid_has()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->ops->get_cr | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.hyperv_enabled | 1 |
| PARAM_VALUE | 0 | vcpu->kvm | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->kvm->arch.xen.hvm_config.msr | 1-u32max |
| PARAM_VALUE | 0 | vcpu->kvm->online_vcpus.counter | 2-s32max |
| PARAM_VALUE | 1 | x86_feature | 323 |
| CAPPED_DATA | 0 | vcpu->kvm->arch.xen.hvm_config.msr | 1 |
| DATA_SOURCE | 0 | vcpu | $0 |
| USER_DATA | 0 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| USER_PTR | 0 | vcpu->arch.emulate_ctxt->fetch.end | |
| LOCK2 | &hv->hv_lock | ||
| TYPE_LOCK | (struct kvm_hv)->hv_lock |
arch/x86/kvm/msrs.c kvm_get_msr_common() -> guest_cpuid_has()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 1 | x86_feature | 323 |
| DATA_SOURCE | 0 | vcpu | $0 |
arch/x86/kvm/msrs.c kvm_set_msr_common() -> guest_cpuid_has()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->kvm->arch.xen.hvm_config.msr | 1-u32max |
| PARAM_VALUE | 1 | x86_feature | 323 |
| CAPPED_DATA | 0 | vcpu->kvm->arch.xen.hvm_config.msr | 1 |
| DATA_SOURCE | 0 | vcpu | $0 |