Description of problem: state_test/smm_test selftests are failing on HYGON with: "KVM_GET_MSRS failed, r: 86 (failed on MSR c0010130)" In order to support live migration for Hygon CSV2 guest, the commit 54378dcde7a5 ("anolis: KVM: SVM: Export MSR_AMD64_SEV_ES_GHCB to userspace for CSV2 guest") support to emulate KVM_AMD64_SEV_ES_GHCB. But it doesn't handling the return code well if the virtual machine is not a CSV2 guest. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
The PR Link: https://gitee.com/anolis/cloud-kernel/pulls/3316