]> git.proxmox.com Git - mirror_qemu.git/commit
scsi: esp: respect FIFO invariant after message phase
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Jun 2016 13:10:24 +0000 (15:10 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 16 Jun 2016 16:39:05 +0000 (18:39 +0200)
commitd020aa504cec8f525b55ba2ef982c09dc847c72e
tree33b21ee0244b55b521091fb6e92f167cde9b2af5
parentd3cdc49138c30be1d3c2f83d18f85d9fdee95f1a
scsi: esp: respect FIFO invariant after message phase

The FIFO contains two bytes; hence the write ptr should be two bytes ahead
of the read pointer.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/scsi/esp.c