github.com/stackdocker/rkt@v0.10.1-0.20151109095037-1aa827478248/stage1/usr_from_kvm/kernel/patches/0001-reboot.patch (about) 1 --- linux-4.0/kernel/reboot.c~ 2015-05-06 09:45:56.000000000 -0400 2 +++ linux-4.0/kernel/reboot.c 2015-05-08 09:43:18.178582429 -0400 3 @@ -326,7 +326,8 @@ 4 break; 5 6 case LINUX_REBOOT_CMD_HALT: 7 - kernel_halt(); 8 + // kernel_halt(); // as guest always give back control to host trough restart - don't block 9 + kernel_restart("<rkt: obligatory restart>"); 10 do_exit(0); 11 panic("cannot halt"); 12