diff options
| author | Max Reitz <mreitz@redhat.com> | 2019-07-30 13:48:12 +0200 |
|---|---|---|
| committer | Max Reitz <mreitz@redhat.com> | 2019-07-30 14:49:24 +0200 |
| commit | 1120407bdf70a2c4681464ae08bdb7c615566200 (patch) | |
| tree | 525df53f207f0eb32ed7b6a8d9e2be2971b9dd3d /hw/misc/mst_fpga.c | |
| parent | 6e9a6cbe7d56107f5e0d7711905dc19bb4d7e3f0 (diff) | |
| download | focaccia-qemu-1120407bdf70a2c4681464ae08bdb7c615566200.tar.gz focaccia-qemu-1120407bdf70a2c4681464ae08bdb7c615566200.zip | |
nvme: Limit blkshift to 12 (for 4 kB blocks)
Linux does not support blocks greater than 4 kB anyway, so we might as well limit blkshift to 12 and thus save us from some potential trouble. Reported-by: Peter Maydell <peter.maydell@linaro.org> Suggested-by: Maxim Levitsky <mlevitsk@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com> Message-id: 20190730114812.10493-1-mreitz@redhat.com Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com> Coverity: CID 1403771 Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions