Home
last modified time | relevance | path

Searched refs:system_event (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/arch/arm64/kvm/
H A Dpsci.c185 memset(&vcpu->run->system_event, 0, sizeof(vcpu->run->system_event)); in kvm_prepare_system_event()
186 vcpu->run->system_event.type = type; in kvm_prepare_system_event()
187 vcpu->run->system_event.ndata = 1; in kvm_prepare_system_event()
188 vcpu->run->system_event.data[0] = flags; in kvm_prepare_system_event()
212 memset(&run->system_event, 0, sizeof(vcpu->run->system_event)); in kvm_psci_system_suspend()
213 run->system_event.type = KVM_SYSTEM_EVENT_SUSPEND; in kvm_psci_system_suspend()
H A Darm.c742 memset(&vcpu->run->system_event, 0, sizeof(vcpu->run->system_event)); in kvm_vcpu_suspend()
743 vcpu->run->system_event.type = KVM_SYSTEM_EVENT_WAKEUP; in kvm_vcpu_suspend()
/openbmc/linux/arch/riscv/kvm/
H A Dvcpu_sbi.c112 memset(&run->system_event, 0, sizeof(run->system_event)); in kvm_riscv_vcpu_sbi_system_reset()
113 run->system_event.type = type; in kvm_riscv_vcpu_sbi_system_reset()
114 run->system_event.ndata = 1; in kvm_riscv_vcpu_sbi_system_reset()
115 run->system_event.data[0] = reason; in kvm_riscv_vcpu_sbi_system_reset()
/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Dpsci_test.c184 TEST_ASSERT(run->system_event.type == KVM_SYSTEM_EVENT_SUSPEND, in host_test_system_suspend()
186 run->system_event.type, KVM_SYSTEM_EVENT_SUSPEND); in host_test_system_suspend()
/openbmc/linux/arch/x86/kvm/svm/
H A Dsev.c2851 vcpu->run->system_event.type = KVM_SYSTEM_EVENT_SEV_TERM; in sev_handle_vmgexit_msr_protocol()
2852 vcpu->run->system_event.ndata = 1; in sev_handle_vmgexit_msr_protocol()
2853 vcpu->run->system_event.data[0] = control->ghcb_gpa; in sev_handle_vmgexit_msr_protocol()
/openbmc/qemu/linux-headers/linux/
H A Dkvm.h378 } system_event; member
/openbmc/linux/tools/include/uapi/linux/
H A Dkvm.h457 } system_event; member
/openbmc/linux/include/uapi/linux/
H A Dkvm.h457 } system_event; member
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c3240 trace_kvm_run_exit_system_event(cpu->cpu_index, run->system_event.type); in kvm_cpu_exec()
3241 switch (run->system_event.type) { in kvm_cpu_exec()
/openbmc/linux/arch/x86/kvm/
H A Dx86.c10636 vcpu->run->system_event.type = KVM_SYSTEM_EVENT_CRASH; in vcpu_enter_guest()
10637 vcpu->run->system_event.ndata = 0; in vcpu_enter_guest()
10643 vcpu->run->system_event.type = KVM_SYSTEM_EVENT_RESET; in vcpu_enter_guest()
10644 vcpu->run->system_event.ndata = 0; in vcpu_enter_guest()
/openbmc/linux/Documentation/virt/kvm/
H A Dapi.rst6445 } system_event;