From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cW1m6-0006Ep-E2 for qemu-devel@nongnu.org; Tue, 24 Jan 2017 09:08:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cW1m2-0005wY-GF for qemu-devel@nongnu.org; Tue, 24 Jan 2017 09:08:42 -0500 Received: from smtp.citrix.com ([66.165.176.89]:34735) by eggs.gnu.org with esmtps (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.71) (envelope-from ) id 1cW1m2-0005vk-9l for qemu-devel@nongnu.org; Tue, 24 Jan 2017 09:08:38 -0500 From: Paul Durrant Date: Tue, 24 Jan 2017 14:05:46 +0000 Message-ID: <1485266747-4694-3-git-send-email-paul.durrant@citrix.com> In-Reply-To: <1485266747-4694-1-git-send-email-paul.durrant@citrix.com> References: <1485266747-4694-1-git-send-email-paul.durrant@citrix.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v2 2/3] xen-platform: add support for unplugging NVMe disks... List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, xen-devel@lists.xenproject.org Cc: Paul Durrant , Stefano Stabellini , Anthony Perard , "Michael S. Tsirkin" , Paolo Bonzini , Richard Henderson , Eduardo Habkost ...not just IDE and SCSI. This patch allows the Xen tool-stack to fully support of NVMe as an emulated disk type. Signed-off-by: Paul Durrant --- Cc: Stefano Stabellini Cc: Anthony Perard Cc: "Michael S. Tsirkin" Cc: Paolo Bonzini Cc: Richard Henderson Cc: Eduardo Habkost --- hw/i386/xen/xen_platform.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.1.4