]> Git Repo - qemu.git/commit
hw/block/nvme: map prp fix if prp2 contains non-zero offset
authorPadmakar Kalghatgi <[email protected]>
Fri, 9 Apr 2021 07:25:48 +0000 (12:55 +0530)
committerKlaus Jensen <[email protected]>
Mon, 12 Apr 2021 06:55:20 +0000 (08:55 +0200)
commitd357230b20e5f238e5ff6084cdf6d3231d27f0c6
tree6b92cd8de59a3bf1cfdc851f1de23ccd1b299607
parenta3d9f3a9629bfb22864e83e73f047cd62e9ba283
hw/block/nvme: map prp fix if prp2 contains non-zero offset

nvme_map_prp needs to calculate the number of list entries based on the
offset value. For the subsequent PRP2 list, need to ensure the number of
entries is within the MAX number of PRP entries for a page.

Signed-off-by: Padmakar Kalghatgi <[email protected]>
Signed-off-by: Klaus Jensen <[email protected]>
hw/block/nvme.c
This page took 0.024491 seconds and 4 git commands to generate.