diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2020-06-17 14:22:00 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-06-23 15:46:08 +0100 |
commit | b75fd5f55467307a6e367bc349a8ea6ce30d8a1c (patch) | |
tree | 4930aa5a3779f8a58ac8d83bb4bd8f176829e013 /block/trace-events | |
parent | a5db74f324ee55badfa61b03922ec24439bb94a6 (diff) |
block/nvme: keep BDRVNVMeState pointer in NVMeQueuePair
Passing around both BDRVNVMeState and NVMeQueuePair is unwieldy. Reduce
the number of function arguments by keeping the BDRVNVMeState pointer in
NVMeQueuePair. This will come in handly when a BH is introduced in a
later patch and only one argument can be passed to it.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Sergio Lopez <slp@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200617132201.1832152-7-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/trace-events')
0 files changed, 0 insertions, 0 deletions