diff options
author | Philippe Mathieu-Daudé | 2020-10-29 10:32:58 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2020-11-03 20:06:21 +0100 |
commit | c8228ac35541564c46bf1c91ebe7951f367e2ce6 (patch) | |
tree | 9ee6424d5719e6ff32abf51cfa28730e589d86f3 /hw | |
parent | block/nvme: Simplify nvme_cmd_sync() (diff) | |
download | qemu-c8228ac35541564c46bf1c91ebe7951f367e2ce6.tar.gz qemu-c8228ac35541564c46bf1c91ebe7951f367e2ce6.tar.xz qemu-c8228ac35541564c46bf1c91ebe7951f367e2ce6.zip |
block/nvme: Set request_alignment at initialization
Commit bdd6a90a9e5 ("block: Add VFIO based NVMe driver")
sets the request_alignment in nvme_refresh_limits().
For consistency, also set it during initialization.
Reported-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20201029093306.1063879-18-philmd@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions