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

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

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