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

Re: [PATCH v2 5/7] xen/evtchn: modify evtchn_alloc_unbound to allocate specified port


  • To: Rahul Singh <rahul.singh@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 22 Aug 2022 15:57:29 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • 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=NOhoqf85HhXvVaBx4frqSYxmu+xXM13k0MZJKwJlvhI=; b=FgrDDrHRIh7ZY9Qv7+XVwcJkeDWyuxZrCLJnhy74vpDluthl8JLaX1QUotRho9LetWrinOSi/+zJOz7UWLC0ByRqM9iyQRlPTRUcJDSOV2z45gNrcyG0lW2QIM9wJfZhwLRffGhZ1Aa9wn1m7GABJzaZO8nzv3BzlR7ptbhwWyq2lACRbp2ksN9Sv71L7uHkAatP5Qd6FlfdNBhMp32PciuPEvwX9dMii6g9Es4KfbEoTWHjd5E/BC5CBkyms2xQb4Y6KWU071tXvkKniKb8C/kKT5mxIinC3klVS3Ez99feOmg4F+z3ODFRb3JCo36f6j9juB3YnnRGk52Ceks9Wg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=V+IjN8e1SJMxQyax7zl5fR84Ql/hGWzCifK1hX7gfdAvqNjB0XEb6keHywZnMnssgFlJhXZbZYEFXYh+rVrdvak79KElIJDq6GcCLe5R3cb1RMiMgm3neJdRSZpTMyupOdvXUlRDWqHY+cYTeOYCBABJ/zq3oIB22DqRP0qJEB303bXZLYTvnQgFoomdmvnLGEqj8il9GaS51ssSz5bOiO63cOXLhn0T6Eb60m5obO9jDzaCX2xa/dy28sUasNpybpv77QPQcl2MRK86wmPTJzyaB+ItcOa5Sg2ojXYqc4y4sqyZuFc+18MDytY4i/ii1BnHAXyq9QTb7o7D7KtFew==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: bertrand.marquis@xxxxxxx, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 22 Aug 2022 13:57:38 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 19.08.2022 12:02, Rahul Singh wrote:
> evtchn_alloc_unbound() always allocates the next available port. Static
> event channel support for dom0less domains requires allocating a
> specified port.
> 
> Modify the evtchn_alloc_unbound() to accept the port number as an
> argument and allocate the specified port if available. If the port
> number argument is zero, the next available port will be allocated.
> 
> Signed-off-by: Rahul Singh <rahul.singh@xxxxxxx>

Acked-by: Jan Beulich <jbeulich@xxxxxxxx>

As a minor remark: Personally I'd find it more logical if the alloc-unbound
adjustments came ahead of the bind-interdomain ones.

Jan



 


Rackspace

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