Page MenuHomeFreeBSD

D30897.id91421.diff
No OneTemporary

D30897.id91421.diff

Index: usr.sbin/bhyve/pci_nvme.c
===================================================================
--- usr.sbin/bhyve/pci_nvme.c
+++ usr.sbin/bhyve/pci_nvme.c
@@ -1976,7 +1976,7 @@
/* 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,

File Metadata

Mime Type
text/plain
Expires
Thu, May 14, 10:02 PM (11 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33056683
Default Alt Text
D30897.id91421.diff (470 B)

Event Timeline