Re: [PATCH v2] target-arm: Check error conditions on kvm_arm_reset_vcpu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8 December 2014 at 11:58, Christoffer Dall
<christoffer.dall@xxxxxxxxxx> wrote:
> On Mon, Dec 08, 2014 at 12:53:50PM +0100, Christoffer Dall wrote:
>> 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@xxxxxxxxxx>
>> ---
>> Changes [v1 -> v2]:
>>  - Rebased onto Peter Maydell's "support migration/save/load on AArch64 CPUs"
>>    series.
>
> Forgot to mention that I also changed strerror(ret) to strerror(-ret).

That's ok, I forgot to check that you had when I reviewed this :-)

-- PMM
_______________________________________________
kvmarm mailing list
kvmarm@xxxxxxxxxxxxxxxxxxxxx
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm




[Index of Archives]     [Linux KVM]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux