Page MenuHomeFreeBSD

D2629.id.diff
No OneTemporary

D2629.id.diff

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

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)

Event Timeline