diff options
author | Vincent Fu <vincentfu@gmail.com> | 2024-05-03 13:50:04 -0400 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2024-07-12 21:50:35 +0300 |
commit | e0d660aeeab08c1566d192cf624f59023386d951 (patch) | |
tree | b191b7013cb10e933a0cd36d7f94d875a0a4c2b2 /hw/isa-bus.c | |
parent | e4a9b44f7aa8872a67a54a71da474626cdbb830a (diff) |
hw/nvme: fix number of PIDs for FDP RUH update
The number of PIDs is in the upper 16 bits of cdw10. So we need to
right-shift by 16 bits instead of only a single bit.
Fixes: 73064edfb864 ("hw/nvme: flexible data placement emulation")
Cc: qemu-stable@nongnu.org
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
Reviewed-by: Klaus Jensen <k.jensen@samsung.com>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
(cherry picked from commit 3936bbdf9a2e9233875f850c7576c79d06add261)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'hw/isa-bus.c')
0 files changed, 0 insertions, 0 deletions