summaryrefslogtreecommitdiffstats
path: root/hw/usb/xen-usb.c
diff options
context:
space:
mode:
authorPaolo Bonzini2016-06-14 15:10:24 +0200
committerPaolo Bonzini2016-06-16 18:39:05 +0200
commitd020aa504cec8f525b55ba2ef982c09dc847c72e (patch)
tree33b21ee0244b55b521091fb6e92f167cde9b2af5 /hw/usb/xen-usb.c
parentscsi: esp: check buffer length before reading scsi command (diff)
downloadqemu-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