diff options
author | Klaus Birkelund Jensen | 2019-06-06 11:25:30 +0200 |
---|---|---|
committer | Max Reitz | 2019-06-24 15:53:01 +0200 |
commit | 1cc354ac9868a35279ff01857144212f6aefb697 (patch) | |
tree | 8851e176690cad3ca2c6f380b9047512fefd5dcd /hw | |
parent | Merge remote-tracking branch 'remotes/amarkovic/tags/mips-queue-jun-21-2019' ... (diff) | |
download | qemu-1cc354ac9868a35279ff01857144212f6aefb697.tar.gz qemu-1cc354ac9868a35279ff01857144212f6aefb697.tar.xz qemu-1cc354ac9868a35279ff01857144212f6aefb697.zip |
nvme: do not advertise support for unsupported arbitration mechanism
The device mistakenly reports that the Weighted Round Robin with Urgent
Priority Class arbitration mechanism is supported.
It is not.
Signed-off-by: Klaus Birkelund Jensen <klaus.jensen@cnexlabs.com>
Message-id: 20190606092530.14206-1-klaus@birkelund.eu
Acked-by: Maxim Levitsky <mlevitsk@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/block/nvme.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/block/nvme.c b/hw/block/nvme.c index 107a719b95..36d6a8bb3a 100644 --- a/hw/block/nvme.c +++ b/hw/block/nvme.c @@ -1384,7 +1384,6 @@ static void nvme_realize(PCIDevice *pci_dev, Error **errp) n->bar.cap = 0; NVME_CAP_SET_MQES(n->bar.cap, 0x7ff); NVME_CAP_SET_CQR(n->bar.cap, 1); - NVME_CAP_SET_AMS(n->bar.cap, 1); NVME_CAP_SET_TO(n->bar.cap, 0xf); NVME_CAP_SET_CSS(n->bar.cap, 1); NVME_CAP_SET_MPSMAX(n->bar.cap, 4); |