Page MenuHomeFreeBSD

D43600.1789297040.diff
No OneTemporary

Size
509 B
Referenced Files
None
Subscribers
None

D43600.1789297040.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
Sun, Sep 13, 10:57 AM (2 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29562436
Default Alt Text
D43600.1789297040.diff (509 B)

Event Timeline