diff options
author | David Gibson | 2019-08-28 03:43:15 +0200 |
---|---|---|
committer | David Gibson | 2019-08-29 01:46:07 +0200 |
commit | 9146206eb26c1436c80a7c2ca1e4c5f86b27179d (patch) | |
tree | 25daec3fa6c74d8aacbe41a83bd561621839ff7e /include/hw/ppc/spapr.h | |
parent | powerpc/spapr: Add host threads parameter to ibm,get_system_parameter (diff) | |
download | qemu-9146206eb26c1436c80a7c2ca1e4c5f86b27179d.tar.gz qemu-9146206eb26c1436c80a7c2ca1e4c5f86b27179d.tar.xz qemu-9146206eb26c1436c80a7c2ca1e4c5f86b27179d.zip |
spapr: Use SHUTDOWN_CAUSE_SUBSYSTEM_RESET for CAS reboots
The sPAPR platform includes feature negotiation between the guest and
platform. That sometimes requires reconfiguring the virtual hardware, and
in some cases that is a complex enough process that we trigger a system
reset to handle it. That interacts badly with -no-reboot - we trigger the
reboot, -no-reboot means we exit and so the guest never gets to try again.
Eventually we want to get rid of CAS reboots entirely, since they're odd
and irritating for the user. But in the meantime we can fix the -no-reboot
problem by using SHUTDOWN_CAUSE_SUBSYSTEM_RESET which ignores -no-reboot
and seems to be designed for this sort of faux-reset for internal purposes
only.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/spapr.h')
0 files changed, 0 insertions, 0 deletions