Defined in 1 files as a function:
Referenced in 5 files:
- arch/x86/kvm/mmu/mmu.c
- arch/x86/kvm/vmx/vmx.c, line 6083
- arch/x86/kvm/x86.c
- arch/x86/kvm/x86.h, line 154
- include/linux/kvm_host.h, line 2334
Smatch caller information:
arch/x86/kvm/mmu/mmu.c is_page_fault_stale() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 807 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | vcpu->arch.mmu | 1 |
| DATA_SOURCE | 1 | vcpu | $0 |
| NOSPEC | 1 | vcpu->arch.mmio_gfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate2_cache.pfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.pfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.uhva | |
| PREEMPT_ADD | |||
| HOST_DATA | 1 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.cr8 | 0-14[c] |
| USER_DATA | 1 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 1 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 1 | vcpu->arch.mmu->root.pgd | 0-u64max |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| USER_DATA | 1 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.size | |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 1 | vcpu->arch.pdptrs | |
| LOCK2 | 1 | &vcpu->kvm->mmu_lock | |
| HALF_LOCKED2 | 1 | &vcpu->kvm->srcu | |
| HALF_LOCKED2 | 1 | &vcpu->mutex | |
| TYPE_LOCK | (struct kvm)->mmu_lock |
arch/x86/kvm/mmu/mmu.c kvm_check_request() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 769,807 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | vcpu | $1 |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.uhva | |
| HARD_MAX | 0 | req | 807 |
| HOST_DATA | 1 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.apic->sipi_vector | 1-255[c] |
| USER_DATA | 1 | vcpu->arch.cr8 | 0-14[c] |
| USER_DATA | 1 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 1 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 1 | vcpu->arch.mmio_gva | 0,4096-u64max[c] |
| USER_DATA | 1 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.size | |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| HALF_LOCKED2 | 1 | &vcpu->kvm->srcu | |
| HALF_LOCKED2 | 1 | &vcpu->mutex |
arch/x86/kvm/mmu/mmu.c kvm_tdp_mmu_map_private_pfn() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 769 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| DATA_SOURCE | 1 | vcpu | $0 |
| LOCK2 | &file->f_mapping->invalidate_lock | ||
| HALF_LOCKED2 | &kvm->lock | ||
| HALF_LOCKED2 | &kvm->slots_lock | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock |
arch/x86/kvm/vmx/nested.c kvm_check_request() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 32 |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | vcpu | $1 |
| NOSPEC | 1 | vcpu->arch.mmio_gfn | |
| USER_DATA | 1 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 1 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 1 | vcpu->arch.mmio_gva | 0,4096-u64max[c] |
| USER_DATA | 1 | vcpu->arch.mmu->root.pgd | 0-u64max |
| USER_DATA | 1 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| USER_DATA | 1 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->kvm->arch.split_page_header_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->kvm->arch.split_shadow_page_cache.kmem_cache->sheaf_capacity | |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 1 | vcpu->arch.pdptrs | |
| USER_PTR | 1 | vcpu->arch.walk_mmu->pdptrs | |
| HALF_LOCKED2 | 1 | &vcpu->kvm->srcu | |
| HALF_LOCKED2 | 1 | &vcpu->mutex |
arch/x86/kvm/x86.c kvm_arch_dy_runnable() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 17 |
| PARAM_VALUE | 1 | vcpu | 0-1025,1027-1029,1031-u64max |
| DATA_SOURCE | 1 | vcpu | $0 |
arch/x86/kvm/x86.c kvm_arch_dy_runnable() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 20 |
| PARAM_VALUE | 1 | vcpu | 0-1025,1027-1029,1031-u64max |
| DATA_SOURCE | 1 | vcpu | $0 |
arch/x86/kvm/x86.c kvm_arch_dy_runnable() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 14 |
| PARAM_VALUE | 1 | vcpu | 0-1025,1027-1029,1031-u64max |
| DATA_SOURCE | 1 | vcpu | $0 |
arch/x86/kvm/x86.c kvm_check_nested_events() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 10 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| BUF_SIZE | 1 | vcpu | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | vcpu | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | vcpu | 1 |
| CAPPED_DATA | 1 | vcpu->kvm | 1 |
| CAPPED_DATA | 1 | vcpu->kvm->mm | 1 |
| CAPPED_DATA | 1 | vcpu->kvm->srcu.srcu_ctrp | 1 |
| DATA_SOURCE | 1 | vcpu | $0 |
| NOSPEC | 1 | vcpu->arch.mmio_gfn | |
| HOST_DATA | 1 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.expired_tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->sipi_vector | 1-255[c] |
| USER_DATA | 1 | vcpu->arch.cr8 | 0-14 |
| USER_DATA | 1 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 1 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 1 | vcpu->arch.nmi_queued.counter | 0 |
| USER_DATA | 1 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| USER_DATA | 1 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| USER_DATA | 1 | *vcpu->arch.sev_pio_data | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.size | |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 1 | vcpu->arch.pdptrs | |
| LOCK2 | 1 | &vcpu->kvm->srcu | |
| LOCK2 | 1 | &vcpu->mutex | |
| TYPE_LOCK | (struct kvm)->srcu | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/x86.c kvm_check_request() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 8-21,24,26-32,34,36-37,554,768-769,791,793,801,803,806-809 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | vcpu->arch.mce_banks | (-1),8 |
| BUF_SIZE | 1 | vcpu->arch.mci_ctl2_banks | (-1),8 |
| CAPPED_DATA | 1 | vcpu | 1 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | vcpu | $1 |
| NOSPEC | 1 | vcpu->arch.mmio_gfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate2_cache.pfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.pfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.uhva | |
| NOSPEC | 1 | vcpu->vcpu_id | |
| HARD_MAX | 0 | req | 809 |
| PREEMPT_ADD | |||
| HOST_DATA | 1 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.expired_tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->sipi_vector | 0-u32max |
| USER_DATA | 1 | vcpu->arch.cr2 | 0-u64max |
| USER_DATA | 1 | vcpu->arch.cr8 | 0-14[c] |
| USER_DATA | 1 | vcpu->arch.dr6 | 0-u64max[c][u] |
| USER_DATA | 1 | vcpu->arch.exception.error_code | 0-u32max |
| USER_DATA | 1 | vcpu->arch.exception.has_error_code | 0-1 |
| USER_DATA | 1 | vcpu->arch.exception.has_payload | 0 |
| USER_DATA | 1 | vcpu->arch.exception.injected | 0-1 |
| USER_DATA | 1 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 1 | vcpu->arch.exception.pending | 0-1 |
| USER_DATA | 1 | vcpu->arch.exception.vector | 0-255 |
| USER_DATA | 1 | vcpu->arch.exception_from_userspace | 0-1 |
| USER_DATA | 1 | vcpu->arch.guest_supported_xcr0 | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.guest_supported_xss | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.hyperv->cpuid_cache.enlightenments_eax | 0-u32max |
| USER_DATA | 1 | vcpu->arch.hyperv->cpuid_cache.enlightenments_ebx | 0-u32max |
| USER_DATA | 1 | vcpu->arch.hyperv->cpuid_cache.features_eax | 0-u32max |
| USER_DATA | 1 | vcpu->arch.hyperv->cpuid_cache.features_ebx | 0-u32max |
| USER_DATA | 1 | vcpu->arch.hyperv->cpuid_cache.features_edx | 0-u32max |
| USER_DATA | 1 | vcpu->arch.hyperv->cpuid_cache.nested_eax | 0-u32max |
| USER_DATA | 1 | vcpu->arch.hyperv->cpuid_cache.nested_ebx | 0-u32max |
| USER_DATA | 1 | vcpu->arch.hyperv->cpuid_cache.syndbg_cap_eax | 0-u32max |
| USER_DATA | 1 | vcpu->arch.hyperv_enabled | 0[c] |
| USER_DATA | 1 | vcpu->arch.interrupt.injected | 0-1 |
| USER_DATA | 1 | vcpu->arch.interrupt.nr | 0-255 |
| USER_DATA | 1 | vcpu->arch.interrupt.soft | 0-1 |
| USER_DATA | 1 | vcpu->arch.is_amd_compatible | 0[c] |
| USER_DATA | 1 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.maxphyaddr | 1-255[c] |
| USER_DATA | 1 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 1 | vcpu->arch.mmio_gva | 0,4096-u64max[c] |
| USER_DATA | 1 | vcpu->arch.mmu->root.pgd | 0-u64max |
| USER_DATA | 1 | vcpu->arch.nmi_injected | 0-1 |
| USER_DATA | 1 | vcpu->arch.nmi_queued.counter | 0 |
| USER_DATA | 1 | vcpu->arch.pv_cpuid.features | 0-u32max |
| USER_DATA | 1 | vcpu->arch.pv_time.kvm->arch.has_private_mem | 0[c] |
| USER_DATA | 1 | vcpu->arch.pv_time.kvm->arch.pre_fault_allowed | 0-1 |
| USER_DATA | 1 | vcpu->arch.pv_time.kvm->arch.vm_type | 0-31 |
| USER_DATA | 1 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.virtual_tsc_khz | 1-u32max |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.kvm->arch.has_private_mem | 0[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.kvm->arch.pre_fault_allowed | 0-1 |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.kvm->arch.vm_type | 0-31 |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.kvm->arch.has_private_mem | 0[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.kvm->arch.pre_fault_allowed | 0-1 |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.kvm->arch.vm_type | 0-31 |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.xen.vcpu_info_cache.kvm->arch.has_private_mem | 0[c] |
| USER_DATA | 1 | vcpu->arch.xen.vcpu_info_cache.kvm->arch.pre_fault_allowed | 0-1 |
| USER_DATA | 1 | vcpu->arch.xen.vcpu_info_cache.kvm->arch.vm_type | 0-31 |
| USER_DATA | 1 | vcpu->arch.xen.vcpu_time_info_cache.kvm->arch.has_private_mem | 0[c] |
| USER_DATA | 1 | vcpu->arch.xen.vcpu_time_info_cache.kvm->arch.pre_fault_allowed | 0-1 |
| USER_DATA | 1 | vcpu->arch.xen.vcpu_time_info_cache.kvm->arch.vm_type | 0-31 |
| USER_DATA | 1 | vcpu->run->debug.arch.pc | 0-u64max |
| USER_DATA | 1 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| USER_DATA | 1 | vcpu->run->s.regs.sregs.cr2 | 0-u64max |
| USER_DATA | 1 | vcpu->run->s.regs.sregs.cr8 | 0-15[c] |
| USER_DATA | 1 | vcpu->vcpu_id | 1-16383[c] |
| USER_DATA | 1 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| USER_DATA | 1 | *vcpu->arch.sev_pio_data | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->kvm->arch.split_desc_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->kvm->arch.split_page_header_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->kvm->arch.split_shadow_page_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.size | |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->sparse_banks | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 1 | vcpu->arch.pdptrs | |
| USER_PTR | 1 | vcpu->arch.walk_mmu->pdptrs | |
| HALF_LOCKED2 | 1 | &vcpu->kvm->srcu | |
| HALF_LOCKED2 | 1 | &vcpu->mutex |
arch/x86/kvm/x86.c kvm_is_exception_pending() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 10 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | vcpu | 1 |
| DATA_SOURCE | 1 | vcpu | $0 |
| NOSPEC | 1 | vcpu->arch.mmio_gfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate2_cache.pfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.pfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.uhva | |
| HOST_DATA | 1 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.expired_tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->sipi_vector | 1-255[c] |
| USER_DATA | 1 | vcpu->arch.cr2 | 0-u64max |
| USER_DATA | 1 | vcpu->arch.cr8 | 0-14[c] |
| USER_DATA | 1 | vcpu->arch.dr6 | 0-u64max[c][u] |
| USER_DATA | 1 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 1 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 1 | vcpu->arch.mmio_gva | 0,4096-u64max[c] |
| USER_DATA | 1 | vcpu->arch.mmu->root.pgd | 0-u64max |
| USER_DATA | 1 | vcpu->arch.nmi_queued.counter | 0 |
| USER_DATA | 1 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->run->debug.arch.pc | 0-u64max |
| USER_DATA | 1 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| USER_DATA | 1 | vcpu->run->s.regs.sregs.cr8 | 0-15[c] |
| USER_DATA | 1 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| USER_DATA | 1 | *vcpu->arch.sev_pio_data | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.size | |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 1 | vcpu->arch.pdptrs | |
| USER_PTR | 1 | vcpu->arch.walk_mmu->pdptrs | |
| HALF_LOCKED2 | 1 | &vcpu->kvm->srcu | |
| HALF_LOCKED2 | 1 | &vcpu->mutex |
arch/x86/kvm/x86.c kvm_vcpu_has_events() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 17 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | vcpu | 1 |
| CAPPED_DATA | 1 | vcpu->async_pf.done.next | 1 |
| CAPPED_DATA | 1 | &vcpu->async_pf.done | 1 |
| DATA_SOURCE | 1 | vcpu | $0 |
| PARAM_COMPARE | 1 | vcpu->async_pf.done.next | == $1->async_pf.done.prev |
| PARAM_COMPARE | 1 | &vcpu->async_pf.done | == $1->async_pf.done.next |
| NOSPEC | 1 | vcpu->arch.mmio_gfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate2_cache.pfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.pfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.uhva | |
| HOST_DATA | 1 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.expired_tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->sipi_vector | 1-255[c] |
| USER_DATA | 1 | vcpu->arch.cr8 | 0-14[c] |
| USER_DATA | 1 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 1 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 1 | vcpu->arch.mmio_gva | 0,4096-u64max[c] |
| USER_DATA | 1 | vcpu->arch.mmu->root.pgd | 0-u64max |
| USER_DATA | 1 | vcpu->arch.nmi_queued.counter | 0 |
| USER_DATA | 1 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| USER_DATA | 1 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.size | |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 1 | vcpu->arch.pdptrs | |
| HALF_LOCKED2 | 1 | &vcpu->kvm->srcu | |
| HALF_LOCKED2 | 1 | &vcpu->mutex |
arch/x86/kvm/x86.c kvm_vcpu_has_events() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 20 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | vcpu | 1 |
| CAPPED_DATA | 1 | vcpu->async_pf.done.next | 1 |
| CAPPED_DATA | 1 | &vcpu->async_pf.done | 1 |
| DATA_SOURCE | 1 | vcpu | $0 |
| PARAM_COMPARE | 1 | vcpu->async_pf.done.next | == $1->async_pf.done.prev |
| PARAM_COMPARE | 1 | &vcpu->async_pf.done | == $1->async_pf.done.next |
| NOSPEC | 1 | vcpu->arch.mmio_gfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate2_cache.pfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.pfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.uhva | |
| HOST_DATA | 1 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.expired_tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->sipi_vector | 1-255[c] |
| USER_DATA | 1 | vcpu->arch.cr8 | 0-14[c] |
| USER_DATA | 1 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 1 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 1 | vcpu->arch.mmio_gva | 0,4096-u64max[c] |
| USER_DATA | 1 | vcpu->arch.mmu->root.pgd | 0-u64max |
| USER_DATA | 1 | vcpu->arch.nmi_queued.counter | 0 |
| USER_DATA | 1 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| USER_DATA | 1 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.size | |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 1 | vcpu->arch.pdptrs | |
| HALF_LOCKED2 | 1 | &vcpu->kvm->srcu | |
| HALF_LOCKED2 | 1 | &vcpu->mutex |
arch/x86/kvm/x86.c kvm_vcpu_has_events() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 19 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | vcpu | 1 |
| CAPPED_DATA | 1 | vcpu->async_pf.done.next | 1 |
| CAPPED_DATA | 1 | &vcpu->async_pf.done | 1 |
| DATA_SOURCE | 1 | vcpu | $0 |
| PARAM_COMPARE | 1 | vcpu->async_pf.done.next | == $1->async_pf.done.prev |
| PARAM_COMPARE | 1 | &vcpu->async_pf.done | == $1->async_pf.done.next |
| NOSPEC | 1 | vcpu->arch.mmio_gfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate2_cache.pfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.pfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.uhva | |
| HOST_DATA | 1 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.expired_tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->sipi_vector | 1-255[c] |
| USER_DATA | 1 | vcpu->arch.cr8 | 0-14[c] |
| USER_DATA | 1 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 1 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 1 | vcpu->arch.mmio_gva | 0,4096-u64max[c] |
| USER_DATA | 1 | vcpu->arch.mmu->root.pgd | 0-u64max |
| USER_DATA | 1 | vcpu->arch.nmi_queued.counter | 0 |
| USER_DATA | 1 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| USER_DATA | 1 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.size | |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 1 | vcpu->arch.pdptrs | |
| HALF_LOCKED2 | 1 | &vcpu->kvm->srcu | |
| HALF_LOCKED2 | 1 | &vcpu->mutex |
arch/x86/kvm/x86.c kvm_vcpu_has_events() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 554 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | vcpu | 1 |
| CAPPED_DATA | 1 | vcpu->async_pf.done.next | 1 |
| CAPPED_DATA | 1 | &vcpu->async_pf.done | 1 |
| DATA_SOURCE | 1 | vcpu | $0 |
| PARAM_COMPARE | 1 | vcpu->async_pf.done.next | == $1->async_pf.done.prev |
| PARAM_COMPARE | 1 | &vcpu->async_pf.done | == $1->async_pf.done.next |
| NOSPEC | 1 | vcpu->arch.mmio_gfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate2_cache.pfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.pfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.uhva | |
| HOST_DATA | 1 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.expired_tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->sipi_vector | 1-255[c] |
| USER_DATA | 1 | vcpu->arch.cr8 | 0-14[c] |
| USER_DATA | 1 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 1 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 1 | vcpu->arch.mmio_gva | 0,4096-u64max[c] |
| USER_DATA | 1 | vcpu->arch.mmu->root.pgd | 0-u64max |
| USER_DATA | 1 | vcpu->arch.nmi_queued.counter | 0 |
| USER_DATA | 1 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| USER_DATA | 1 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.size | |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 1 | vcpu->arch.pdptrs | |
| HALF_LOCKED2 | 1 | &vcpu->kvm->srcu | |
| HALF_LOCKED2 | 1 | &vcpu->mutex |
arch/x86/kvm/x86.c kvm_vcpu_ioctl_x86_get_vcpu_events() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 10 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| BUF_SIZE | 1 | vcpu | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | vcpu | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | vcpu | 1 |
| DATA_SOURCE | 1 | vcpu | $0 |
| BIT_INFO | 1 | vcpu->arch.hflags | 0x0,0xffffffff |
| NOSPEC | 1 | vcpu->arch.mmio_gfn | |
| HOST_DATA | 1 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.apic->sipi_vector | 1-255[c] |
| USER_DATA | 1 | vcpu->arch.cr2 | 0-u64max |
| USER_DATA | 1 | vcpu->arch.cr8 | 0-14 |
| USER_DATA | 1 | vcpu->arch.dr6 | 0-u64max[c][u] |
| USER_DATA | 1 | vcpu->arch.exception.payload | 0 |
| USER_DATA | 1 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 1 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->run->debug.arch.pc | 0-u64max |
| USER_DATA | 1 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| USER_DATA | 1 | vcpu->run->s.regs.sregs.cr2 | 0-u64max |
| USER_DATA | 1 | vcpu->run->s.regs.sregs.cr8 | 0-15[c] |
| USER_DATA | 1 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| USER_DATA | 1 | *vcpu->arch.sev_pio_data | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.size | |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 1 | vcpu->arch.pdptrs | |
| HALF_LOCKED2 | &vcpu->mutex | ||
| HALF_LOCKED2 | 1 | &vcpu->kvm->srcu | |
| HALF_LOCKED2 | 1 | &vcpu->mutex | |
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/x86.c vcpu_enter_guest() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 10 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 1 | vcpu->requests | 1 |
| BUF_SIZE | 1 | vcpu | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | vcpu | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | vcpu | 1 |
| DATA_SOURCE | 1 | vcpu | $0 |
| HOST_DATA | 1 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.expired_tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->lapic_timer.tscdeadline | 0-u64max |
| USER_DATA | 1 | vcpu->arch.apic->sipi_vector | 1-255[c] |
| USER_DATA | 1 | vcpu->arch.cr8 | 0-14 |
| USER_DATA | 1 | vcpu->arch.exception.payload | 0 |
| USER_DATA | 1 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.mmu->root.pgd | 0 |
| USER_DATA | 1 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 1 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| USER_DATA | 1 | *vcpu->arch.sev_pio_data | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.size | |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 1 | vcpu->arch.pdptrs | |
| LOCK2 | 1 | &vcpu->kvm->srcu | |
| LOCK2 | 1 | &vcpu->mutex | |
| TYPE_LOCK | (struct kvm)->srcu | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/../../../virt/kvm/dirty_ring.c kvm_check_request() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 3 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 1 | vcpu->requests | 1 |
| BUF_SIZE | 1 | vcpu | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | vcpu | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | vcpu->kvm | 1 |
| CAPPED_DATA | 1 | vcpu->kvm->mm | 1 |
| CAPPED_DATA | 1 | vcpu->kvm->srcu.srcu_ctrp | 1 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | vcpu | $1 |
| NOSPEC | 1 | vcpu->arch.mmio_gfn | |
| HOST_DATA | 1 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.cr8 | 0-14 |
| USER_DATA | 1 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 1 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 1 | vcpu->arch.nmi_queued.counter | 0 |
| USER_DATA | 1 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 1 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.size | |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 1 | vcpu->arch.pdptrs | |
| LOCK2 | 1 | &vcpu->kvm->srcu | |
| LOCK2 | 1 | &vcpu->mutex | |
| TYPE_LOCK | (struct kvm)->srcu | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/svm/svm.c kvm_check_request() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 808 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | vcpu | $1 |
arch/x86/kvm/vmx/tdx.c kvm_check_request() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 769 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| CAPPED_DATA | 1 | vcpu->arch.mmu | 1 |
| CAPPED_DATA | 1 | vcpu->async_pf.done.next | 1 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | vcpu | $1 |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->object_size |
arch/x86/kvm/../../../virt/kvm/kvm_main.c kvm_check_request() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 2 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | vcpu | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | vcpu->async_pf.done.next | 1 |
| CAPPED_DATA | 1 | vcpu->kvm | 1 |
| CAPPED_DATA | 1 | vcpu->kvm->srcu.srcu_ctrp | 1 |
| DATA_SOURCE | 0 | req | $0 |
| DATA_SOURCE | 1 | vcpu | $1 |
| NOSPEC | 1 | vcpu->arch.mmio_gfn | |
| NOSPEC | 1 | vcpu->arch.xen.runstate_cache.uhva | |
| PREEMPT_ADD | |||
| HOST_DATA | 1 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.cr8 | 0-14[c] |
| USER_DATA | 1 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 1 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 1 | vcpu->arch.mmio_gva | 0,4096-u64max[c] |
| USER_DATA | 1 | vcpu->arch.nmi_queued.counter | 0 |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate2_cache.uhva | 0-u64max[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 1 | vcpu->arch.xen.runstate_cache.uhva | 0-u64max[c] |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_external_spt_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_page_header_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_pte_list_desc_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadow_page_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.mmu_shadowed_info_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->arch.pio.size | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.count | |
| NO_OVERFLOW_SIMPLE | 1 | vcpu->run->io.size | |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 1 | vcpu->arch.pdptrs | |
| LOCK2 | 1 | &vcpu->kvm->srcu | |
| HALF_LOCKED2 | 1 | &vcpu->mutex | |
| TYPE_LOCK | (struct kvm)->srcu |
arch/x86/kvm/vmx/vmx.c handle_invalid_guest_state() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 14 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| DATA_SOURCE | 1 | vcpu | $0 |
| USER_DATA | 1 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| USER_DATA | 1 | *vcpu->arch.hyperv->vp_assist_page.intercept_message | 0-255 |
| USER_DATA | 1 | *vcpu->arch.hyperv->vp_assist_page.reserved2 | 0-255 |
| USER_DATA | 1 | *vcpu->arch.hyperv->vp_assist_page.reserved3 | 0-255 |
| USER_DATA | 1 | *vcpu->arch.hyperv->vp_assist_page.reserved4 | 0-255 |
| USER_DATA | 1 | *vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | 0-255 |
| USER_DATA | 1 | *vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | 0-255 |
| USER_PTR | 1 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 1 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions |
arch/x86/kvm/vmx/vmx.c kvm_is_exception_pending() -> kvm_test_request()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | req | 10 |
| PARAM_VALUE | 1 | vcpu | 4096-ptr_max |
| DATA_SOURCE | 1 | vcpu | $0 |