Page MenuHomeFreeBSD

D30897.id.diff
No OneTemporary

D30897.id.diff

diff --git a/usr.sbin/bhyve/pci_nvme.c b/usr.sbin/bhyve/pci_nvme.c
--- a/usr.sbin/bhyve/pci_nvme.c
+++ b/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
Fri, Jul 10, 8:45 PM (8 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34940198
Default Alt Text
D30897.id.diff (441 B)

Event Timeline