Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F116048123
D38071.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
446 B
Referenced Files
None
Subscribers
None
D38071.diff
View Options
diff --git a/sys/amd64/vmm/vmm.c b/sys/amd64/vmm/vmm.c
--- a/sys/amd64/vmm/vmm.c
+++ b/sys/amd64/vmm/vmm.c
@@ -651,6 +651,9 @@
struct mem_map *mm;
int i;
+ if (destroy)
+ vm_xlock_memsegs(vm);
+
ppt_unassign_all(vm);
if (vm->iommu != NULL)
@@ -690,6 +693,7 @@
if (destroy) {
for (i = 0; i < VM_MAX_MEMSEGS; i++)
vm_free_memseg(vm, i);
+ vm_unlock_memsegs(vm);
vmmops_vmspace_free(vm->vmspace);
vm->vmspace = NULL;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 3, 1:42 AM (13 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17916612
Default Alt Text
D38071.diff (446 B)
Attached To
Mode
D38071: vmm: take exclusive mem_segs_lock in vm_cleanup()
Attached
Detach File
Event Timeline
Log In to Comment