commit | d4787579d2133370ab47963c6527e79731df5b2a | [log] [tgz] |
---|---|---|
author | Zhenzhong Duan <zhenzhong.duan@intel.com> | Tue Apr 27 03:31:38 2021 +0800 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Mon Apr 26 05:28:25 2021 -0400 |
tree | a3bae38c312e49f665e96a7caddcbaff5ab795f4 | |
parent | 10dbdf98acd620f376313b85b587c9b9563fc170 [diff] |
selftests: kvm: Fix the check of return value In vm_vcpu_rm() and kvm_vm_release(), a stale return value is checked in TEST_ASSERT macro. Fix it by assigning variable ret with correct return value. Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Message-Id: <20210426193138.118276-1-zhenzhong.duan@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>