block/nvme: Align iov's va and size on host page size
commit9e13d598843cca1cdab7b7bdcb9cc0868ebf7fed
authorEric Auger <eric.auger@redhat.com>
Thu, 29 Oct 2020 09:33:03 +0000 (29 10:33 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 3 Nov 2020 19:06:22 +0000 (3 19:06 +0000)
treec7e89ec4f3b1dd522426b05a34fb081cd1285f52
parentf8fd3ebac358c187d0aba7f922450ed6addf41a8
block/nvme: Align iov's va and size on host page size

Make sure iov's va and size are properly aligned on the
host page size.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@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-23-philmd@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
block/nvme.c