OpenChannelSSD / qemu-nvme

The LightNVM qemu implementation, based on NVMe
http://openchannelssd.readthedocs.org/en/latest/
Other
131 stars 67 forks source link

nvme: fix off-by-one error in nvme_get_log #31

Closed birkelund closed 6 years ago

birkelund commented 6 years ago

The NUMDL and NUMDU fields form a 0's based value, so add one dword before calculating the length.