summary refs log tree commit diff stats
path: root/hw/char/parallel.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-09-04 14:41:29 +0200
committerKevin Wolf <kwolf@redhat.com>2020-09-10 11:11:13 +0200
commitc7100f0a0bec585b88b67138f6e33791ec2dbf3e (patch)
tree9040a7b5069406e4d3902a3535ab2431e8a80957 /hw/char/parallel.c
parent0ea32f34ce08e10c3d715cfa1427a23fb7989196 (diff)
downloadfocaccia-qemu-c7100f0a0bec585b88b67138f6e33791ec2dbf3e.tar.gz
focaccia-qemu-c7100f0a0bec585b88b67138f6e33791ec2dbf3e.zip
block/nvme: Use generic NvmeBar structure
Commit f3c507adcd7 ("NVMe: Initial commit for new storage interface")
introduced the NvmeBar structure. Unfortunately in commit bdd6a90a9e5
("block: Add VFIO based NVMe driver") we duplicated it.

Apparently in commit a3d9a352d48 ("block: Move NVMe constants to
a separate header") we tried to unify headers but forgot to remove
the structure declared in the block/nvme.c source file.

Do it now, and remove the structure size check which is redundant
with the header check added in commit 74e18435c0e ("hw/block/nvme:
Align I/O BAR to 4 KiB").

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20200904124130.583838-3-philmd@redhat.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Reviewed-by: Fam Zheng <fam@euphon.net>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/char/parallel.c')
0 files changed, 0 insertions, 0 deletions