David Woodhouse a73049953b xen-platform: unplug AHCI disks
To support Xen guests using the Q35 chipset, the unplug protocol needs
to also remove AHCI disks.

Make pci_xen_ide_unplug() more generic, iterating over the children
of the PCI device and destroying the "ide-hd" devices. That works the
same for both AHCI and IDE, as does the detection of the primary disk
as unit 0 on the bus named "ide.0".

Then pci_xen_ide_unplug() can be used for both AHCI and IDE devices.

Signed-off-by: David Woodhouse <dwmw@amazon.co.uk>
Reviewed-by: Paul Durrant <paul@xen.org>
2023-11-07 08:56:06 +00:00
..
2023-10-20 08:51:41 +02:00
2023-10-23 14:45:29 -07:00
2023-11-07 09:42:07 +08:00
2023-11-07 09:42:07 +08:00
2023-09-21 11:31:16 +03:00
2023-11-07 09:41:34 +08:00
2023-10-20 00:47:38 +02:00
2023-11-07 09:41:52 +08:00
2023-11-03 10:04:12 +08:00
2023-11-07 08:56:06 +00:00
2023-11-03 10:04:12 +08:00
2023-11-03 09:57:32 +08:00
2023-10-23 14:45:29 -07:00
2023-10-23 14:45:29 -07:00
2023-09-21 11:31:16 +03:00
2023-11-01 16:13:59 +01:00
2023-08-31 19:47:43 +02:00
2023-09-21 11:31:16 +03:00
2023-07-25 17:14:07 +03:00
2023-09-20 07:54:34 +03:00
2023-11-07 09:41:52 +08:00