xen-platform: add support for unplugging NVMe disks...
Quoted 29 lines · Stefano Stabellini
Quoted 26 lines · Paul Durrant
Quoted 25 lines
-----Original Message-----
From: Stefano Stabellini [mailto:[email protected]]
Sent: 24 January 2017 23:49
To: Paul Durrant <[email protected]>
Cc: [email protected]; [email protected]; Stefano Stabellini <[email protected]>; Anthony Perard <[email protected]>; Michael S. Tsirkin <[email protected]>; Paolo Bonzini <[email protected]>; Richard Henderson <[email protected]>; Eduardo Habkost <[email protected]>; [email protected]
Subject: Re: [PATCH v2 2/3] xen-platform: add support for unplugging NVMe disks...Quoted 6 lines · Paul Durrant
...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 <[email protected]>Please update docs/misc/hvm-emulated-unplug.markdown in the Xen repository first. It might be also worth clarifying that
1actually means all disks, not just IDE disks. Then, please add a reference to that commit in the description of this patch.
Quoted 5 lines
Quoted 1 line
Patch posted to remove 'IDE' from the documentation for value '1'. Awaiting ack.
Done.
When you repost this patch, could you also add to the description a reference to the commit that enables NVMe in QEMU with Xen? I guess it is a libxl commit?
I think there is a chicken and egg issue here. Wei wanted to ensure that QEMU is able to unplug NVMe drives before accepting my patch to libxl.
Paul
Quoted 29 lines
Quoted 28 lines
Quoted 27 lines
hw/i386/xen/xen_platform.c static void unplug_disks(PCIBus *b, PCIDevice *d,
Quoted 16 lines
---
Cc: Stefano Stabellini <[email protected]>
Cc: Anthony Perard <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Eduardo Habkost <[email protected]>--- hw/i386/xen/xen_platform.c | 1 + 1 file changed, 1 insertion(+)hw/i386/xen/xen_platform.c +0
-0@@ -120,6 +120,7 @@ static void unplug_disks(PCIBus *b, PCIDevice *d,void *o)
Quoted 10 lines
hw/i386/xen/xen_platform.c +1
-1break ;case PCI_CLASS_STORAGE_SCSI : +case PCI_CLASS_STORAGE_EXPRESS :object_unparent (OBJECT (d));break ; --2.1.4
Quoted 31 lines · Paul Durrant
Quoted 29 lines · Stefano Stabellini
Quoted 26 lines · Paul Durrant
Quoted 25 lines
-----Original Message-----
From: Stefano Stabellini [mailto:[email protected]]
Sent: 24 January 2017 23:49
To: Paul Durrant <[email protected]>
Cc: [email protected]; [email protected]; Stefano Stabellini <[email protected]>; Anthony Perard <[email protected]>; Michael S. Tsirkin <[email protected]>; Paolo Bonzini <[email protected]>; Richard Henderson <[email protected]>; Eduardo Habkost <[email protected]>; [email protected]
Subject: Re: [PATCH v2 2/3] xen-platform: add support for unplugging NVMe disks...Quoted 6 lines · Paul Durrant
...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 <[email protected]>Please update docs/misc/hvm-emulated-unplug.markdown in the Xen repository first. It might be also worth clarifying that
1actually means all disks, not just IDE disks. Then, please add a reference to that commit in the description of this patch.
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Patch posted to remove 'IDE' from the documentation for value '1'. Awaiting ack.
Done.
When you repost this patch, could you also add to the description a reference to the commit that enables NVMe in QEMU with Xen? I guess it is a libxl commit?I think there is a chicken and egg issue here. Wei wanted to ensure that QEMU is able to unplug NVMe drives before accepting my patch to libxl.
No problems. In that case, please add a link to the xen-devel email thread.
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines
Quoted 24 lines
hw/i386/xen/xen_platform.c static void unplug_disks(PCIBus *b, PCIDevice *d,
Quoted 16 lines
---
Cc: Stefano Stabellini <[email protected]>
Cc: Anthony Perard <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Richard Henderson <[email protected]>
Cc: Eduardo Habkost <[email protected]>
---
hw/i386/xen/xen_platform.c| 1 +1 file changed, 1 insertion(+)hw/i386/xen/xen_platform.c +0
-0@@ -120,6 +120,7 @@ static void unplug_disks(PCIBus *b, PCIDevice *d,void *o)
Quoted 7 lines
hw/i386/xen/xen_platform.c +0
-0break;case
PCI_CLASS_STORAGE_SCSI:
+ casePCI_CLASS_STORAGE_EXPRESS:
object_unparent(OBJECT(d)); break;
Quoted 8 lines
Quoted 5 lines
Quoted 4 lines
Quoted 3 lines
Quoted 3 lines
--
2.1.4
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel