Re: [PATCH v6 23/51] i386/xen: implement HYPERVISOR_event_channel_op

2023-01-16 Thread David Woodhouse
On Mon, 2023-01-16 at 17:59 +, Paul Durrant wrote: > > + > > +    switch (cmd) { > > +    case EVTCHNOP_init_control: > > +    err = -ENOSYS; > > +    break; > > The commit comment doesn't explain why the above op is singled out for > this treatment. I assume it is because there is no

Re: [PATCH v6 23/51] i386/xen: implement HYPERVISOR_event_channel_op

2023-01-16 Thread Paul Durrant
On 10/01/2023 12:20, David Woodhouse wrote: From: Joao Martins Additionally set XEN_INTERFACE_VERSION to most recent in order to exercise the "new" event_channel_op. Signed-off-by: Joao Martins [dwmw2: Ditch event_channel_op_compat which was never available to HVM guests] Signed-off-by: David

[PATCH v6 23/51] i386/xen: implement HYPERVISOR_event_channel_op

2023-01-10 Thread David Woodhouse
From: Joao Martins Additionally set XEN_INTERFACE_VERSION to most recent in order to exercise the "new" event_channel_op. Signed-off-by: Joao Martins [dwmw2: Ditch event_channel_op_compat which was never available to HVM guests] Signed-off-by: David Woodhouse --- target/i386/kvm/xen-emu.c | 2