Page MenuHomeFreeBSD

D61918.1795430820.diff
No OneTemporary

Authored By
Unknown
Size
568 B
Referenced Files
None
Subscribers
None

D61918.1795430820.diff

diff --git a/lib/libvmmapi/vmmapi.c b/lib/libvmmapi/vmmapi.c
--- a/lib/libvmmapi/vmmapi.c
+++ b/lib/libvmmapi/vmmapi.c
@@ -560,6 +560,14 @@
return (error);
}
+ /*
+ * If the domains so far end exactly at VM_LOWMEM_LIMIT, the
+ * split below would map a zero-length range below the limit,
+ * which fails. Start this domain at VM_HIGHMEM_BASE instead.
+ */
+ if (gpa == VM_LOWMEM_LIMIT)
+ gpa = VM_HIGHMEM_BASE;
+
/*
* If a domain is split by VM_LOWMEM_LIMIT then break
* its segment mapping into two parts, one below VM_LOWMEM_LIMIT

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 23, 10:47 AM (21 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41928269
Default Alt Text
D61918.1795430820.diff (568 B)

Event Timeline