Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131867949
D38872.id118249.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
646 B
Referenced Files
None
Subscribers
None
D38872.id118249.diff
View Options
diff --git a/usr.sbin/bhyve/bhyverun.c b/usr.sbin/bhyve/bhyverun.c
--- a/usr.sbin/bhyve/bhyverun.c
+++ b/usr.sbin/bhyve/bhyverun.c
@@ -1579,12 +1579,13 @@
/*
* checkpointing thread for communication with bhyvectl
*/
- if (init_checkpoint_thread(ctx) < 0)
- printf("Failed to start checkpoint thread!\r\n");
+ if (init_checkpoint_thread(ctx) != 0)
+ errx(EX_OSERR, "Failed to start checkpoint thread");
if (restore_file != NULL) {
destroy_restore_state(&rstate);
- vm_restore_time(ctx);
+ if (vm_restore_time(ctx) < 0)
+ err(EX_OSERR, "Unable to restore time");
for (int i = 0; i < guest_ncpus; i++) {
if (i == BSP)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 12, 8:06 PM (1 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23599628
Default Alt Text
D38872.id118249.diff (646 B)
Attached To
Mode
D38872: bhyve: Exit with EX_OSERR if init checkpoint or restore time failed
Attached
Detach File
Event Timeline
Log In to Comment