Page MenuHomeFreeBSD

D38872.id118201.diff
No OneTemporary

D38872.id118201.diff

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
@@ -1580,11 +1580,12 @@
* checkpointing thread for communication with bhyvectl
*/
if (init_checkpoint_thread(ctx) < 0)
- printf("Failed to start checkpoint thread!\r\n");
+ 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

Mime Type
text/plain
Expires
Sat, May 16, 11:11 AM (6 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33127782
Default Alt Text
D38872.id118201.diff (601 B)

Event Timeline