diff options
author | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-10-29 10:32:54 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2020-11-03 19:06:21 +0000 |
commit | 76a24781cc82d99251f933c399d78af52e1d9b0e (patch) | |
tree | ca25a05a2e7b277c0643bb74b86f6bbb77f6126b /qemu-io-cmds.c | |
parent | 54248d4d73ddbce38e240056dacf582f92da872d (diff) | |
download | qemu-76a24781cc82d99251f933c399d78af52e1d9b0e.zip qemu-76a24781cc82d99251f933c399d78af52e1d9b0e.tar.gz qemu-76a24781cc82d99251f933c399d78af52e1d9b0e.tar.bz2 |
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 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions