[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MINI-OS PATCH 16/19] gnttab: remove gnttab_alloc_and_grant() function
- To: Juergen Gross <jgross@xxxxxxxx>, <minios-devel@xxxxxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Jason Andryuk <jason.andryuk@xxxxxxx>
- Date: Mon, 14 Jul 2025 17:22:59 -0400
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=suse.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=W955Ck3xYowQDrCmixEU2D1RaMtBk5CPTRQB8CiVo2c=; b=qM+a3X474S8ALcpPu9GkXeRz2cuGfNgvAdJo+Bd54H1OZ5GgrISHXG4XDwQ1ChFBx1cyAtrBYGPZxALMVu1R8xF4b1wNfr0i06pAouLaXaS8ZF3hall2v/W/9y6reHNVITB2LXMoKtGoPR3T/QIcdI2e4+qHmeA7r/op40j3VLEF5ahGKwdUxgmOmtAxD4V2gJ6ds94A98JuSTwBJnlrBc+3/ckwylB/++AbkbXxGLwanBnsrGhCArhXAzA8gQvM8E4n7RMKBMuxpPdBRyHj+z6gbU349NxlWw/t/EnvQylEiGW9p7mNub8izboHkKbUv+WgvM/OanTEyx1NjDbJEg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=VI92eU+SGkDS/YyxhbCybbxSqM4RZZ9pXgs1IXbLYCQr3HIiKtbGlaQEn8V0wfV7WljtXPB9Scezh30b+uzbSoBsa80olz5rMMCx5meq3LMfYvu4qX2Nr/2spx0QiNhRSu3Sg4++2KpYNWPjdA2hVCyola5zEnLSMc8Rmy2dR4aSBlWgixc+WDFD6e0HUjddF7LKKtFwP5MlnqaYz2Cri/aOWbngzCkKcNnn9YcsyiPNLUTlwXPScUIj5o3Qg9OzDC2b7fB42EtZPLGV2IhYCboaye6PYgUK3JHL9xdkKYbAc7kC7oQH4CmBJt/ZldRAeeE/PqaDAXX0Xgfg46wXeA==
- Cc: <samuel.thibault@xxxxxxxxxxxx>
- Delivery-date: Mon, 14 Jul 2025 21:33:46 +0000
- List-id: Mini-os development list <minios-devel.lists.xenproject.org>
On 2025-07-02 04:12, Juergen Gross wrote:
The last user of gnttab_alloc_and_grant() is gone.
Remove gnttab_alloc_and_grant() as it is doing more harm than good.
It is hard coded to only grant access for dom0, which is not really
clear from looking at the function name. It would be possible to add
a domid parameter, but given its now 0 users, there doesn't seem to be
a real demand for that function.
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
|