[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 5/8] xen/evtchn: don't close the static event channel.


  • To: Julien Grall <julien@xxxxxxx>
  • From: Rahul Singh <Rahul.Singh@xxxxxxx>
  • Date: Tue, 28 Jun 2022 13:53:27 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4QGzdp3NXY9qbSlSCQc4sAq+S4XSDxZRLhPVPH6yvRU=; b=T1WNcq96eHC53OsXOJnYS8EUWfEfaAV8MMAiBR/BS0ZdsHmymHPdr/Q5Pjm3eeZqxIfym5QLxm1RJ363CRqM2/U3ItP/y6ShvNtCNl43tOblDOlFhLEAX/lIj6fMfEU0zZYZh/hIGFa9CWiRu1ISk1//GIMYkHOMRGsaqBgnbg20M9CBy7qiLWKURnFDYJGV9wgs97/ci4SPPF7Nxmkgv0xsgKZaYNw5KO0+2Vlt9WxIGmGp7CUST7jkcOfyqJFAI3+zbzUPq5qo88XTX07cLIOH453Lydys1bCSgDxez6VtskUKXhwpTLjdNXWI2DLPJgZS5rL/Mp7kOX9/Dn5phw==
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=4QGzdp3NXY9qbSlSCQc4sAq+S4XSDxZRLhPVPH6yvRU=; b=CnCCZGxnnCLwYOBS61Oy5kEU4TgS1J41bSqokJQPF8ByQeM+RUgc0jDtMJ6WFYlTN71XHRgGELds7gKTv2+nXTefbOsqOXZP9tCrJktYejlKMkGI5zwaQgq3Hv7ik1elYo5OR71Mr69k6dhwBnlnHjPC6aCFuLgXCJeTY8LVGTmURdrjqTB8j0dsX5e6mAUVo5K2tSO0W/Pk4MTdpAg/4VtWGqxeuOOo0b706jGJhtNKsBzYrHCI+WM3F+Hj8RDGFCfXvZKjS5hg6TOKeGbWnGq2mO1IH+GGwRqyuczow/acNtHQMzl2ZBRQWoJGTQiQRNtf6FtXOw3SLjIi1snfpg==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=MEQFxpwC4dVe5RcSRvdnyrSkpSANDvVA5Z77cQdb5HI5lUhB3SCBrDvZ54cTBx/0WLftugeyoYUKlheXrIE6o9LmmBW1hih4kKUk57Wb9LihmE0TqadwiKKkxnKoY8xBh5c3VZpwQmitR/95kK8lcVyUWO6sAeTElNcDA8HcQ5FAymdygdxIPDG/+65/enGn2+762YZQlrBfRWPqCpqB+LgPRoV856rugA6FdfEqcbp6/8zooO1UckuoW6A79ho+Fd63Aqj4FZYifKdAHNBIUMvVTvxwCdP5GoKnZe+GimDQV6+8ECIW/Dc0RaY+7kUp6r1/A3iISar4y8quIeSGkQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=n2f1AXVbsZcs2W1QeY3Wt53OH3efSn+qkWwEuPb5eGFOC8hjYfrtdBJV4s9Lx+hWEyAZ0Ce/dgvv7tFxJzHdsSRRg0Rc6XmqyOBUD9pvDsd1NszujLbwS0znIdL5l8+RgoTE2+oCtL9+ASl6+uphYX9Q3hOIRu0BL77tcoF1KRh0LaRDGKvGKur3tarwm4692XjI+0XUp9MhpTUDWdYdMi1Sd9pNdOCBmtfMqzv7ydDN1t9AWvoybA4wDgK//6UQ56niiCBwYAAWaWkQOopQImHwe28pG8pAxZXTUNgpENO9CpBRTFnneyLpZiCYojHYeUmS0ERHbvtZS7tCNSjyXA==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Wei Liu <wl@xxxxxxx>
  • Delivery-date: Tue, 28 Jun 2022 13:53:44 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHYhkX79rj81mJ150e3nBZ0EA7O6K1bhmuAgAGTuoCAAAWegIAHwJEA
  • Thread-topic: [PATCH 5/8] xen/evtchn: don't close the static event channel.

Hi Julien

> On 23 Jun 2022, at 4:30 pm, Julien Grall <julien@xxxxxxx> wrote:
> 
> 
> 
> On 23/06/2022 16:10, Rahul Singh wrote:
>> Hi Julien,
>>> On 22 Jun 2022, at 4:05 pm, Julien Grall <julien@xxxxxxx> 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
 


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.