What mechanism Hyper-V use to signal a Linux guest to gracefully shut down?
Somehow CoreOS does gracefully shut down, but another Linux doesn't (it is just abruptly powered off)
hyper-vshutdown
What mechanism Hyper-V use to signal a Linux guest to gracefully shut down?
Somehow CoreOS does gracefully shut down, but another Linux doesn't (it is just abruptly powered off)
Best Answer
I figured it out.
drivers/hv/hv_util.c
callsorderly_poweroff()
fromkernel/reboot.c
which subsequently fails to find/sbin/poweroff
and does only a minimal cleanup.