diff options
| author | Paul Durrant <paul.durrant@citrix.com> | 2017-01-26 09:37:24 +0000 |
|---|---|---|
| committer | Stefano Stabellini <sstabellini@kernel.org> | 2017-01-27 15:23:29 -0800 |
| commit | 090fa1c8c837ebabf8c199031e0f9a9bcdf26814 (patch) | |
| tree | c8aa9fc8364220abb71283b9d6f2085a518ec51d /hw/i386/xen/xen_platform.c | |
| parent | 3d89e3f7e816b6edbe3a516c754d20288a4e7937 (diff) | |
| download | focaccia-qemu-090fa1c8c837ebabf8c199031e0f9a9bcdf26814.tar.gz focaccia-qemu-090fa1c8c837ebabf8c199031e0f9a9bcdf26814.zip | |
xen-platform: add support for unplugging NVMe disks...
...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>
Diffstat (limited to 'hw/i386/xen/xen_platform.c')
| -rw-r--r-- | hw/i386/xen/xen_platform.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i386/xen/xen_platform.c b/hw/i386/xen/xen_platform.c index f50915ffbc..7d41ebb68b 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; |