[Bug 256422] bhyve and Centos/Rocky 8.4 no boot after install
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Jun 2021 00:55:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256422 --- 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 == last) { + if ((prp_list == last) && (bytes > PAGE_SIZE)) { uint64_t prp = *prp_list; prp_list = paddr_guest2host(vmctx, prp, Note that I cleaned up some additional things and your line numbers won't quite match up. But I believe this is the crux of the fix necessary. -- You are receiving this mail because: You are the assignee for the bug.