aboutsummaryrefslogtreecommitdiff
path: root/qemu-nbd.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2020-06-17 14:22:00 +0100
committerStefan Hajnoczi <stefanha@redhat.com>2020-06-23 15:46:08 +0100
commitb75fd5f55467307a6e367bc349a8ea6ce30d8a1c (patch)
tree4930aa5a3779f8a58ac8d83bb4bd8f176829e013 /qemu-nbd.c
parenta5db74f324ee55badfa61b03922ec24439bb94a6 (diff)
downloadqemu-b75fd5f55467307a6e367bc349a8ea6ce30d8a1c.zip
qemu-b75fd5f55467307a6e367bc349a8ea6ce30d8a1c.tar.gz
qemu-b75fd5f55467307a6e367bc349a8ea6ce30d8a1c.tar.bz2
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 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions