Page MenuHomeFreeBSD

D43600.id133519.diff
No OneTemporary

D43600.id133519.diff

diff --git a/usr.sbin/bhyve/pci_nvme.c b/usr.sbin/bhyve/pci_nvme.c
--- a/usr.sbin/bhyve/pci_nvme.c
+++ b/usr.sbin/bhyve/pci_nvme.c
@@ -1065,7 +1065,7 @@
* cleared to 0h produces undefined results" for both ACQS and
* ASQS. If zero, set CFS and do not become ready.
*/
- asqs = ONE_BASED(sc->regs.aqa & NVME_AQA_REG_ASQS_MASK);
+ asqs = ONE_BASED(NVMEV(NVME_AQA_REG_ASQS, sc->regs.aqa));
if (asqs < 2) {
EPRINTLN("%s: illegal ASQS value %#x (aqa=%#x)", __func__,
asqs - 1, sc->regs.aqa);

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 21, 8:39 PM (9 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31878687
Default Alt Text
D43600.id133519.diff (509 B)

Event Timeline