Re: [Xen-devel] ioreq process conflict when EVTCHNOP_bind_interdomain hypercall and vcpu pio occur concurrently

2014-11-14 Thread Liuyongan
one by check ioreq->state , as the shared page may be modified by real vm trigged io req, so ioreq->state becomes REQUEST READY. Any bugs here? Liuyongan 2014-11-14 > -Original Message- > From: Liuyongan > Sent: Tuesday, November 11, 2014 8:45 PM > To: 'xen-de

[Xen-devel] ioreq process conflict when EVTCHNOP_bind_interdomain hypercall and vcpu pio occur concurrently

2014-11-11 Thread Liuyongan
I wonder if it is necessary for xen to trigger the event channel pending when the port related a vcpu port io. Suppose a scenario as follows: 1) Qemu make a hypercall using codes: for (i = 0; i < smp_cpus; i++) { rc = xc_evtchn_bind_interdomain(state->xce_handle, xen_domid,