hw/block/nvme: add ns/cmd references in NvmeRequest
commit3143df3d568d45740473ef8d0cb73ae41eafad3f
authorKlaus Jensen <k.jensen@samsung.com>
Mon, 20 Jul 2020 10:44:01 +0000 (20 12:44 +0200)
committerKlaus Jensen <k.jensen@samsung.com>
Wed, 2 Sep 2020 06:48:50 +0000 (2 08:48 +0200)
tree6f3fc35bc6ecf36cd47c31aeb627cf0a498870a4
parent69265150aa53f0e1dbc85809800df40ffc9e7d67
hw/block/nvme: add ns/cmd references in NvmeRequest

Instead of passing around the NvmeNamespace and the NvmeCmd, add them as
members in the NvmeRequest structure.

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
hw/block/nvme.h