From: Paul Durrant Date: Wed, 15 Nov 2023 16:27:36 +0000 (+0000) Subject: don't treat lack of vcpu_info as a hard error X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=refs%2Fheads%2Fshared-info8;p=people%2Fpauldu%2Flinux.git don't treat lack of vcpu_info as a hard error it can be transient, so just deliver via the shadow Signed-off-by: Paul Durrant --- diff --git a/arch/x86/kvm/xen.c b/arch/x86/kvm/xen.c index c49441b44477..0997e9d8b1ca 100644 --- a/arch/x86/kvm/xen.c +++ b/arch/x86/kvm/xen.c @@ -1739,9 +1739,6 @@ int kvm_xen_set_evtchn_fast(struct kvm_xen_evtchn *xe, struct kvm *kvm) WRITE_ONCE(xe->vcpu_idx, vcpu->vcpu_idx); } - if (!vcpu->arch.xen.vcpu_info_cache.active) - return -EINVAL; - if (xe->port >= max_evtchn_port(kvm)) return -EINVAL;