VirtualBox failed to initialize after an upgrade to OSX Big Sur 11.4
Failed to open a session for the virtual machine xxx.
The virtual machine 'xxx' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE
VirtualBox failed to initialize after an upgrade to OSX Big Sur 11.4
Failed to open a session for the virtual machine xxx.
The virtual machine 'xxx' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code: NS_ERROR_FAILURE
The following step resolved the problem:
sudo csrutil clear
followed by a reboot
The reboot took a long time.
Note that I did not need to uninstall or reinstall VirtualBox, like this related problem