diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index a547b0052396a9d4bef9183645c54257a3e05e51..43173382f02f6e1842a8b65cde1a25b3883eac07 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -272,7 +272,7 @@ static int kvm_msr_ignored_check(struct kvm_vcpu *vcpu, u32 msr, } else { vcpu_debug_ratelimited(vcpu, "unhandled %s: 0x%x data 0x%llx\n", op, msr, data); - return 1; + return -ENOENT; } }