At least an error from vcpu_lock_all() at line 553 would leak
memseg lock. There might be other cases as well.
Details
Details
- Reviewers
corvink markj - Group Reviewers
bhyve - Commits
- rG0d1ff2b04d27: vmm: don't leak locks exiting vmmdev_ioctl()
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This and D40980 are now required for me to use bhyve. Without them it panics with 100% guarantee. I don't know what is special with my machine that vcpu array is empty during early stages of bhyveload. With the patches, bhyve just works and VM boots up. Apparently vcpus are allocated later.