qemu-e2k/target-arm
Christoffer Dall 25f2895e0e 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>
2014-12-11 12:07:53 +00:00
..
2014-06-05 16:10:33 +02:00
2014-12-11 12:07:51 +00:00
2014-12-11 12:07:52 +00:00
2014-12-11 12:07:52 +00:00
2014-09-29 18:48:50 +01:00
2014-12-11 12:07:51 +00:00
2011-07-23 11:26:12 -05:00