diff options
author | Paolo Bonzini | 2016-06-14 15:10:24 +0200 |
---|---|---|
committer | Paolo Bonzini | 2016-06-16 18:39:05 +0200 |
commit | d020aa504cec8f525b55ba2ef982c09dc847c72e (patch) | |
tree | 33b21ee0244b55b521091fb6e92f167cde9b2af5 /hw/usb/xen-usb.c | |
parent | scsi: esp: check buffer length before reading scsi command (diff) | |
download | qemu-d020aa504cec8f525b55ba2ef982c09dc847c72e.tar.gz qemu-d020aa504cec8f525b55ba2ef982c09dc847c72e.tar.xz qemu-d020aa504cec8f525b55ba2ef982c09dc847c72e.zip |
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>
Diffstat (limited to 'hw/usb/xen-usb.c')
0 files changed, 0 insertions, 0 deletions