diff options
| author | David Gibson | 2017-06-07 09:06:44 +0200 |
|---|---|---|
| committer | David Gibson | 2017-06-08 06:38:18 +0200 |
| commit | 2c5534776b375bbaff3896420e41cb981d40e2bc (patch) | |
| tree | 2c86af6e415e4b6a6b927826a2a151da5bfce2f8 /include/hw | |
| parent | spapr: fix memory leak in spapr_memory_pre_plug() (diff) | |
| download | qemu-2c5534776b375bbaff3896420e41cb981d40e2bc.tar.gz qemu-2c5534776b375bbaff3896420e41cb981d40e2bc.tar.xz qemu-2c5534776b375bbaff3896420e41cb981d40e2bc.zip | |
pseries: Correct panic behaviour for pseries machine type
The pseries machine type doesn't usually use the 'pvpanic' device as such,
because it has a firmware/hypervisor facility with roughly the same
purpose. The 'ibm,os-term' RTAS call notifies the hypervisor that the
guest has crashed.
Our implementation of this call was sending a GUEST_PANICKED qmp event;
however, it was not doing the other usual panic actions, making its
behaviour different from pvpanic for no good reason.
To correct this, we should call qemu_system_guest_panicked() rather than
directly sending the panic event.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/hw')
0 files changed, 0 insertions, 0 deletions
