block/nvme: Change size and alignment of prp_list_pages
commitf8fd3ebac358c187d0aba7f922450ed6addf41a8
authorEric Auger <eric.auger@redhat.com>
Thu, 29 Oct 2020 09:33:02 +0000 (29 10:33 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 3 Nov 2020 19:06:22 +0000 (3 19:06 +0000)
treee55b27f32a77644035eb7f9439df3e82c238f4af
parent2387aaced7209872238eaf594997009cffd5501d
block/nvme: Change size and alignment of prp_list_pages

In preparation of 64kB host page support, let's change the size
and alignment of the prp_list_pages so that the VFIO DMA MAP succeeds
with 64kB host page size. We align on the host page size.

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