Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163357880
D2629.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
411 B
Referenced Files
None
Subscribers
None
D2629.id.diff
View Options
Index: usr.sbin/bhyve/bhyverun.c
===================================================================
--- usr.sbin/bhyve/bhyverun.c
+++ usr.sbin/bhyve/bhyverun.c
@@ -258,7 +258,10 @@
* with vm_suspend().
*/
error = vm_activate_cpu(ctx, newcpu);
- assert(error == 0);
+ if (error) {
+ fprintf(stderr, "Attempting to activate a new vcpu failed\n");
+ exit(1);
+ }
CPU_SET_ATOMIC(newcpu, &cpumask);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 11:44 AM (56 m, 28 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35400854
Default Alt Text
D2629.id.diff (411 B)
Attached To
Mode
D2629: Avoid bhyve(8) have a core dump when try to activate a new vcpu using a running vm.
Attached
Detach File
Event Timeline
Log In to Comment