aboutsummaryrefslogtreecommitdiff
path: root/COPYING.LIB
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2018-10-23 00:46:21 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2018-11-06 21:35:05 +0100
commit6c219fc8a112fc69b29f59ea2c7865717ff6e3e0 (patch)
tree33a033ea082dc7f72f99597762be7ef140b89cae /COPYING.LIB
parente58ccf039650065a9442de43c9816f81e88f27f6 (diff)
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 'COPYING.LIB')
0 files changed, 0 insertions, 0 deletions