]> git.proxmox.com Git - mirror_qemu.git/commit - block/nvme.c
block/nvme: Change size and alignment of IDENTIFY response buffer
authorEric Auger <eric.auger@redhat.com>
Thu, 29 Oct 2020 09:33:00 +0000 (10:33 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 3 Nov 2020 19:06:22 +0000 (19:06 +0000)
commit0aecd06049ced6c0f863e99510b7a7cbff54aa56
tree86b0053deee84c7f56537cf645e353e34344f047
parenta652a3ec697d5b4cfce44599d3540aae535b9545
block/nvme: Change size and alignment of IDENTIFY response buffer

In preparation of 64kB host page support, let's change the size
and alignment of the IDENTIFY command response buffer 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: 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-20-philmd@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
block/nvme.c