aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2020-08-21 21:53:52 +0200
committerKevin Wolf <kwolf@redhat.com>2020-09-07 12:24:53 +0200
commit7d3b214ae45be7fafaf514c089360a3efc6bc23f (patch)
tree48a541910d06103ff5e7822572bcfe52b7aa7ee8 /.gitignore
parent4d980939374054b569dca981b1fb8f353c24a0ac (diff)
downloadqemu-7d3b214ae45be7fafaf514c089360a3efc6bc23f.zip
qemu-7d3b214ae45be7fafaf514c089360a3efc6bc23f.tar.gz
qemu-7d3b214ae45be7fafaf514c089360a3efc6bc23f.tar.bz2
block/nvme: Use union of NvmeIdCtrl / NvmeIdNs structures
We allocate an unique chunk of memory then use it for two different structures. By using an union, we make it clear the data is overlapping (and we can remove the casts). Suggested-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200821195359.1285345-9-philmd@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions