Message ID | 20171005124507.14732-1-ehabkost@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xen.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 9BDA8605A8 for <patchwork-xen-devel@patchwork.kernel.org>; Thu, 5 Oct 2017 12:48:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8DD89288B5 for <patchwork-xen-devel@patchwork.kernel.org>; Thu, 5 Oct 2017 12:48:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 826D828C7C; Thu, 5 Oct 2017 12:48:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5FE33288B5 for <patchwork-xen-devel@patchwork.kernel.org>; Thu, 5 Oct 2017 12:48:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1e05Wt-0002wC-9K; Thu, 05 Oct 2017 12:45:31 +0000 Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <ehabkost@redhat.com>) id 1e05Wr-0002w6-Hf for xen-devel@lists.xenproject.org; Thu, 05 Oct 2017 12:45:29 +0000 Received: from [85.158.139.211] by server-5.bemta-5.messagelabs.com id 7F/76-02223-86926D95; Thu, 05 Oct 2017 12:45:28 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjkeJIrShJLcpLzFFi42K52LJdRjdD81q kwauXbBbft0xmcmD0OPzhCksAYxRrZl5SfkUCa8aXy1eYC7ayVtw5qd7AuIWli5GTQ0hgNpPE haWOIDaLgL3Ehu5N7CA2o0CZxO01+1kh7FyJDaf/ANlcQPUrGSW27nzFCJJgE9CWmP3sPViDi ICkxO+u08wgRcwCvZwSm/Y3M4EkhAWsJGac/sQGsUFV4uPz3WBxXgELiSltm4CmcnBwAtVcbb UBCUsAzXx8ejojyBwJgT5GiZXNx5gmMPItYGRYxahRnFpUllqka2Sql1SUmZ5RkpuYmaNraGC ql5taXJyYnpqTmFSsl5yfu4kRGCb1DAyMOxh3tfsdYpTkYFIS5X2iei1SiC8pP6UyI7E4I76o NCe1+BCjDAeHkgTvdg2gnGBRanpqRVpmDjBgYdISHDxKIrx6IGne4oLE3OLMdIjUKUZdjhsPr /9hEmLJy89LlRLnXQBSJABSlFGaBzcCFj2XGGWlhHkZGRgYhHgKUotyM0tQ5V8xinMwKgnzbg KZwpOZVwK36RXQEUxAR8xpugJyREkiQkqqgbFy29sNO09+m7nq1YuI29slnzCyZwaX/VpmZHz R1lj4XUb/oyme6w8FxEpFNpocUV4o2s1ZURriy1dbUbFU6KFbdozpNnMPcR3FS6sSX+w+ksiy JkOpRVjtGwPrdoGeyZMlZv/4wfpu0ZHZ7f61a254d8vfOr7w2PL3K+Lcd8vrBv1TmFvFb6/EU pyRaKjFXFScCAAXrgh1mQIAAA== X-Env-Sender: ehabkost@redhat.com X-Msg-Ref: server-3.tower-206.messagelabs.com!1507207526!111140004!1 X-Originating-IP: [209.132.183.28] X-SpamReason: No, hits=0.0 required=7.0 tests=sa_preprocessor: VHJ1c3RlZCBJUDogMjA5LjEzMi4xODMuMjggPT4gNTQwNjQ=\n X-StarScan-Received: X-StarScan-Version: 9.4.45; banners=-,-,- X-VirusChecked: Checked Received: (qmail 41914 invoked from network); 5 Oct 2017 12:45:27 -0000 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by server-3.tower-206.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 5 Oct 2017 12:45:27 -0000 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 92C8E780C0; Thu, 5 Oct 2017 12:45:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 92C8E780C0 Received: from localhost (ovpn-116-25.gru2.redhat.com [10.97.116.25]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6F00863632; Thu, 5 Oct 2017 12:45:09 +0000 (UTC) From: Eduardo Habkost <ehabkost@redhat.com> To: qemu-devel@nongnu.org Date: Thu, 5 Oct 2017 09:45:07 -0300 Message-Id: <20171005124507.14732-1-ehabkost@redhat.com> In-Reply-To: <20171004130655.GK4760@localhost.localdomain> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Thu, 05 Oct 2017 12:45:26 +0000 (UTC) Cc: Peter Maydell <peter.maydell@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, Jason Wang <jasowang@redhat.com>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Gerd Hoffmann <kraxel@redhat.com>, Jan Beulich <JBeulich@suse.com>, David Gibson <dgibson@redhat.com>, Jiri Slaby <jslaby@suse.cz>, Hannes Reinecke <hare@suse.com>, Stefano Stabellini <sstabellini@kernel.org>, Alberto Garcia <berto@igalia.com>, qemu-block@nongnu.org, Alexander Graf <agraf@suse.de>, =?UTF-8?q?Herv=C3=A9=20Poussineau?= <hpoussin@reactos.org>, Marcel Apfelbaum <marcel@redhat.com>, xen-devel@lists.xenproject.org, David Gibson <david@gibson.dropbear.id.au>, Artyom Tarasenko <atar4qemu@gmail.com>, Jiri Pirko <jiri@resnulli.us>, Anthony Perard <anthony.perard@citrix.com>, Alex Williamson <alex.williamson@redhat.com>, qemu-arm@nongnu.org, Laine Stump <laine@redhat.com>, Igor Mammedov <imammedo@redhat.com>, Yongbok Kim <yongbok.kim@imgtec.com>, Alistair Francis <alistair23@gmail.com>, John Snow <jsnow@redhat.com>, Richard Henderson <rth@twiddle.net>, qemu-ppc@nongnu.org, Paolo Bonzini <pbonzini@redhat.com>, Aurelien Jarno <aurelien@aurel32.net> Subject: [Xen-devel] [PATCH] xen/pt: Mark TYPE_XEN_PT_DEVICE as hybrid X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/hw/xen/xen_pt.c b/hw/xen/xen_pt.c index 01df3414d3..9bba717708 100644 --- a/hw/xen/xen_pt.c +++ b/hw/xen/xen_pt.c @@ -966,6 +966,7 @@ static const TypeInfo xen_pci_passthrough_info = { .class_init = xen_pci_passthrough_class_init, .interfaces = (InterfaceInfo[]) { { INTERFACE_CONVENTIONAL_PCI_DEVICE }, + { INTERFACE_PCIE_DEVICE }, { }, }, };
xen-pt doesn't set the is_express field, but is supposed to be able to handle PCI Express devices too. Mark it as hybrid. Suggested-by: Jan Beulich <JBeulich@suse.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> --- hw/xen/xen_pt.c | 1 + 1 file changed, 1 insertion(+)