projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d89e3f
)
xen-platform: add support for unplugging NVMe disks...
author
Paul Durrant
<paul.durrant@citrix.com>
Thu, 26 Jan 2017 09:37:24 +0000
(09:37 +0000)
committer
Stefano Stabellini
<sstabellini@kernel.org>
Fri, 27 Jan 2017 23:23:29 +0000
(15:23 -0800)
...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 <paul.durrant@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
hw/i386/xen/xen_platform.c
patch
|
blob
|
history
diff --git
a/hw/i386/xen/xen_platform.c
b/hw/i386/xen/xen_platform.c
index f50915ffbcb26344c7edf70320110295fa25b9f5..7d41ebb68be8d70a735cf10790390b82f9c393fd 100644
(file)
--- 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;