]> git.proxmox.com Git - mirror_qemu.git/commit
esp-pci: fixup deadlock with linux
authorHannes Reinecke <hare@suse.de>
Fri, 7 Nov 2014 12:22:32 +0000 (13:22 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 Nov 2014 12:31:19 +0000 (13:31 +0100)
commitc3543fb5fe4520f03dd4fef04fab7745eeca1c96
tree7cb1aa0c45d48557fcc1480f71511c381a3202b1
parent6e76d125f244e10676b917208f2a074729820246
esp-pci: fixup deadlock with linux

A linux guest will be issuing messages:

[   32.124042] DC390: Deadlock in DataIn_0: DMA aborted unfinished: 000000 bytes remain!!
[   32.126348] DC390: DataIn_0: DMA State: 0

and the HBA will fail to work properly.
Reason is the emulation is not setting the 'DMA transfer done'
status correctly.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/esp-pci.c