On Wed, 22 Mar 2023 18:45:28 +0400, Ivan Orlov wrote:
There is a 'malloc' call in vcpu_save_state function, which can be unsuccessful. This patch will add the malloc failure checking to avoid possible null dereference and give more information about test fail reasons.
Applied to kvm-x86 selftests, thanks!
[1/1] selftests: kvm: Add 'malloc' failure check in vcpu_save_state https://github.com/kvm-x86/linux/commit/735b0e0f2d00
-- https://github.com/kvm-x86/linux/tree/next https://github.com/kvm-x86/linux/tree/fixes