From 02a2cff0c3d6dd97c08c772964d89eecd5f06425 Mon Sep 17 00:00:00 2001 From: Paul Durrant Date: Wed, 15 Nov 2023 16:27:36 +0000 Subject: [PATCH] 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 --- arch/x86/kvm/xen.c | 3 --- 1 file changed, 3 deletions(-) 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; -- 2.39.5