Page MenuHomeFreeBSD

D30897.id91349.diff
No OneTemporary

D30897.id91349.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
Wed, Jul 22, 1:06 AM (32 m, 31 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35338570
Default Alt Text
D30897.id91349.diff (470 B)

Event Timeline