Re: [RFC PATCH 1/2] KVM: x86: Introduce KVM_{G,S}ET_ONE_REG uAPIs support

From: Yang, Weijiang
Date: Mon Jun 10 2024 - 22:06:19 EST


On 6/11/2024 9:04 AM, Sean Christopherson wrote:
On Thu, May 09, 2024, Yang Weijiang wrote:
@@ -5859,6 +5884,11 @@ static int kvm_vcpu_ioctl_enable_cap(struct kvm_vcpu *vcpu,
}
}
+static int kvm_translate_synthetic_msr(u32 *index)
+{
+ return 0;
This needs to be -EINVAL.

OK, I'll change it, thanks!