]> xenbits.xensource.com Git - qemu-upstream-4.3-testing.git/commit
Fix release_drive on unplugged devices (pci_piix3_xen_ide_unplug)
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 3 Aug 2015 14:07:02 +0000 (14:07 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Mon, 3 Aug 2015 14:18:35 +0000 (14:18 +0000)
commit20c1b1812de98ed789d55e22a43a4700fb765596
treea02086d72c87f6bf767a6a33f618a5ac25b28f2e
parentd771040590f0dbb3689e186cdeaa08bff738186b
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