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

Re: [PATCH v3 2/5] xen: make evtchn_alloc_unbound public


  • To: Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 31 Jan 2022 10:32:23 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=y/QEbGFwmuZKOyG4ddqBcKsoT+c03Ca3DrZgs5+hJmA=; b=cPHQzNyk3MPYcWqAjsfZ+45Ixwo47SUFwUYi+lIUAZp8drr76Zq1W79L4ivCVbP9eAw72jC8d6LHH7EeyfC2NgsX96DbxL2L5xlzvc8t0ZMRut6hA0XnY4UehPs2A4INj80DqWkDKO9SsSEvXvLn5SQnwisJioN7fqGE0Unz9bXxvPG+POVnsvf5AEM+QzR/zqOpuvvPP6GCh041dMHM+FSJtRuZuJW4C3MkfD/ehvL2k+mykeThKl9PXWfYpjsZHRvpwlKmUVBkNmwtfy3X7/D95OuLh+CEmnFKOPYUKAxJbEwZEdWcCTe5zOM2620DH50ebUqov3k1CH/nByczRg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=M14DdHTP60huLZ8IAQyX/z1ql58Ffpg9e+tNpyi6tg/yh70lokVprJcoY/232TGAJMZx/zHtVBpVI1WEGVA48Iz2NaAyM217rBXQSatjpRlAPAgedMpg3EIhH2NpWUbSYkl1NDcWGGIjcAHFHedPR5tKUts51mEdmwqgY1TMe6dnPBYH8YKE2zBCqYr08Jz4CPiMN3BW/yddAYVcECQVvNLlBqalkBP1FtM0V0fNERLDUgi2EMIYOIF0TS1ZlujarJ8Bgjyk82nj9d+IKg03m0hfxGIQ02wG+h8tB2jqHyOtwnseSRnz2VQ/4f/2eN6EpOw8ovScp5gMI/x/ICqqgw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: jgross@xxxxxxxx, Bertrand.Marquis@xxxxxxx, julien@xxxxxxx, Volodymyr_Babchuk@xxxxxxxx, Luca Miccio <lucmiccio@xxxxxxxxx>, Stefano Stabellini <stefano.stabellini@xxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 31 Jan 2022 09:32:34 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 28.01.2022 22:33, Stefano Stabellini wrote:
> From: Luca Miccio <lucmiccio@xxxxxxxxx>
> 
> The xenstore event channel will be allocated for dom0less domains. It is
> necessary to have access to the evtchn_alloc_unbound function to do
> that, so make evtchn_alloc_unbound public.
> 
> Add a skip_xsm parameter to allow disabling the XSM check in
> evtchn_alloc_unbound (xsm_evtchn_unbound wouldn't work for a call
> originated from Xen before running any domains.)

What I continue to be missing here are some words on why it is okay to
skip XSM checking in this case. After all an alternative would be to
put in place a suitable domain as "current" one for the check to actually
work.

Jan




 


Rackspace

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