Linux guest graceful arrêt in Hyper-V

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Linux guest graceful arrêt in Hyper-V

Message par Clippy »

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)
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: Linux guest graceful arrêt in Hyper-V

Message par Clippy »

I figured it out. `drivers/hv/hv_util.c` calls `orderly_poweroff()` from `kernel/reboot.c` which subsequently fails to find `/sbin/poweroff` and does only a minimal cleanup.
Répondre

Revenir à « Hyper-V & Virtualisation »