diff options
| author | Christoffer Dall | 2014-12-11 13:07:53 +0100 |
|---|---|---|
| committer | Peter Maydell | 2014-12-11 13:07:53 +0100 |
| commit | 25f2895e0e437a3548f9794846001fb5d5ab853d (patch) | |
| tree | dc052447a7134a4b71ae952136e3d19796090640 /include | |
| parent | target-arm: Support save/load for 64 bit CPUs (diff) | |
| download | qemu-25f2895e0e437a3548f9794846001fb5d5ab853d.tar.gz qemu-25f2895e0e437a3548f9794846001fb5d5ab853d.tar.xz qemu-25f2895e0e437a3548f9794846001fb5d5ab853d.zip | |
target-arm: Check error conditions on kvm_arm_reset_vcpu
When resetting a VCPU we currently call both kvm_arm_vcpu_init() and
write_kvmstate_to_list(), both of which can fail, but we never check the
return value.
The only choice here is to print an error an exit if the calls fail.
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1418039630-11773-1-git-send-email-christoffer.dall@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
