]> git.ipfire.org Git - thirdparty/qemu.git/commit
nvme: Fix get/set number of queues feature
authorAlex Friedman <alex@e8storage.com>
Fri, 5 Dec 2014 12:40:24 +0000 (14:40 +0200)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 13 Jan 2015 13:43:29 +0000 (13:43 +0000)
commite7026f1953c16d1cc3e8310cc27db6acf61d9def
tree512bd1d20141d962e4edef6b3c575e4fec839a9e
parent9a502563eef7d7c2c9120b237059426e229eefe9
nvme: Fix get/set number of queues feature

According to the specification, the low 16 bits should contain the number of
I/O submission queues, and the high 16 bits should contain the number of
I/O completion queues.

Signed-off-by: Alex Friedman <alex@e8storage.com>
Acked-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/block/nvme.c