You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following use case. When I load the OS Linux from the saved image, it contains incorrect date and time. I would like to detect in the hosted OS that the image was woken up and synchronize time from the V86 emulator, for instance using a Bash script. Could the OS Linux receive from ACPI subsystem for instance signal or interrupt that it was awaken from hibernation to automatically synch the clock with the valid value?
The text was updated successfully, but these errors were encountered:
I would like to detect in the hosted OS that the image was woken up and synchronize time from the V86 emulator, for instance using a Bash script.
You can run hwclock -s (#754) to synchronize time and date from RTC clock.
Could the OS Linux receive from ACPI subsystem for instance signal or interrupt that it was awaken from hibernation to automatically synch the clock with the valid value?
Load from state is not like a hibernation, it's just restore from file your RAM state, some device state and other settings, so I don' t think that ACPI sends any signal after restoring.
(explanation: this script runs a small task for updating time on background with timeout 20 second (you can choose any value), and clears screen in same time)
If we implement the qemu guest agent protocol (which requires virtio-serial), there is already functionality for setting the guest datetime. qemu guest agent has drivers for Windows and Linux.
I have the following use case. When I load the OS Linux from the saved image, it contains incorrect date and time. I would like to detect in the hosted OS that the image was woken up and synchronize time from the V86 emulator, for instance using a Bash script. Could the OS Linux receive from ACPI subsystem for instance signal or interrupt that it was awaken from hibernation to automatically synch the clock with the valid value?
The text was updated successfully, but these errors were encountered: