mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-28 04:43:54 -06:00
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>
This commit is contained in:
parent
3d89e3f7e8
commit
090fa1c8c8
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ static void unplug_disks(PCIBus *b, PCIDevice *d, void *o)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PCI_CLASS_STORAGE_SCSI:
|
case PCI_CLASS_STORAGE_SCSI:
|
||||||
|
case PCI_CLASS_STORAGE_EXPRESS:
|
||||||
object_unparent(OBJECT(d));
|
object_unparent(OBJECT(d));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue