>>> On 13.07.17 at 09:50, <andrew.coop...@citrix.com> wrote: > --- a/xen/common/event_channel.c > +++ b/xen/common/event_channel.c > @@ -1098,6 +1098,10 @@ long do_event_channel_op(int cmd, > XEN_GUEST_HANDLE_PARAM(void) arg) > break; > } > > + case EVTCHNOP_send_imm: > + rc = evtchn_send(current->domain, (unsigned long)arg.p);
Two more things: For one this discards the upper half of the 64-bit handle. I'd suggest you instead check it to be zero. And then x86's do_event_channel_op_compat() should refuse to handle "immediate" commands. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel