Date: Thu, 24 Jun 2021 00:55:05 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 256422] bhyve and Centos/Rocky 8.4 no boot after install Message-ID: <bug-256422-27103-RgG7TQShRy@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-256422-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-256422-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256422 --- Comment #10 from Chuck Tuffli <chuck@FreeBSD.org> --- I think nvme_write_read_blockif() has a bug: } static void @@ -1978,7 +1984,7 @@ nvme_write_read_blockif(struct pci_nvme_softc *sc, /* PRP2 is pointer to a physical region page list */ while (bytes) { /* Last entry in list points to the next list */ - if (prp_list =3D=3D last) { + if ((prp_list =3D=3D last) && (bytes > PAGE_SIZE)) { uint64_t prp =3D *prp_list; prp_list =3D paddr_guest2host(vmctx, prp, Note that I cleaned up some additional things and your line numbers won't q= uite match up. But I believe this is the crux of the fix necessary. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256422-27103-RgG7TQShRy>