Home
last modified time | relevance | path

Searched refs:panic_info (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/target/i386/
H A Dcpu-system.c273 GuestPanicInformation *panic_info = NULL; in x86_cpu_get_crash_info() local
276 panic_info = g_new0(GuestPanicInformation, 1); in x86_cpu_get_crash_info()
278 panic_info->type = GUEST_PANIC_INFORMATION_TYPE_HYPER_V; in x86_cpu_get_crash_info()
281 panic_info->u.hyper_v.arg1 = env->msr_hv_crash_params[0]; in x86_cpu_get_crash_info()
282 panic_info->u.hyper_v.arg2 = env->msr_hv_crash_params[1]; in x86_cpu_get_crash_info()
283 panic_info->u.hyper_v.arg3 = env->msr_hv_crash_params[2]; in x86_cpu_get_crash_info()
284 panic_info->u.hyper_v.arg4 = env->msr_hv_crash_params[3]; in x86_cpu_get_crash_info()
285 panic_info->u.hyper_v.arg5 = env->msr_hv_crash_params[4]; in x86_cpu_get_crash_info()
288 return panic_info; in x86_cpu_get_crash_info()
295 GuestPanicInformation *panic_info; in x86_cpu_get_crash_info_qom() local
[all …]
/openbmc/qemu/target/i386/kvm/
H A Dtdx.c1331 GuestPanicInformation *panic_info; in tdx_panicked_on_fatal_error() local
1333 panic_info = g_new0(GuestPanicInformation, 1); in tdx_panicked_on_fatal_error()
1334 panic_info->type = GUEST_PANIC_INFORMATION_TYPE_TDX; in tdx_panicked_on_fatal_error()
1335 panic_info->u.tdx.error_code = (uint32_t) error_code; in tdx_panicked_on_fatal_error()
1336 panic_info->u.tdx.message = message; in tdx_panicked_on_fatal_error()
1337 panic_info->u.tdx.gpa = gpa; in tdx_panicked_on_fatal_error()
1338 panic_info->u.tdx.has_gpa = has_gpa; in tdx_panicked_on_fatal_error()
1340 qemu_system_guest_panicked(panic_info); in tdx_panicked_on_fatal_error()