From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26185C04EBF for ; Mon, 23 Sep 2019 13:24:40 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E843D205F4 for ; Mon, 23 Sep 2019 13:24:39 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="dnas+H2s" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E843D205F4 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=invisiblethingslab.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iCOK9-0000AC-2V; Mon, 23 Sep 2019 13:24:17 +0000 Received: from all-amaz-eas1.inumbo.com ([34.197.232.57] helo=us1-amaz-eas2.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iCOK7-0000A7-Qi for xen-devel@lists.xenproject.org; Mon, 23 Sep 2019 13:24:15 +0000 X-Inumbo-ID: 70148ef0-de05-11e9-95fc-12813bfff9fa Received: from new1-smtp.messagingengine.com (unknown [66.111.4.221]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 70148ef0-de05-11e9-95fc-12813bfff9fa; Mon, 23 Sep 2019 13:24:14 +0000 (UTC) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailnew.nyi.internal (Postfix) with ESMTP id 9FB26109C; Mon, 23 Sep 2019 09:24:14 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Mon, 23 Sep 2019 09:24:14 -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=g/0qaV Ps7oAvn4vs5YoWK5WDpsu93E640frFQkZmLcM=; b=dnas+H2sWP4HUnlKH5NblP mHGWyASX82Aa0+fYlJjFEuVK3VkUgio0wN2BpYnxnlNwVea4p7Wzkl3FopTsto4D emKtY0rzn1RupeINl/eeDZkroKACK/gC+gEYGcfGvENWZdSXRWOQEY8c/R5V+wPq cW5zilbZeQ0foJvYQmMQMRnwRCQ1TAfuMNnkz+zW58+vFlhVE8u5p+eXtHoC1qSr Awryft73TyU6rVHIKblFChVlhAS/Hv2b0PDI8ONahoEKkldnc34ANsx8L5+OixSY 9mWH+LaJXTamvk6Uns3I4MPBwlFhpYXAzvYO9wEcyGYAyIiXFmzi5zF/TDo8GPww == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdekgdeifecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesghdtreertddtjeenucfhrhhomhepofgrrhgvkhcu ofgrrhgtiiihkhhofihskhhiqdfikphrvggtkhhiuceomhgrrhhmrghrvghksehinhhvih hsihgslhgvthhhihhnghhslhgrsgdrtghomheqnecukfhppeekfedrleejrddvfedrvdel necurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghrmhgrrhgvkhesihhnvhhishhisghlvg hthhhinhhgshhlrggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from mail-itl (unknown [83.97.23.29]) by mail.messagingengine.com (Postfix) with ESMTPA id 94B7DD60057; Mon, 23 Sep 2019 09:24:10 -0400 (EDT) Date: Mon, 23 Sep 2019 15:24:06 +0200 From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= To: Jan Beulich Message-ID: <20190923132406.GO1222@mail-itl> References: <819398f808613a1109bc06440268b8746e7540d4.1568475323.git-series.marmarek@invisiblethingslab.com> <20190920160250.GA8065@mail-itl> <7a954000-904d-57aa-2524-5d0c51a8d422@suse.com> <20190923104746.GD8065@mail-itl> <81326ccd-c27d-d97c-2a20-b39c1f42f5f0@suse.com> <20190923122549.GA15942@mail-itl> <262d6664-0b0d-77b5-ce17-abafbf3f313c@suse.com> MIME-Version: 1.0 In-Reply-To: <262d6664-0b0d-77b5-ce17-abafbf3f313c@suse.com> Subject: Re: [Xen-devel] [PATCH v6 5/6] xen/x86: add PHYSDEVOP_interrupt_control X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Ian Jackson , Tim Deegan , Julien Grall , xen-devel@lists.xenproject.org, Daniel De Graaf , Roger Pau =?utf-8?B?TW9ubsOp?= Content-Type: multipart/mixed; boundary="===============3159733420593201144==" Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" --===============3159733420593201144== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8HhMLSHvAouSipEr" Content-Disposition: inline --8HhMLSHvAouSipEr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [Xen-devel] [PATCH v6 5/6] xen/x86: add PHYSDEVOP_interrupt_control On Mon, Sep 23, 2019 at 03:02:49PM +0200, Jan Beulich wrote: > On 23.09.2019 14:25, Marek Marczykowski-G=C3=B3recki wrote: > > What about this: HVM guest can already do all of this when qemu is > > running in dom0. So, allowing those actions when qemu is running in > > stubdomain should not introduce _additional_ risks. >=20 > Well, in a way - yes. But I don't think it's right to have qemu do > the direct writes it does (and I wouldn't be surprised if there > were still actual issues with this model). Hence it's not going to > be an improvement if this suspicious underlying design got > extended to other components. This sounds like any workflow involving qemu would be inferior. And I agree with that. But also I do need PCI passthrough working, so I need a solution until we have an alternative implementation. If that alternative is going to happen soon, I'm also fine with carrying patches in Qubes package (like I already do). This wouldn't be nice for the rest of the community (I believe many other Xen-based projects also carry similar patches already), but it looks like upstreaming this is taking way too much effort than it's worth for a temporary solution. So, in the next version of this series I'm going to drop this patch (and the next one). --=20 Best Regards, Marek Marczykowski-G=C3=B3recki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --8HhMLSHvAouSipEr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAl2Ix3UACgkQ24/THMrX 1yyOzgf+Kad+tmlcbvLGkqUQvI1OYBWeM5pT3agw0ZU1jno5KT3NifrT7j0SlDD8 bliVgO1EBdOSNUBcde6C8sC7NTLX0GQk+ijS66NB+ViphVky9oKNZJqKasvMqPxs 4fnOMUl/roG/pl3yzltaPYHFGRuIwRVkCJnLgBNtfiTTD69IHvW4kerLXoEY3SmH dp4XjSryreE7FUCDPR8pPavTXZivdmZsAyUpFdh/YYaQ+Yr3rsp4Jp0JQWO/Q1lC lGfzle+lr1oifV/sjjZ72nm2lXrfCMYIGyqJ+0UjHmGZNb+HO55fRmYp8whsMphW LhwsmlU8BYCNGiooUont+2z1bXFEHA== =fFvg -----END PGP SIGNATURE----- --8HhMLSHvAouSipEr-- --===============3159733420593201144== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cHM6Ly9saXN0 cy54ZW5wcm9qZWN0Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL3hlbi1kZXZlbA== --===============3159733420593201144==--