svn commit: r345451 - stable/12/usr.sbin/bhyve

Chuck Tuffli chuck at FreeBSD.org
Sat Mar 23 16:30:52 UTC 2019


Author: chuck
Date: Sat Mar 23 16:30:50 2019
New Revision: 345451
URL: https://svnweb.freebsd.org/changeset/base/345451

Log:
  MFC r342762:
  bhyve(8): Fix bhyve's NVMe Completion Queue entry values
  
  Approved by:	imp (mentor)

Modified:
  stable/12/usr.sbin/bhyve/pci_nvme.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/usr.sbin/bhyve/pci_nvme.c
==============================================================================
--- stable/12/usr.sbin/bhyve/pci_nvme.c	Sat Mar 23 15:41:32 2019	(r345450)
+++ stable/12/usr.sbin/bhyve/pci_nvme.c	Sat Mar 23 16:30:50 2019	(r345451)
@@ -947,6 +947,7 @@ pci_nvme_handle_admin_cmd(struct pci_nvme_softc* sc, u
 			cq = &sc->compl_queues[0];
 
 			cp = &(cq->qbase)[cq->tail];
+			cp->cdw0 = compl.cdw0;
 			cp->sqid = 0;
 			cp->sqhd = sqhead;
 			cp->cid = cmd->cid;


More information about the svn-src-stable mailing list