Save state: say something if a hibernating guest never turns off

Open
#29 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
52/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
electron, react, typescript
Domain
desktop

Research direction

Start with the Save state flow that waits for the guest to power off and keeps the button disabled until then, which is referenced in #25. Find where the VM exit event is handled and where the button's disabled state is set. Add a roughly 2-minute timer that, if no exit arrives, shows a toast, re-enables the button, and mentions journalctl -b -u systemd-hibernate. Done when a simulated stalled hibernate shows the toast and restores the button.

Written by the indexing model from the issue text.

Description

ui

After a WHPX Save state, the app waits for the guest to power itself off. Save state stays disabled for that VM until it does (from #25). If the guest accepts the request but hibernation then fails (not enough swap, a driver that blocks it), the VM keeps running and nothing tells the user. The button just stays disabled.

Suggestion: after about 2 minutes without an exit, show a toast that the guest didn't finish hibernating, re-enable the button, and point at the guest's own logs (journalctl -b -u systemd-hibernate).

Dominant language
TypeScript
Stars
3
Forks
0
Avg merge
2m
Merged PRs (30d)
59

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from A21-devs/Virtual-Machine-Manager

All issues in A21-devs/Virtual-Machine-Manager

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.