]> xenbits.xensource.com Git - qemu-upstream-4.6-testing.git/commit
Fix release_drive on unplugged devices (pci_piix3_xen_ide_unplug) qemu-xen-4.6.0-rc1 qemu-xen-4.6.0-rc2
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 3 Aug 2015 13:56:57 +0000 (13:56 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 3 Aug 2015 13:56:57 +0000 (13:56 +0000)
commitbcf35eec0b621c46dbf0aeb40c6bc06b5d3981aa
tree3cad557a8bce302fef16ac7d8c187fc10176cfdc
parent94db81945c93c679fb5d2eb7d3beb98802f99d93
Fix release_drive on unplugged devices (pci_piix3_xen_ide_unplug)

pci_piix3_xen_ide_unplug should completely unhook the unplugged
IDEDevice from the corresponding BlockBackend, otherwise the next call
to release_drive will try to detach the drive again.

Suggested-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
hw/ide/piix.c