commit | 386627d825d82ed3f7261a0de71a7cc4144e3c4b | [log] [tgz] |
---|---|---|
author | Marc Zyngier <marc.zyngier@arm.com> | Mon Apr 03 19:37:58 2017 +0100 |
committer | Christoffer Dall <cdall@linaro.org> | Sun Apr 09 07:49:31 2017 -0700 |
tree | 5a94a31477de5fbf3cf77e21196e448e2e42d6ff | |
parent | 4d5f9c14fb638cbe36795cb4b8a0b05ceba0a526 [diff] |
ARM: KVM: Gracefully handle hyp-stubs being restored from under our feet Should kvm_reboot() be invoked while guest is running, an IPI wil be issued, forcing the guest to exit and HYP being reset to the stubs. We will then try to reenter the guest, only to get an error (HVC_STUB_ERR). This patch allows this case to be gracefully handled by exiting the run loop. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <cdall@linaro.org>