diff options
author | Philippe Mathieu-Daudé | 2020-10-29 10:32:54 +0100 |
---|---|---|
committer | Stefan Hajnoczi | 2020-11-03 20:06:21 +0100 |
commit | 76a24781cc82d99251f933c399d78af52e1d9b0e (patch) | |
tree | ca25a05a2e7b277c0643bb74b86f6bbb77f6126b /block/null.c | |
parent | block/nvme: Introduce Completion Queue definitions (diff) | |
download | qemu-76a24781cc82d99251f933c399d78af52e1d9b0e.tar.gz qemu-76a24781cc82d99251f933c399d78af52e1d9b0e.tar.xz qemu-76a24781cc82d99251f933c399d78af52e1d9b0e.zip |
block/nvme: Use definitions instead of magic values in add_io_queue()
Replace magic values by definitions, and simplifiy since the
number of queues will never reach 64K.
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-14-philmd@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Eric Auger <eric.auger@redhat.com>
Diffstat (limited to 'block/null.c')
0 files changed, 0 insertions, 0 deletions