diff options
| author | David Woodhouse <dwmw@amazon.co.uk> | 2023-10-19 12:56:42 +0100 |
|---|---|---|
| committer | David Woodhouse <dwmw@amazon.co.uk> | 2023-11-07 08:56:06 +0000 |
| commit | a73049953b7259a94d068c1b453a73b8905b1a6f (patch) | |
| tree | aee94448a8920a0cabbcd49772e0dfa3537676eb /tests/qapi-schema/test-qapi.py | |
| parent | c10b4b3c0dcae2fe1836e534059b69e8bfce0e9f (diff) | |
| download | focaccia-qemu-a73049953b7259a94d068c1b453a73b8905b1a6f.tar.gz focaccia-qemu-a73049953b7259a94d068c1b453a73b8905b1a6f.zip | |
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>
Diffstat (limited to 'tests/qapi-schema/test-qapi.py')
0 files changed, 0 insertions, 0 deletions