hw/block/nvme: remove explicit qsg/iov parameters
commit82386d4a0f19ff1e6a04e29f104da1d12269539e
authorKlaus Jensen <k.jensen@samsung.com>
Wed, 29 Jul 2020 19:55:37 +0000 (29 21:55 +0200)
committerKlaus Jensen <k.jensen@samsung.com>
Wed, 2 Sep 2020 06:48:50 +0000 (2 08:48 +0200)
treea6d02dd3f40980c63a4bf41ba2a4203b190b2a9b
parentd424d36a496da064de866469a344b07b771fbc12
hw/block/nvme: remove explicit qsg/iov parameters

Since nvme_map_prp always operate on the request-scoped qsg/iovs, just
pass a single pointer to the NvmeRequest instead of two for each of the
qsg and iov.

Suggested-by: Minwoo Im <minwoo.im.dev@gmail.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Minwoo Im <minwoo.im.dev@gmail.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
hw/block/nvme.c