Message ID | 20221222203021.1944101-1-mhal@rbox.co (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/arch/x86/kvm/xen.c b/arch/x86/kvm/xen.c index d7af40240248..2b3495517c99 100644 --- a/arch/x86/kvm/xen.c +++ b/arch/x86/kvm/xen.c @@ -14,6 +14,7 @@ #include <linux/eventfd.h> #include <linux/kvm_host.h> #include <linux/sched/stat.h> +#include <linux/delay.h> #include <trace/events/kvm.h> #include <xen/interface/xen.h> @@ -1836,6 +1837,8 @@ static int kvm_xen_eventfd_update(struct kvm *kvm, if (!evtchnfd) return -ENOENT; + mdelay(1); + /* For an UPDATE, nothing may change except the priority/vcpu */ if (evtchnfd->type != data->u.evtchn.type) return -EINVAL;