Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1343095ybh; Thu, 23 Jul 2020 06:38:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzREftIKdhNM2qnCf9VDntbH9IrVHVpTcmHGbFYgVqtspgZpg1sV2ZcXS55yedA/cK0mfUx X-Received: by 2002:a17:906:f183:: with SMTP id gs3mr4146486ejb.361.1595511518280; Thu, 23 Jul 2020 06:38:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595511518; cv=none; d=google.com; s=arc-20160816; b=HjjFDCZbDC23INe27MtM0+aoBQMFF/6DF3XMWk3HhR7c6rgohMfL8YtGgL5gwrvBXp nZua2oKEFQLcc+2vVmkKnhDxMFcfNZ4+rMebSAfJ3n3Ii02sy5griAR+tZNAremB57ka vOB+cIDBJCCekhK5r5Tri7lb/uJNoubtPSkDaCai/nsrmbw01rxcwkW7vm0NZoTaRdmZ C2BNB1vfucguYPGwvaufa7Sa4YA565NTxgu1/HQMXzb/sqafKEuLGNSoG7NjQszoy6JJ y0AMTyhqwL6J/mYe56ecS3y1/GUQhfbNraB2WFVZ0l7B/feABiOT4KoZVmRHLET5UMmY X8BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:cc:to:from:date:references :in-reply-to:message-id:mime-version:user-agent:dkim-signature; bh=9mco5fJJTIwbB3aNFFiVQMevd5UiiUsgphoo0oYGF24=; b=sj9iiONC2xX8Pycn8ALNN5va8/lGp0M63QP0Rjha9b2gxiDjxqVg64+UyfcYITOMyX uFmvzY3UdGWsjQDAHnnVFSd7riUhbjqAEYHc65eDsXL5Qco/34JG6ID5RAw5Ik1ARMfk lSc/ub83pPPUjkDkOBrSESTdikNAeuBBT8CS+eLd6SpezekfqbukN29gY+fqL2p7ITnw akx83lcn646N0E/olD0jWqepRvxQNE4CPeoto2BgkkTNyG3nk0kMzpgRvbxq91oEDlUn E5M36mSAYRseCkzI3x6AtNMLiQV+tumuf9JYOj983bDlzqK0yIH+Nu0oj2zoorRrhL6h 0TWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=rtHW9H+X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ds12si2621220ejc.147.2020.07.23.06.38.14; Thu, 23 Jul 2020 06:38:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=rtHW9H+X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729298AbgGWNiE (ORCPT + 99 others); Thu, 23 Jul 2020 09:38:04 -0400 Received: from wnew3-smtp.messagingengine.com ([64.147.123.17]:35671 "EHLO wnew3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728134AbgGWNiE (ORCPT ); Thu, 23 Jul 2020 09:38:04 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.west.internal (Postfix) with ESMTP id 961D2B7C; Thu, 23 Jul 2020 09:38:02 -0400 (EDT) Received: from imap10 ([10.202.2.60]) by compute1.internal (MEProxy); Thu, 23 Jul 2020 09:38:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=9mco5f JJTIwbB3aNFFiVQMevd5UiiUsgphoo0oYGF24=; b=rtHW9H+X9+1zQ3LSnXSHNT pblNyZl2noCXQzVcDENcy/SjYvwXx4UsTxmC3aBUHxX2jbcbyDTwe2FOqaloPIAX gqGF2AgdIHbnLOrtpI3a/rg35ifIhI5B7SzSc/WCn++leiddoW5lFwbM30lkBDsQ mTTb7wVX1KPS8TNF5B4IZdp2dDlnYmt3njGgKWiMxdQwTLL1AYjmuIZ82oXvkxP2 mnTzHpqYj8+5G+X8+WaoB1fQHzwOdpUWwfeKzOIFyrL2CJgV4CX6OmVgJyenfhu5 R4qmMLh2sIrGDIRe5CyWG5QCt9RszpeC3KkJ3sIKfAFV6bgFES5WAQLaGK9+LO0Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrhedugdeilecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfveholhhi nhcuhggrlhhtvghrshdfuceofigrlhhtvghrshesvhgvrhgsuhhmrdhorhhgqeenucggtf frrghtthgvrhhnpeehgeehheeiledugeelleetkeeijeehueetteeggfeivdekudeghffh ueffledvvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhroh hmpeifrghlthgvrhhssehvvghrsghumhdrohhrgh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id DE5CD20061; Thu, 23 Jul 2020 09:38:00 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-92-g11c785d-fm-20200721.004-g11c785d5 Mime-Version: 1.0 Message-Id: In-Reply-To: <20200721155848.32xtze5ntvcmjv63@steredhat> References: <20200715171130.GG12769@casper.infradead.org> <7c09f6af-653f-db3f-2378-02dca2bc07f7@gmail.com> <48cc7eea-5b28-a584-a66c-4eed3fac5e76@gmail.com> <202007151511.2AA7718@keescook> <20200716131404.bnzsaarooumrp3kx@steredhat> <202007160751.ED56C55@keescook> <20200717080157.ezxapv7pscbqykhl@steredhat.lan> <20200721155848.32xtze5ntvcmjv63@steredhat> Date: Thu, 23 Jul 2020 09:37:40 -0400 From: "Colin Walters" To: "Stefano Garzarella" , "Andy Lutomirski" Cc: "Jens Axboe" , "Christoph Hellwig" , "Kees Cook" , "Pavel Begunkov" , "Miklos Szeredi" , "Matthew Wilcox" , "Jann Horn" , "Christian Brauner" , strace-devel@lists.strace.io, io-uring@vger.kernel.org, "Linux API" , "Linux FS Devel" , LKML , "Michael Kerrisk" , "Stefan Hajnoczi" Subject: Re: strace of io_uring events? Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 21, 2020, at 11:58 AM, Stefano Garzarella wrote: > my use case concerns virtualization. The idea, that I described in the > proposal of io-uring restrictions [1], is to share io_uring CQ and SQ queues > with a guest VM for block operations. Virtualization being a strong security barrier is in eternal conflict with maximizing performance. All of these "let's add a special guest/host channel" are high risk areas. And this effort in particular - is it *really* worth it to expose a brand new, fast moving Linux kernel interface (that probably hasn't been fuzzed as much as it needs to be) to virtual machines? People who want maximum performance at the cost of a bit of security already have the choice to use Linux containers, where they can use io_uring natively.