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=-5.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 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 3437AC433E0 for ; Wed, 5 Aug 2020 16:20:14 +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 06C012311D for ; Wed, 5 Aug 2020 16:20:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 06C012311D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass 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.92) (envelope-from ) id 1k3M93-0006Rs-W6; Wed, 05 Aug 2020 16:20:01 +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.92) (envelope-from ) id 1k3M93-0006Nf-89 for xen-devel@lists.xenproject.org; Wed, 05 Aug 2020 16:20:01 +0000 X-Inumbo-ID: 6ee376f5-8c27-4de6-a786-28a0ef7820ad Received: from mx2.suse.de (unknown [195.135.220.15]) by us1-amaz-eas2.inumbo.com (Halon) with ESMTPS id 6ee376f5-8c27-4de6-a786-28a0ef7820ad; Wed, 05 Aug 2020 16:20:00 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 33A38AC65; Wed, 5 Aug 2020 16:20:16 +0000 (UTC) Subject: Re: [RFC PATCH V1 07/12] A collection of tweaks to be able to run emulator in driver domain To: Oleksandr Tyshchenko , Paul Durrant References: <1596478888-23030-1-git-send-email-olekstysh@gmail.com> <1596478888-23030-8-git-send-email-olekstysh@gmail.com> From: Jan Beulich Message-ID: <4ffa6434-3ad6-04dc-bfde-f75196930fb4@suse.com> Date: Wed, 5 Aug 2020 18:19:59 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: <1596478888-23030-8-git-send-email-olekstysh@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Julien Grall , Wei Liu , Andrew Cooper , Ian Jackson , George Dunlap , Oleksandr Tyshchenko , xen-devel@lists.xenproject.org, Daniel De Graaf Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" On 03.08.2020 20:21, Oleksandr Tyshchenko wrote: > From: Oleksandr Tyshchenko > > Trying to run emulator in driver domain I ran into various issues > mostly policy-related. So this patch tries to resolve all them > plobably in a hackish way. I would like to get feedback how > to implement them properly as having an emulator in driver domain > is a completely valid use-case. From going over the comments I can only derive you want to run an emulator in a driver domain, which doesn't really make sense to me. A driver domain has a different purpose after all. If instead you mean it to be run in just some other domain (which also isn't the domain controlling the target), then there may be more infrastructure changes needed. Paul - was/is your standalone ioreq server (demu?) able to run in other than the domain controlling a guest? Jan