FreeBSD Bugzilla – Attachment 168441 Details for
Bug 208168
Bad KASSERT in vmm.c vm_gpa_hold()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch as attachment
file_208168.txt (text/plain), 634 bytes, created by
Dave Cameron (puddingpimp)
on 2016-03-21 00:06:30 UTC
(
hide
)
Description:
Patch as attachment
Filename:
MIME Type:
Creator:
Dave Cameron (puddingpimp)
Created:
2016-03-21 00:06:30 UTC
Size:
634 bytes
patch
obsolete
>diff --git a/sys/amd64/vmm/vmm.c b/sys/amd64/vmm/vmm.c >index cb04f3c..ebd6360 100644 >--- a/sys/amd64/vmm/vmm.c >+++ b/sys/amd64/vmm/vmm.c >@@ -914,7 +914,7 @@ vm_gpa_hold(struct vm *vm, int vcpuid, vm_paddr_t gpa, size_t len, int reqprot, > * guaranteed if at least one vcpu is in the VCPU_FROZEN state. > */ > int state; >- KASSERT(vcpuid >= -1 || vcpuid < VM_MAXCPU, ("%s: invalid vcpuid %d", >+ KASSERT(vcpuid >= -1 && vcpuid < VM_MAXCPU, ("%s: invalid vcpuid %d", > __func__, vcpuid)); > for (i = 0; i < VM_MAXCPU; i++) { > if (vcpuid != -1 && vcpuid != i) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 208168
: 168441