Message ID | 20231204144334.910-20-paul@xen.org |
---|---|
State | Superseded |
Headers | show |
Series | KVM: xen: update shared_info and vcpu_info handling | expand |
diff --git a/arch/x86/kvm/xen.c b/arch/x86/kvm/xen.c index 7109d20a4608..72a19956d052 100644 --- a/arch/x86/kvm/xen.c +++ b/arch/x86/kvm/xen.c @@ -1790,9 +1790,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;