Message ID | 20180627172432.11120-1-danielhb413@gmail.com |
---|---|
Headers | show |
Series | VPD Block Limits emulation implementation | expand |
On 27/06/2018 19:24, Daniel Henrique Barboza wrote: > v2: > - series overhauled - first 2 patches are cleanups (split in 2 > for easier review), patch 3 contains the whole logic > - previous version link: > https://lists.gnu.org/archive/html/qemu-devel/2018-06/msg02289.html > > > When using SCSI passthrough and running in Linux, QEMU edits the > reply of the SCSI Inquiry VPD Block Limits message with the value > of the /sys/bus/<dev>/queue/max_sectors_kb parameter the device > has in the host. Doing so allows the Linux guest to proper setup > the device. > > But the Block Limits message is optional, and its absence can cause > the device to be unusable by the guest. An example can be seen > at https://bugzilla.redhat.com/show_bug.cgi?id=1566195. > > This series implements an approach to solve it. Queued, thanks. Paolo