John-Mark Gurney wrote:
> Shouldn't shutdown be used instead of reboot/halt?  This allows
> various rc.d scripts to run, and you can use that to make sure all
> your bhyve instances are shutdown...

yes. but, if the reboot or poweroff or halt command is used, i'd like my
bhyve's to have enough time to umount their ufs zvol's. the rc.d script
should pass along some softer signal that can cause the bhyve to do its
own clean shutdown. but where SIGTERM is used, which is passed on as
ACPI power-off, i'd like busy (that is, not hung, trying hard to shut
down cleanly) bhyve's to get more time. the current poweroff/halt/reboot
command only looks for evidence of paging as a reason to extend the time
between SIGTERM and SIGKILL. i'd like to give it some bhyve-relevant
additional reason to delay that SIGKILL.

-- 
Paul Vixie
_______________________________________________
freebsd-virtualization@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization
To unsubscribe, send any mail to 
"freebsd-virtualization-unsubscr...@freebsd.org"

Reply via email to