mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
qapi: flatten GuestPanicInformation union
Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com> Signed-off-by: Denis V. Lunev <den@openvz.org> CC: Paolo Bonzini <pbonzini@redhat.com> CC: Eric Blake <eblake@redhat.com> Message-Id: <1487614915-18710-3-git-send-email-den@openvz.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
025533f6ee
commit
e8ed97a647
3 changed files with 24 additions and 15 deletions
12
vl.c
12
vl.c
|
@ -1717,14 +1717,14 @@ void qemu_system_guest_panicked(GuestPanicInformation *info)
|
|||
}
|
||||
|
||||
if (info) {
|
||||
if (info->type == GUEST_PANIC_INFORMATION_KIND_HYPER_V) {
|
||||
if (info->type == GUEST_PANIC_INFORMATION_TYPE_HYPER_V) {
|
||||
qemu_log_mask(LOG_GUEST_ERROR, "HV crash parameters: (%#"PRIx64
|
||||
" %#"PRIx64" %#"PRIx64" %#"PRIx64" %#"PRIx64")\n",
|
||||
info->u.hyper_v.data->arg1,
|
||||
info->u.hyper_v.data->arg2,
|
||||
info->u.hyper_v.data->arg3,
|
||||
info->u.hyper_v.data->arg4,
|
||||
info->u.hyper_v.data->arg5);
|
||||
info->u.hyper_v.arg1,
|
||||
info->u.hyper_v.arg2,
|
||||
info->u.hyper_v.arg3,
|
||||
info->u.hyper_v.arg4,
|
||||
info->u.hyper_v.arg5);
|
||||
}
|
||||
qapi_free_GuestPanicInformation(info);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue