summaryrefslogtreecommitdiffstats
path: root/roms
diff options
context:
space:
mode:
authorPaolo Bonzini2018-10-23 00:46:21 +0200
committerPaolo Bonzini2018-11-06 21:35:05 +0100
commit6c219fc8a112fc69b29f59ea2c7865717ff6e3e0 (patch)
tree33a033ea082dc7f72f99597762be7ef140b89cae /roms
parentlsi53c895a: check message length value is valid (diff)
downloadqemu-6c219fc8a112fc69b29f59ea2c7865717ff6e3e0.tar.gz
qemu-6c219fc8a112fc69b29f59ea2c7865717ff6e3e0.tar.xz
qemu-6c219fc8a112fc69b29f59ea2c7865717ff6e3e0.zip
scsi-generic: keep VPD page list sorted
Block limits emulation is just placing 0xb0 as the final byte of the VPD pages list. However, VPD page numbers must be sorted, so change that to an in-place insert. Since I couldn't find any disk that triggered the loop more than once, this was tested by adding manually 0xb1 at the end of the list and checking that 0xb0 was added before. Reported-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'roms')
0 files changed, 0 insertions, 0 deletions