Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp212556iog; Mon, 13 Jun 2022 00:31:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXFWJBp2sj1BMEVV3tFgZ9eVYXccksz12XTHOnHV/MamHR0VS6z8UUb45anmSsnuxhJ3jF X-Received: by 2002:a17:903:2344:b0:163:ce0a:4655 with SMTP id c4-20020a170903234400b00163ce0a4655mr57728936plh.122.1655105473456; Mon, 13 Jun 2022 00:31:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655105473; cv=none; d=google.com; s=arc-20160816; b=Lnj7XFLOKeFWSjWZ9pN5N903RyuC/tDYNdZoV4Mfok/P7Sx7B2wlJ+7L1Jfa8o2a0e oey44W+BwCDRo24SWQmqsU6WBl8A8dpxCXKjjRA0CJqqp8iC8xtl9CuEihQpymymX/m/ MqxInkZEkRLi2tyUIYmc6fv/tGUyf4+c4DXUZHg3DdA9nIPSY2TfokFZv+1uHRQL04D9 PDOZMHjKvi/j4b1+FKS0Y2WhRaviWqGIA8wfAVHkGu+wVZvnpOJt0C9Pb6JviivdAQt/ 65F78g+XRZqyI4f3oCsHsAYyWJkj91ePDb5x+tgnr6f62Zgs9NFXE97+PwtbulPBcaKk YrhQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=lU9y07l9htX2Ezpv/Wvu2OgEPWWB1En/PGmEDFqjdJQ=; b=iySGWqLRGNPZ6Gpc7oxKv25EZ25mITIAQQ5ZthsHoOgc8dZNcLZ5cK+t59S59Dc5fh zsui8drybpsoZMcCIAyVmMlkIxKzm6KWDIIvrWhWZ0nzkHeOC4+pd5s5/RoIzlw0UNve PVMomklSNfqmgDVKxvK2IkgJ0ufSUuSYBiuqO/vU7QVUGGcgaaD7W/pakkh3A/8wWtn2 Ec1BKCV8UvMva835uHXNKSQszex3VTu0mdPI4IhBm55+ip17S3pQG5iorQVYPeKQjeqS CGdtF94VnGTamatFNBdkkCPKuUtrrXBza6nZaZW5sZAhSI5EXJ1smTLFip9lT+/dg2yL xymw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=fRhApd4A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y1-20020a17090322c100b0016161dbe92asi8543393plg.202.2022.06.13.00.30.57; Mon, 13 Jun 2022 00:31:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@axis.com header.s=axis-central1 header.b=fRhApd4A; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=axis.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238665AbiFMGvY (ORCPT + 99 others); Mon, 13 Jun 2022 02:51:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238389AbiFMGvG (ORCPT ); Mon, 13 Jun 2022 02:51:06 -0400 Received: from smtp2.axis.com (smtp2.axis.com [195.60.68.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A30A31EAF3 for ; Sun, 12 Jun 2022 23:50:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axis.com; q=dns/txt; s=axis-central1; t=1655103008; x=1686639008; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=lU9y07l9htX2Ezpv/Wvu2OgEPWWB1En/PGmEDFqjdJQ=; b=fRhApd4ArXD3ZG3tGMvwHj3q3mVES9eQQ3RJz+k6CM50CPYApPGSw8Dc 5JSe8AF89GVg42zwXcrX5iHvJ9wHwJc+XA4QOYrPJ6ZQMnvK9SB8xF/8W fJKCQfdqwRlzvt18kc4iqupgNk7GSCF3126fjQ2SCNDV8ahjA+7VpqB1/ e5Z4e54UXDYmubhDMYghN48w43EVNCHmQkXy5HPNvAE1BxIrz4G/6Q1Sx JFocgTKqAev0Mpc0KP5rB58n6Pdrz+zlpHryZHFZ6cp3IDftFQtnD3P/O eovElCL/+66tupSr8Fp7Ld6QT8/K27ftzhMnAQxReXGrDKxx/50BgfjPb w==; Date: Mon, 13 Jun 2022 08:50:05 +0200 From: Vincent Whitchurch To: "Michael S. Tsirkin" CC: Richard Weinberger , Anton Ivanov , Johannes Berg , kernel , Xuan Zhuo , Jason Wang , "linux-um@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] um: virt-pci: set device ready in probe() Message-ID: <20220613065004.GA21804@axis.com> References: <20220610151203.3492541-1-vincent.whitchurch@axis.com> <20220610203029-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20220610203029-mutt-send-email-mst@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 11, 2022 at 02:34:04AM +0200, Michael S. Tsirkin wrote: > BTW Johannes I think you need to spec this device and get > an ID - what's the plan for that? Current hack of punting > this to userspace isn't really any good long term. There is work ongoing in QEMU to add a new vfio-user protocol to support out-of-process PCI device emulation. Perhaps an option would be to use that protocol instead in UML too in the future?