mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
report guest crash information in GUEST_PANICKED event
it's not very convenient to use the crash-information property interface, so provide a CPU class callback to get the guest crash information, and pass that information in the event Signed-off-by: Anton Nefedov <anton.nefedov@virtuozzo.com> Signed-off-by: Denis V. Lunev <den@openvz.org> Message-Id: <1487053524-18674-3-git-send-email-den@openvz.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
d187e08dc4
commit
c86f106b85
10 changed files with 41 additions and 11 deletions
|
@ -488,7 +488,9 @@
|
|||
#
|
||||
# @action: action that has been taken, currently always "pause"
|
||||
#
|
||||
# Since: 1.5
|
||||
# @info: optional information about a panic
|
||||
#
|
||||
# Since: 1.5 (@info since 2.9)
|
||||
#
|
||||
# Example:
|
||||
#
|
||||
|
@ -497,7 +499,7 @@
|
|||
#
|
||||
##
|
||||
{ 'event': 'GUEST_PANICKED',
|
||||
'data': { 'action': 'GuestPanicAction' } }
|
||||
'data': { 'action': 'GuestPanicAction', '*info': 'GuestPanicInformation' } }
|
||||
|
||||
##
|
||||
# @QUORUM_FAILURE:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue