]> git.proxmox.com Git - mirror_qemu.git/commit
hw/block/nvme: remove the req dependency in map functions
authorKlaus Jensen <k.jensen@samsung.com>
Sun, 7 Feb 2021 20:21:45 +0000 (21:21 +0100)
committerKlaus Jensen <k.jensen@samsung.com>
Tue, 9 Mar 2021 10:00:57 +0000 (11:00 +0100)
commit073d12d99871d0d500f44bd49cb0c45df14cf2c3
tree78757e5630da6ea8ea792223f0ec037d7f9222ad
parentf80a1c331ac2fe7428ddd76b1f059642d6a91338
hw/block/nvme: remove the req dependency in map functions

The PRP and SGL mapping functions does not have any particular need for
the entire NvmeRequest as a parameter. Clean it up.

Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Keith Busch <kbusch@kernel.org>
hw/block/nvme.c
hw/block/trace-events