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

Aperta
#29 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
52/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
electron, react, typescript
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).

Lingua principale
TypeScript
Stelle
3
Fork
0
Merge medio
2m
PR unite (30g)
35

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di A21-devs/Virtual-Machine-Manager

Tutte le issue di A21-devs/Virtual-Machine-Manager

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.