diff options
author | Philippe Mathieu-Daudé | 2020-10-29 10:32:57 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2020-11-03 20:06:21 +0100 |
commit | 08d5406798f7729de8344ef0ed16d8bad8cdfc84 (patch) | |
tree | 43037e562e7dd991874776fb6c140bbc3c028f79 /hw/pcmcia | |
parent | block/nvme: Simplify ADMIN queue access (diff) | |
download | qemu-08d5406798f7729de8344ef0ed16d8bad8cdfc84.tar.gz qemu-08d5406798f7729de8344ef0ed16d8bad8cdfc84.tar.xz qemu-08d5406798f7729de8344ef0ed16d8bad8cdfc84.zip |
block/nvme: Simplify nvme_cmd_sync()
As all commands use the ADMIN queue, it is pointless to pass
it as argument each time. Remove the argument, and rename the
function as nvme_admin_cmd_sync() to make this new behavior
clearer.
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20201029093306.1063879-17-philmd@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Diffstat (limited to 'hw/pcmcia')
0 files changed, 0 insertions, 0 deletions