Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
arch/x86/kvm/regs.c __set_regs() -> kvm_set_rflags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.apic->lapic_timer.timer.is_queued | 1 |
| PARAM_VALUE | 0 | vcpu->arch.apic->lapic_timer.timer_mode | 0,131072-393216 |
| PARAM_VALUE | 0 | vcpu->arch.apic->pending_events | 1 |
| PARAM_VALUE | 0 | vcpu->arch.apic->sipi_vector | 0-u16max |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->arch.pv.pv_unhalted | 1 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->ready | 1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_regs_need_sync_from_vcpu | 1 |
| PARAM_VALUE | 0 | vcpu->arch.regs_avail | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.regs_dirty | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.tsc_offset_adjustment | 0 |
| PARAM_VALUE | 0 | vcpu->cpu | 0 |
| PARAM_VALUE | 0 | vcpu->kvm | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->kvm->arch.kvmclock_update_rs.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vcpu->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vcpu->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vcpu->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vcpu->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vcpu->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vcpu->preempt_notifier.link->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->preempt_notifier.link.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->vcpu_idx | s32min-2147483646 |
| PARAM_VALUE | 1 | rflags | 0,2-u64max |
| BUF_SIZE | 0 | vcpu | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vcpu | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | vcpu | 1 |
| CAPPED_DATA | 0 | vcpu->kvm->mm | 1 |
| CAPPED_DATA | 0 | vcpu->vcpu_idx | 1 |
| DATA_SOURCE | 0 | vcpu | $0 |
| BIT_INFO | 1 | rflags | 0x2,0xffffffffffffffff |
| NOCHECK_CALL | |||
| USER_DATA | 0 | vcpu->arch.rip | 0-u64max |
| USER_DATA | 1 | rflags | 0,2-u64max |
| LOCK2 | 0 | &vcpu->mutex | |
| HALF_LOCKED2 | 0 | &vcpu->kvm->srcu | |
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/x86.c handle_ud() -> kvm_set_rflags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| DATA_SOURCE | 0 | vcpu | $0 |
| BIT_INFO | 1 | rflags | 0x0,0xfffffffffffeffff |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| USER_PTR | 0 | vcpu->arch.emulate_ctxt->fetch.end |
arch/x86/kvm/x86.c kvm_arch_vcpu_ioctl_set_guest_debug() -> kvm_set_rflags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.apic->lapic_timer.timer.is_queued | 1 |
| PARAM_VALUE | 0 | vcpu->arch.apic->lapic_timer.timer.node.expires | 0-s64max |
| PARAM_VALUE | 0 | vcpu->arch.apic->lapic_timer.timer.node.node.node.__rb_parent_color | 1 |
| PARAM_VALUE | 0 | vcpu->arch.apic->lapic_timer.timer_mode | 0,131072-393216 |
| PARAM_VALUE | 0 | vcpu->arch.db | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.eff_db | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.guest_state_protected | 0 |
| PARAM_VALUE | 0 | vcpu->arch.tsc_offset_adjustment | 0 |
| PARAM_VALUE | 0 | vcpu->cpu | 0 |
| PARAM_VALUE | 0 | vcpu->guest_debug | 0-u32max |
| PARAM_VALUE | 0 | vcpu->kvm | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->kvm->arch.kvmclock_update_rs.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vcpu->kvm->arch.noncoherent_dma_count.counter | 0-1 |
| PARAM_VALUE | 0 | vcpu->kvm->online_vcpus.counter | (-2147483647)-s32max |
| PARAM_VALUE | 0 | vcpu->kvm->vm_dead | 0 |
| PARAM_VALUE | 0 | vcpu->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vcpu->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vcpu->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vcpu->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vcpu->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vcpu->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vcpu->preempt_notifier.link->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->preempt_notifier.link.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->vcpu_idx | s32min-2147483646 |
| BUF_SIZE | 0 | vcpu | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vcpu | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | vcpu | 1 |
| CAPPED_DATA | 0 | vcpu->kvm->mm | 1 |
| CAPPED_DATA | 0 | vcpu->vcpu_idx | 1 |
| DATA_SOURCE | 0 | vcpu | $0 |
| DATA_SOURCE | 1 | rflags | r kvm_get_rflags |
| FUZZY_MAX | 0 | vcpu->guest_debug | 0 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | vcpu->arch.singlestep_rip | 0-u64max |
| USER_DATA | 0 | vcpu->guest_debug | 1-u32max |
| LOCK2 | 0 | &vcpu->mutex | |
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/x86.c kvm_inject_realmode_interrupt() -> kvm_set_rflags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->_eip | 0-u16max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->ad_bytes | 2 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->dst.type | 7 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->eip | 0-u16max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->gpa_available | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->have_exception | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->io_read.end | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->io_read.pos | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->lock_prefix | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->mem_read.end | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->mode | 0-4 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->op_bytes | 2 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->op_prefix | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->ops->get_cr | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->ops->get_idt | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->ops->get_msr | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->ops->intercept | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->ops->set_segment | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->ops->write_std | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->perm_ok | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->rep_prefix | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->rex_bits | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->rex_prefix | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->rip_relative | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->src.data | 0-u32max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->src.mm_val | 0-u32max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->src.val | 0-u32max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->src.val64 | 0-u32max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->src.valptr | 0-u32max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->arch.gva_walk.cpu_role.base.cr0_wp | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->kvm->arch.indirect_shadow_pages | 0-4294967295 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->kvm->mmu_lock.owner_cpu | 0-4294967295 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->kvm->mmu_lock.raw_lock.wlocked | 0-255 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->kvm->vm_bugged | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->kvm->vm_dead | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->last_used_slot->as_id | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->last_used_slot->base_gfn | 0-s64max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->last_used_slot->id | 0-32766 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->mmio_is_write | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->mmio_needed | 1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->mmio_nr_fragments | 0-14 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->run->exit_reason | 6 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->run->mmio.is_write | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->run->mmio.len | 0-8 |
| PARAM_VALUE | 0 | vcpu->arch.regs_avail | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.regs_dirty | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.rip | 0-u16max |
| PARAM_VALUE | 0 | vcpu->kvm | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->kvm->arch.vm_type | 0-4,6-255 |
| PARAM_VALUE | 0 | *vcpu->arch.emulate_ctxt->vcpu->arch.gva_walk->permissions | 0-u16max |
| PARAM_VALUE | 0 | *vcpu->arch.emulate_ctxt->vcpu->kvm->mmu_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *vcpu->arch.emulate_ctxt->vcpu->run->mmio.data | 0-255 |
| DATA_SOURCE | 0 | vcpu | $0 |
| NOCHECK_CALL |
arch/x86/kvm/x86.c kvm_task_switch() -> kvm_set_rflags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->dst.type | 7 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->exception.async_page_fault | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->exception.error_code | 0-17179869183 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->exception.error_code_valid | 1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->exception.vector | 0-1,6-7,10-14,16,255 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->gpa_available | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->have_exception | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->io_read.end | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->io_read.pos | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->lock_prefix | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->mem_read.end | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->mode | 1,3 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->op_prefix | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->ops->get_cached_segment_base | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->ops->get_segment | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->perm_ok | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->rep_prefix | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->rex_bits | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->rex_prefix | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->rip_relative | 0 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->arch.cr8 | 0-14 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->arch.gva_walk.cpu_role.base.cr0_wp | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->arch.ngpa_walk.cpu_role.base.cr0_wp | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->arch.ngpa_walk.pkru_mask | 0-4294967295 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->arch.root_mmu.root_role.word | 0-4294967295 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->kvm->arch.indirect_shadow_pages | 0-4294967295 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->kvm->mmu_lock.owner | (-1) |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->kvm->vm_bugged | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->kvm->vm_dead | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->last_used_slot->as_id | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->last_used_slot->base_gfn | 0-s64max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->last_used_slot->gmem.pgoff | 0-2251799813685247 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->last_used_slot->id | 0-32766 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->vcpu->last_used_slot->npages | 0-4503599627370495 |
| PARAM_VALUE | 0 | vcpu->arch.regs_avail | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.regs_dirty | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->mmio_needed | 0 |
| PARAM_VALUE | 0 | *vcpu->arch.emulate_ctxt->vcpu->arch.apic->regs | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | *vcpu->arch.emulate_ctxt->vcpu->arch.ngpa_walk->permissions | 0-u16max |
| PARAM_VALUE | 0 | *vcpu->arch.emulate_ctxt->vcpu->kvm->mmu_lock.owner | (-4611686018427387904)-4611686018427387903 |
| DATA_SOURCE | 0 | vcpu | $0 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| USER_PTR | 0 | vcpu->arch.emulate_ctxt->fetch.end |
arch/x86/kvm/x86.c kvm_vcpu_reset() -> kvm_set_rflags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.apf.halted | 0 |
| PARAM_VALUE | 0 | vcpu->arch.apf.msr_en_val | 0 |
| PARAM_VALUE | 0 | vcpu->arch.apf.msr_int_val | 0 |
| PARAM_VALUE | 0 | vcpu->arch.apic | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.apic->base_address | 0,4096-u64max |
| PARAM_VALUE | 0 | vcpu->arch.apic->highest_isr_cache | (-1) |
| PARAM_VALUE | 0 | vcpu->arch.apic->irr_pending | 1 |
| PARAM_VALUE | 0 | vcpu->arch.apic->isr_count | 0-255 |
| PARAM_VALUE | 0 | vcpu->arch.apic->lapic_timer.timer_advance_ns | 0-5000 |
| PARAM_VALUE | 0 | vcpu->arch.apic->lapic_timer.timer_mode | 0,131072-393216 |
| PARAM_VALUE | 0 | vcpu->arch.apic->lapic_timer.timer_mode_mask | 131072,393216 |
| PARAM_VALUE | 0 | vcpu->arch.apic->sw_enabled | 0 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->kvm->arch.apic_map->xapic_flat_map->lapic_timer.timer_mode | 0-4294967295 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->kvm->arch.apic_map_dirty.counter | 2 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vcpu->arch.apic_base | 4276094976,4276095232 |
| PARAM_VALUE | 0 | vcpu->arch.cpuid_dynamic_bits_dirty | 1 |
| PARAM_VALUE | 0 | vcpu->arch.cr2 | 0 |
| PARAM_VALUE | 0 | vcpu->arch.dr6 | 4294905840 |
| PARAM_VALUE | 0 | vcpu->arch.dr7 | 1024 |
| PARAM_VALUE | 0 | vcpu->arch.exception.injected | 0 |
| PARAM_VALUE | 0 | vcpu->arch.exception.pending | 0 |
| PARAM_VALUE | 0 | vcpu->arch.exception_vmexit.pending | 0 |
| PARAM_VALUE | 0 | vcpu->arch.hflags | 0 |
| PARAM_VALUE | 0 | vcpu->arch.interrupt.injected | 0 |
| PARAM_VALUE | 0 | vcpu->arch.nmi_injected | 0 |
| PARAM_VALUE | 0 | vcpu->arch.nmi_pending | 0 |
| PARAM_VALUE | 0 | vcpu->arch.nmi_queued.counter | 0 |
| PARAM_VALUE | 0 | vcpu->arch.pv_time.active | 0 |
| PARAM_VALUE | 0 | vcpu->arch.pv_time.khva | 0 |
| PARAM_VALUE | 0 | vcpu->arch.pv_time.kvm->gpc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vcpu->arch.pv_time.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vcpu->arch.pv_time.lock.owner | (-1) |
| PARAM_VALUE | 0 | vcpu->arch.pv_time.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vcpu->arch.pv_time.pfn | 9218868437227405312 |
| PARAM_VALUE | 0 | vcpu->arch.pv_time.valid | 0 |
| PARAM_VALUE | 0 | vcpu->arch.regs_avail | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.regs_dirty | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.smi_count | 0 |
| PARAM_VALUE | 0 | vcpu->arch.smi_pending | 0 |
| PARAM_VALUE | 0 | vcpu->arch.st.msr_val | 0 |
| PARAM_VALUE | 0 | vcpu->arch.time | 0 |
| PARAM_VALUE | 0 | vcpu->async_pf.queued | 0 |
| PARAM_VALUE | 0 | vcpu->guest_debug | 131072-u64max |
| PARAM_VALUE | 0 | vcpu->kvm->arch.apicv_update_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vcpu->kvm->arch.apicv_update_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vcpu->preempt_notifier.ops->sched_in | 0,9110675458964602880 |
| PARAM_VALUE | 0 | vcpu->preempt_notifier.ops->sched_out | 0,435091332528357376 |
| PARAM_VALUE | 0 | vcpu->run->debug.arch.exception | 1,3 |
| PARAM_VALUE | 0 | vcpu->run->emulation_failure.flags | 0-1 |
| PARAM_VALUE | 0 | vcpu->run->emulation_failure.insn_size | 1-255 |
| PARAM_VALUE | 0 | vcpu->run->emulation_failure.ndata | 6,8,10,12 |
| PARAM_VALUE | 0 | vcpu->run->emulation_failure.suberror | 1 |
| PARAM_VALUE | 0 | vcpu->run->hypercall.ret | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | vcpu->run->internal.ndata | 0,2,4-5 |
| PARAM_VALUE | 0 | vcpu->run->internal.suberror | 1-4 |
| PARAM_VALUE | 0 | vcpu->run->memory_fault.flags | 0,8 |
| PARAM_VALUE | 0 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520 |
| PARAM_VALUE | 0 | vcpu->run->memory_fault.size | 4096 |
| PARAM_VALUE | 0 | vcpu->run->mmio.is_write | 0-1 |
| PARAM_VALUE | 0 | vcpu->run->mmio.len | 0-8 |
| PARAM_VALUE | 0 | vcpu->run->system_event.ndata | 0-1,16 |
| PARAM_VALUE | 0 | vcpu->run->system_event.type | 2-3,6-7 |
| PARAM_VALUE | 0 | *vcpu->arch.apic->vcpu->kvm->arch.vioapic->irq_eoi | 0-4294967295 |
| PARAM_VALUE | 1 | rflags | 2 |
| BUF_SIZE | 0 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | vcpu->arch.mce_banks | (-1),8 |
| BUF_SIZE | 0 | vcpu->arch.mci_ctl2_banks | (-1),8 |
| CAPPED_DATA | 0 | vcpu | 1 |
| CAPPED_DATA | 0 | vcpu->arch.cpuid_nent | 1 |
| DATA_SOURCE | 0 | vcpu | $0 |
| NOSPEC | 0 | vcpu->arch.mmio_gfn | |
| NOSPEC | 0 | vcpu->vcpu_id | |
| MEM_ZERO | 0 | vcpu->arch.db | |
| MEM_ZERO | 0 | vcpu->arch.regs | |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 0 | vcpu->arch.apic->lapic_timer.expired_tscdeadline | 0-u64max |
| USER_DATA | 0 | vcpu->arch.apic->sipi_vector | 1-255[c] |
| USER_DATA | 0 | vcpu->arch.cr8 | 0-14 |
| USER_DATA | 0 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 0 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 0 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 0 | vcpu->arch.pv_time.kvm->arch.has_private_mem | 0[c] |
| USER_DATA | 0 | vcpu->arch.pv_time.kvm->arch.pre_fault_allowed | 0-1 |
| USER_DATA | 0 | vcpu->arch.pv_time.kvm->arch.vm_type | 0-6 |
| USER_DATA | 0 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 0 | vcpu->arch.virtual_tsc_khz | 1-u32max |
| USER_DATA | 0 | vcpu->arch.xen.runstate2_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate2_cache.kvm->arch.has_private_mem | 0[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate2_cache.kvm->arch.pre_fault_allowed | 0-1 |
| USER_DATA | 0 | vcpu->arch.xen.runstate2_cache.kvm->arch.vm_type | 0-5 |
| USER_DATA | 0 | vcpu->arch.xen.runstate2_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate2_cache.uhva | 0-u64max[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate_cache.kvm->arch.has_private_mem | 0[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate_cache.kvm->arch.pre_fault_allowed | 0-1 |
| USER_DATA | 0 | vcpu->arch.xen.runstate_cache.kvm->arch.vm_type | 0-5 |
| USER_DATA | 0 | vcpu->arch.xen.runstate_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate_cache.uhva | 0-u64max[c] |
| USER_DATA | 0 | vcpu->arch.xen.vcpu_info_cache.kvm->arch.has_private_mem | 0[c] |
| USER_DATA | 0 | vcpu->arch.xen.vcpu_info_cache.kvm->arch.pre_fault_allowed | 0-1 |
| USER_DATA | 0 | vcpu->arch.xen.vcpu_info_cache.kvm->arch.vm_type | 0-5 |
| USER_DATA | 0 | vcpu->arch.xen.vcpu_time_info_cache.kvm->arch.has_private_mem | 0[c] |
| USER_DATA | 0 | vcpu->arch.xen.vcpu_time_info_cache.kvm->arch.pre_fault_allowed | 0-1 |
| USER_DATA | 0 | vcpu->arch.xen.vcpu_time_info_cache.kvm->arch.vm_type | 0-5 |
| USER_DATA | 0 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| USER_DATA | 0 | vcpu->vcpu_id | 1-16383[c] |
| USER_DATA | 0 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| USER_DATA | 0 | *vcpu->arch.sev_pio_data | s64min-s64max |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_external_spt_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_external_spt_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_external_spt_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_external_spt_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_page_header_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_page_header_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_page_header_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_pte_list_desc_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_pte_list_desc_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_pte_list_desc_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_shadow_page_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_shadow_page_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_shadowed_info_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_shadowed_info_cache.kmem_cache->object_size | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_shadowed_info_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.pio.size | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->run->io.count | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->run->io.size | |
| USER_PTR | 0 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 0 | vcpu->arch.pdptrs | |
| HALF_LOCKED2 | 0 | &vcpu->kvm->srcu | |
| HALF_LOCKED2 | 0 | &vcpu->mutex |
arch/x86/kvm/x86.c x86_emulate_instruction() -> kvm_set_rflags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->run->system_event.ndata | 0-1,16 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->run->system_event.type | 2-3,6-7 |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.emulate_ctxt->ops->get_cr | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.regs_avail | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.regs_dirty | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->kvm->arch.apic_map->xapic_flat_map->lapic_timer.timer_advance_ns | 0-4294967295 |
| PARAM_VALUE | 0 | vcpu->kvm->arch.apic_map->xapic_flat_map->lapic_timer.timer_mode_mask | 0-4294967295 |
| PARAM_VALUE | 0 | vcpu->kvm->arch.apicv_update_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vcpu->kvm->arch.apicv_update_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vcpu->run->debug.arch.exception | 1,3 |
| PARAM_VALUE | 0 | vcpu->run->hypercall.ret | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | vcpu->run->memory_fault.flags | 0,8 |
| PARAM_VALUE | 0 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520 |
| PARAM_VALUE | 0 | vcpu->run->memory_fault.size | 4096 |
| BUF_SIZE | 0 | vcpu | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | vcpu | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | vcpu | $0 |
| BIT_INFO | 1 | rflags | 0x0,0xfffffffffffeffff |
| NOCHECK_CALL | |||
| USER_DATA | 0 | vcpu->arch.cr8 | 0-14 |
| USER_DATA | 0 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 0 | vcpu->arch.mmio_gva | 0,4096-u64max[c] |
| USER_DATA | 0 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_external_spt_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_external_spt_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_external_spt_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_page_header_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_page_header_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_page_header_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_pte_list_desc_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_pte_list_desc_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_shadow_page_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_shadow_page_cache.kmem_cache->sheaf_capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_shadow_page_cache.nobjs | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_shadowed_info_cache.capacity | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.mmu_shadowed_info_cache.nobjs | |
| USER_PTR | 0 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 0 | vcpu->arch.pdptrs | |
| HALF_LOCKED2 | 0 | &vcpu->kvm->srcu | |
| HALF_LOCKED2 | 0 | &vcpu->mutex |
arch/x86/kvm/smm.c enter_smm() -> kvm_set_rflags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->____srcu_idx | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.apf.halted | 0 |
| PARAM_VALUE | 0 | vcpu->arch.apic->lapic_timer.timer_mode | 0,131072-393216 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->kvm->arch.apic_map->xapic_flat_map->lapic_timer.timer_mode | 0-4294967295 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vcpu->arch.at_instruction_boundary | 0 |
| PARAM_VALUE | 0 | vcpu->arch.complete_userspace_io | 0 |
| PARAM_VALUE | 0 | vcpu->arch.cr0_guest_owned_bits | 65536-u64max |
| PARAM_VALUE | 0 | vcpu->arch.cr4_guest_owned_bits | 2-u64max |
| PARAM_VALUE | 0 | vcpu->arch.exception.injected | 0 |
| PARAM_VALUE | 0 | vcpu->arch.exception.pending | 0 |
| PARAM_VALUE | 0 | vcpu->arch.exception_from_userspace | 0 |
| PARAM_VALUE | 0 | vcpu->arch.exception_vmexit.pending | 0 |
| PARAM_VALUE | 0 | vcpu->arch.guest_fpu.fpstate | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.guest_mmu->pae_root | 0 |
| PARAM_VALUE | 0 | vcpu->arch.gva_walk.fmt->permissions | 0-u16max |
| PARAM_VALUE | 0 | vcpu->arch.hflags | 0,2-u32max |
| PARAM_VALUE | 0 | vcpu->arch.interrupt.injected | 0 |
| PARAM_VALUE | 0 | vcpu->arch.mmio_gva | 0 |
| PARAM_VALUE | 0 | vcpu->arch.mmu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.mp_state | 0 |
| PARAM_VALUE | 0 | vcpu->arch.nested_run_pending | 0,2-255 |
| PARAM_VALUE | 0 | vcpu->arch.nmi_injected | 0 |
| PARAM_VALUE | 0 | vcpu->arch.regs_avail | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.root_mmu.fmt->permissions | 0-u16max |
| PARAM_VALUE | 0 | vcpu->arch.root_mmu.page_fault | 4654005377237938176,6604280681433620480,6624689191963803648,6795630133462265856 |
| PARAM_VALUE | 0 | vcpu->arch.root_mmu.sync_spte | 0,799230455575592960,7721480187534942208 |
| PARAM_VALUE | 0 | vcpu->arch.smi_pending | 0 |
| PARAM_VALUE | 0 | vcpu->arch.tsc_offset_adjustment | 0 |
| PARAM_VALUE | 0 | vcpu->cpu | 0 |
| PARAM_VALUE | 0 | vcpu->kvm | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->kvm->arch.apicv_update_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | vcpu->kvm->arch.apicv_update_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | vcpu->kvm->arch.irqchip_mode | 0,2-u32max |
| PARAM_VALUE | 0 | vcpu->kvm->mmu_lock.owner | (-1) |
| PARAM_VALUE | 0 | vcpu->kvm->mmu_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | vcpu->kvm->online_vcpus.counter | (-2147483647)-s32max |
| PARAM_VALUE | 0 | vcpu->kvm->srcu.srcu_ctrp | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vcpu->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | vcpu->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | vcpu->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | vcpu->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | vcpu->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vcpu->preempt_notifier.link->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->preempt_notifier.link.pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->requests | 0-1 |
| PARAM_VALUE | 0 | vcpu->run | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->run->debug.arch.exception | 1,3 |
| PARAM_VALUE | 0 | vcpu->run->emulation_failure.flags | 0-1 |
| PARAM_VALUE | 0 | vcpu->run->emulation_failure.insn_size | 1-255 |
| PARAM_VALUE | 0 | vcpu->run->emulation_failure.ndata | 6,8,10,12 |
| PARAM_VALUE | 0 | vcpu->run->emulation_failure.suberror | 1 |
| PARAM_VALUE | 0 | vcpu->run->exit_reason | 0,10,39 |
| PARAM_VALUE | 0 | vcpu->run->flags | 0 |
| PARAM_VALUE | 0 | vcpu->run->hypercall.ret | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | vcpu->run->hyperv.type | 0-3 |
| PARAM_VALUE | 0 | vcpu->run->internal.ndata | 0,2,4-5 |
| PARAM_VALUE | 0 | vcpu->run->internal.suberror | 1-4 |
| PARAM_VALUE | 0 | vcpu->run->memory_fault.flags | 0,8 |
| PARAM_VALUE | 0 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520 |
| PARAM_VALUE | 0 | vcpu->run->memory_fault.size | 4096 |
| PARAM_VALUE | 0 | vcpu->run->mmio.is_write | 0-1 |
| PARAM_VALUE | 0 | vcpu->run->mmio.len | 0-8 |
| PARAM_VALUE | 0 | vcpu->run->request_interrupt_window | 1-255 |
| PARAM_VALUE | 0 | vcpu->run->system_event.ndata | 0-1,16 |
| PARAM_VALUE | 0 | vcpu->run->system_event.type | 2-3,6-7 |
| PARAM_VALUE | 0 | vcpu->wants_to_run | 1 |
| PARAM_VALUE | 0 | *vcpu->arch.apic->vcpu->kvm->arch.vioapic->irq_eoi | 0-4294967295 |
| PARAM_VALUE | 1 | rflags | 2 |
| BUF_SIZE | 0 | vcpu | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vcpu | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | vcpu->arch.mmu | 1 |
| CAPPED_DATA | 0 | vcpu->kvm | 1 |
| CAPPED_DATA | 0 | vcpu->kvm->mm | 1 |
| CAPPED_DATA | 0 | vcpu->kvm->srcu.srcu_ctrp | 1 |
| DATA_SOURCE | 0 | vcpu | $0 |
| FUZZY_MAX | 0 | vcpu->run->exit_reason | 0 |
| BIT_INFO | 0 | vcpu->guest_debug | 0x0,0xffffffffffefffff |
| NOSPEC | 0 | vcpu->arch.mmio_gfn | |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | vcpu->arch.host_debugctl | 0-u64max[c] |
| USER_DATA | 0 | vcpu->arch.cr8 | 0-14 |
| USER_DATA | 0 | vcpu->arch.exception.payload | 0-u64max |
| USER_DATA | 0 | vcpu->arch.l1_tsc_offset | 0-u64max |
| USER_DATA | 0 | vcpu->arch.mmio_gfn | 0-4503599627370495[c] |
| USER_DATA | 0 | vcpu->arch.nmi_queued.counter | 0 |
| USER_DATA | 0 | vcpu->arch.tsc_offset | 0-u64max |
| USER_DATA | 0 | vcpu->arch.xen.runstate2_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate2_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate2_cache.uhva | 0-u64max[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate_cache.gpa | 0-18446744073709551614[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate_cache.pfn | 0-4503599627370494[c] |
| USER_DATA | 0 | vcpu->arch.xen.runstate_cache.uhva | 0-u64max[c] |
| USER_DATA | 0 | vcpu->run->memory_fault.gpa | 0,4096-18446744073709547520[c] |
| USER_DATA | 0 | *vcpu->arch.emulate_ctxt->fetch.end | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.pio.count | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->arch.pio.size | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->run->io.count | |
| NO_OVERFLOW_SIMPLE | 0 | vcpu->run->io.size | |
| USER_PTR | 0 | vcpu->arch.emulate_ctxt->fetch.end | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.intercept_message | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.reserved2 | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.reserved3 | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.reserved4 | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information | |
| USER_PTR | 0 | vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions | |
| USER_PTR | 0 | vcpu->arch.pdptrs | |
| LOCK2 | 0 | &vcpu->kvm->srcu | |
| LOCK2 | 0 | &vcpu->mutex | |
| TYPE_LOCK | (struct kvm)->srcu | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/svm/nested.c nested_svm_vmexit() -> kvm_set_rflags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.hflags | 0,2-u32max |
| PARAM_VALUE | 0 | vcpu->arch.load_eoi_exitmap_pending | 0 |
| PARAM_VALUE | 0 | vcpu->arch.mp_state | 0 |
| PARAM_VALUE | 0 | vcpu->arch.pv.pv_unhalted | 0 |
| PARAM_VALUE | 0 | vcpu->kvm | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->kvm->srcu.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vcpu->kvm->vm_bugged | 1 |
| PARAM_VALUE | 0 | vcpu->kvm->vm_dead | 1 |
| PARAM_VALUE | 0 | vcpu->last_used_slot | 0,4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->last_used_slot_gen | 0-2,9223372034707292161-9223372036854775809,18446744071562067968-u64max |
| PARAM_VALUE | 0 | vcpu->stat.guest_mode | 0 |
| BUF_SIZE | 0 | vcpu | 7720 |
| NOCHECK_CALL |
arch/x86/kvm/svm/nested.c nested_vmcb02_prepare_save() -> kvm_set_rflags()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vcpu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.guest_mmu.fmt.bad_mt_xwr | 0 |
| PARAM_VALUE | 0 | vcpu->arch.guest_mmu.page_fault | 4654005377237938176,6624689191963803648,6795630133462265856 |
| PARAM_VALUE | 0 | vcpu->arch.guest_mmu.sync_spte | 0,799230455575592960,7721480187534942208 |
| PARAM_VALUE | 0 | vcpu->arch.mmio_gva | 0 |
| PARAM_VALUE | 0 | vcpu->arch.mmu | 4096-ptr_max |
| PARAM_VALUE | 0 | vcpu->arch.ngpa_walk.fmt.bad_mt_xwr | 0 |
| PARAM_VALUE | 0 | vcpu->arch.ngpa_walk.get_guest_pgd | 4965856078679683072 |
| PARAM_VALUE | 0 | vcpu->arch.ngpa_walk.get_pdptr | 1255656061363494912 |
| PARAM_VALUE | 0 | vcpu->arch.ngpa_walk.gva_to_gpa | 3025047059327504384,4917861297175281664,8823471726512275456 |
| PARAM_VALUE | 0 | vcpu->arch.ngpa_walk.inject_page_fault | 5676786260861308928 |
| PARAM_VALUE | 0 | vcpu->stat.guest_mode | 1 |
| PARAM_VALUE | 1 | rflags | 0,2-u64max |
| BUF_SIZE | 0 | vcpu | 7720 |
| BIT_INFO | 1 | rflags | 0x2,0xffffffffffffffff |
| NOCHECK_CALL |