Message ID | 1486060541-29146-2-git-send-email-sstabellini@kernel.org (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 68E7860424 for <patchwork-xen-devel@patchwork.kernel.org>; Thu, 2 Feb 2017 18:38:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5AB3D28411 for <patchwork-xen-devel@patchwork.kernel.org>; Thu, 2 Feb 2017 18:38:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F741284A3; Thu, 2 Feb 2017 18:38:21 +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=-3.7 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_SPAM 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 C827928411 for <patchwork-xen-devel@patchwork.kernel.org>; Thu, 2 Feb 2017 18:38:20 +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 1cZMEZ-0003kG-Qx; Thu, 02 Feb 2017 18:35:51 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <sstabellini@kernel.org>) id 1cZMEY-0003jO-0v for xen-devel@lists.xenproject.org; Thu, 02 Feb 2017 18:35:50 +0000 Received: from [193.109.254.147] by server-7.bemta-6.messagelabs.com id 75/C6-29440-50C73985; Thu, 02 Feb 2017 18:35:49 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjkeJIrShJLcpLzFFi42I5NlG2Q5elZnK EQe85dYvvWyYzOTB6HP5whSWAMYo1My8pvyKBNWPN0h3sBc/YKlZ++cTUwPiAtYuRi0NIYCqj xK3HK5ghnB1MEtf3XQNyODnYBAwl/j7ZxAZiiwiISZzePY0JpIhZ4CSjxOUrk5lAEsICXhJ3j i0Fs1kEVCU+zbjL3sXIwcEr4Cax+qcuSFhCQE7i5LHJrCA2p4C7RNvbqUwQy9oZJTas2cYEUZ QhMa9nDiuE7SWx6MYlKFtN4uq5TcwTGPkWMDKsYtQoTi0qSy3SNTTTSyrKTM8oyU3MzNE1NDD Ty00tLk5MT81JTCrWS87P3cQIDBUGINjBeH9jwCFGSQ4mJVHeKVqTI4T4kvJTKjMSizPii0pz UosPMcpwcChJ8BpXAeUEi1LTUyvSMnOAQQuTluDgURLhVQVJ8xYXJOYWZ6ZDpE4xGnOcunH6J RPHqU8XXjIJseTl56VKifOag5QKgJRmlObBDYJF0yVGWSlhXkag04R4ClKLcjNLUOVfMYpzMC oJ83aATOHJzCuB2/cK6BQmoFN+Pp4EckpJIkJKqoHRXmXbrGnLeKL3CXi3mFTPfizxW7PmodS qx8td60Uu/fK0SRBOE5kndX4KY+dzpa1SHTwS90+UmNwP3O/y97qB4Zam81lPtr5bx8of+6I/ 9mTaFrGS2YXH4//MeMj3n/f4/5oValYnrutJBrFv7VvsKmzw5auD96nQXW1WlzKZTjUs2jbfV aBUiaU4I9FQi7moOBEANneoxaECAAA= X-Env-Sender: sstabellini@kernel.org X-Msg-Ref: server-8.tower-27.messagelabs.com!1486060547!74818869!1 X-Originating-IP: [198.145.29.136] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.1.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 19794 invoked from network); 2 Feb 2017 18:35:48 -0000 Received: from mail.kernel.org (HELO mail.kernel.org) (198.145.29.136) by server-8.tower-27.messagelabs.com with DHE-RSA-AES256-GCM-SHA384 encrypted SMTP; 2 Feb 2017 18:35:48 -0000 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1BA4C201C7; Thu, 2 Feb 2017 18:35:46 +0000 (UTC) Received: from sstabellini-ThinkPad-X260.hsd1.ca.comcast.net (c-50-131-44-19.hsd1.ca.comcast.net [50.131.44.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0698B202E5; Thu, 2 Feb 2017 18:35:43 +0000 (UTC) From: Stefano Stabellini <sstabellini@kernel.org> To: stefanha@gmail.com Date: Thu, 2 Feb 2017 10:35:38 -0800 Message-Id: <1486060541-29146-2-git-send-email-sstabellini@kernel.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1486060541-29146-1-git-send-email-sstabellini@kernel.org> References: <alpine.DEB.2.10.1702021024200.17946@sstabellini-ThinkPad-X260> <1486060541-29146-1-git-send-email-sstabellini@kernel.org> X-Virus-Scanned: ClamAV using ClamSMTP Cc: peter.maydell@linaro.org, sstabellini@kernel.org, qemu-devel@nongnu.org, Paul Durrant <paul.durrant@citrix.com>, stefanha@redhat.com, anthony.perard@citrix.com, xen-devel@lists.xenproject.org Subject: [Xen-devel] [PULL 2/5] xen-platform: add support for unplugging NVMe disks... 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/i386/xen/xen_platform.c b/hw/i386/xen/xen_platform.c index f50915f..7d41ebb 100644 --- a/hw/i386/xen/xen_platform.c +++ b/hw/i386/xen/xen_platform.c @@ -120,6 +120,7 @@ static void unplug_disks(PCIBus *b, PCIDevice *d, void *o) break; case PCI_CLASS_STORAGE_SCSI: + case PCI_CLASS_STORAGE_EXPRESS: object_unparent(OBJECT(d)); break;