When attempting to resume from sleep a Win10 guest running in a Virtualbox VM, you might experience a BSOD 0x5c, HAL_INITIALIZATION_FAILED, with a first BSOD argument of 0x110.
After fruitlessly trying to find the "bug" in the driver I was developing in this environment, I found a fix in this thread .
With credit to "Senator949" on that thread:
1. Open a command prompt (run as administrator) and enter the command:
bcdedit /set useplatformclock true
2. Verify that useplatformclock is on/true using the command:
3. Restart the computer, then try sleep/resume several times.
Apparently the problem is related to differences in the system timers between Virtualbox and a real-machine environment.