Hi Julien > On 23 Jun 2022, at 4:30 pm, Julien Grall <jul...@xen.org> wrote: > > > > On 23/06/2022 16:10, Rahul Singh wrote: >> Hi Julien, >>> On 22 Jun 2022, at 4:05 pm, Julien Grall <jul...@xen.org> wrote: >>> >>> Hi, >>> >>> On 22/06/2022 15:38, Rahul Singh wrote: >>>> Guest can request the Xen to close the event channels. Ignore the >>>> request from guest to close the static channels as static event channels >>>> should not be closed. >>> >>> Why do you want to prevent the guest to close static ports? The problem I >>> can see is... >> As a static event channel should be available during the lifetime of the >> guest we want to prevent >> the guest to close the static ports. > I don't think it is Xen job to prevent a guest to close a static port. If the > guest decide to do it, then it will just break itself and not Xen.
It is okay for the guest to close a port, port is not allocated by the guest in case of a static event channel. Xen has nothing to do for close the static event channel and just return 0. Regards, Rahul