Please see: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/issues/736 I imagine this could either be solved in GNOME or in libvirt. Proposing for a blocker discussion. When you leave your VM unattended for a while and then can't work with it anymore, and all your unsaved work is gone, it's not a great experience.
More people complained about this here: https://discussion.fedoraproject.org/t/power-saving-options-automatic-supsend-is-on-please-change-to-off/79670
Discussed at 2023-03-20 blocker review meeting: https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2023-03-20/f38-blocker-review.2023-03-20-16.00.html . We agreed to accept this as a blocker as a violation of Beta criterion "The release must be able host virtual guest instances of the same release", on the basis that VMs which auto-suspend after 20 minutes and cannot be resumed are not really working.
While https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/325 fixes the issue with auto-suspending by preventing auto-suspension in VM environments, there's still the issue with manual suspension. If you manually click Suspend on your VM, you won't be able to resume from suspend. That's something that gnome-boxes and virt-manager should fix by monitoring the suspend state in libvirt and calling resume (either automatically, clicking a button, or by detecting input events on the display widget). See virDomainSuspend() and virDomainResume().
(In reply to Felipe Borges from comment #3) > While > https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/325 > fixes the issue with auto-suspending by preventing auto-suspension in VM > environments, This is sufficient for resolving the blocker status. > If you manually click Suspend on your VM, you won't be able to resume from > suspend. > > That's something that gnome-boxes and virt-manager should fix by monitoring Do you want me to file a bug against those two projects?
FEDORA-2023-26137c2392 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-26137c2392
FEDORA-2023-26137c2392 has been pushed to the Fedora 38 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-26137c2392 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
(In reply to Fedora Update System from comment #5) > FEDORA-2023-26137c2392 has been submitted as an update to Fedora 38. > https://bodhi.fedoraproject.org/updates/FEDORA-2023-26137c2392 Fixed.
FEDORA-2023-26137c2392 has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.