diff options
| author | Max Reitz | 2019-07-30 13:48:12 +0200 |
|---|---|---|
| committer | Max Reitz | 2019-07-30 14:49:24 +0200 |
| commit | 1120407bdf70a2c4681464ae08bdb7c615566200 (patch) | |
| tree | 525df53f207f0eb32ed7b6a8d9e2be2971b9dd3d /block/commit.c | |
| parent | Merge remote-tracking branch 'remotes/kevin/tags/for-upstream' into staging (diff) | |
| download | qemu-1120407bdf70a2c4681464ae08bdb7c615566200.tar.gz qemu-1120407bdf70a2c4681464ae08bdb7c615566200.tar.xz 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 'block/commit.c')
0 files changed, 0 insertions, 0 deletions
