[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 2/5] xen-platform: add support for unplugging NVMe di
From: |
Stefano Stabellini |
Subject: |
[Qemu-devel] [PULL 2/5] xen-platform: add support for unplugging NVMe disks... |
Date: |
Thu, 2 Feb 2017 10:35:38 -0800 |
From: Paul Durrant <address@hidden>
...not just IDE and SCSI.
This patch allows the Xen tool-stack to fully support of NVMe as an
emulated disk type. See [1] for the relevant tool-stack patch discussion.
[1] https://lists.xen.org/archives/html/xen-devel/2017-01/msg01225.html
Signed-off-by: Paul Durrant <address@hidden>
Reviewed-by: Stefano Stabellini <address@hidden>
---
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;
--
1.9.1