diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-10-29 10:32:56 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-11-03 19:06:21 +0000 |
commit | 52b75ea8ec4f6cd8028bd8406ebcf2e80ffc6e05 (patch) | |
tree | f2ea28315570e7bacffb025ef0fe1706ae3a0474 /tcg | |
parent | 3c363c073e024fae7b09cad916e63dae89ed46cc (diff) |
block/nvme: Simplify ADMIN queue access
We don't need to dereference from BDRVNVMeState each time.
Use a NVMeQueuePair pointer on the admin queue.
The nvme_init() becomes easier to review, matching the style
of nvme_add_io_queue().
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20201029093306.1063879-16-philmd@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions