FreeBSDのvirtualbox-ose-additionsが6.1.x用のままなので,Microsoft Windows 11上でFreeBSDを動かすためにEoLになったVirtualBox 6.1.xをずっと使っていたのだが,"Heads up - FreeBSD 14 port of VB guest additions 6.1.50 released"(VirtualBox Forums)の,
I just noticed that FreeBSD 14 virtualbox-ose-additions 6.1.50 (own FreeBSD port) has been released.
It is compatible with VBox 6.1.50 and 7.0.14. Tested under Windows 11 and Ubuntu 23.10 (6.6.14 kernel).
という記述を発見したので,VirtualBox 7.0.241に更新した.
更新後,shutdown -p now
で仮想マシンの電源が落ちなくなってしまったが,"Bug 277450 - “poweroff” does not power off the system when EFI is used"(FreeBSD Bugzilla)のコメントを参考にして/etc/sysctl.confに,
hw.efi.poweroff=0
を追加したら,正常に仮想マシンの電源が落ちるようになった…