VirtualBox

Opened 5 months ago

#21917 new defect

VBox doesn't detect "modern standby" sleep mode on Win11 host

Reported by: danml Owned by:
Component: other Version: VirtualBox-7.0.12
Keywords: sleep Cc:
Guest type: Linux Host type: Windows

Description

It looks like many newer laptops that come win win11 have "modern standby" as the only available sleep option. When such laptop is put to sleep VBox doesn't detect it, leading to a broken VM on wake up (in my case my VM session was killed by a watchdog when laptop briefly woke up to switch from sleep to hibernate).

It looks like VBox needs to call RegisterSuspendResumeNotification in its HostPowerWin implementation to get notification for modern standby, see chromium code: https://chromium.googlesource.com/chromium/src/base/+/master/power_monitor/power_monitor_device_source_win.cc#119

Attachments (1)

vbox.log (123.5 KB ) - added by danml 5 months ago.
vbox log showing that vm wasn't suspended properly (HostSuspend happens after the session was killed by watchdog)

Download all attachments as: .zip

Change History (1)

by danml, 5 months ago

Attachment: vbox.log added

vbox log showing that vm wasn't suspended properly (HostSuspend happens after the session was killed by watchdog)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use