aboutsummaryrefslogtreecommitdiffstats
path: root/vm-manager/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vm-manager/README.md')
-rw-r--r--vm-manager/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/vm-manager/README.md b/vm-manager/README.md
index 8d817f9..bcf12ac 100644
--- a/vm-manager/README.md
+++ b/vm-manager/README.md
@@ -85,6 +85,18 @@ in a delete confirmation gives it up.
## Destructive actions
+`Discard saved state` appears on a shut-off VM only when one actually exists,
+and runs `virsh managedsave-remove`. A VM that was saved rather than shut down
+restores that memory image on the next `start`, and when the image cannot be
+restored the start fails every time with a QEMU `migrate-incoming` error while
+the panel shows an ordinary `shut off`. Discarding it deletes the memory image
+and nothing else, so the next start is a cold boot and the disk is untouched.
+That is why it takes a confirmation but not a typed name.
+
+Detection is `virsh dominfo`, grepped for `Managed save: yes`, once per VM on
+every list refresh. `domstats` does not carry it and `virsh list --name` drops
+the column that would.
+
`Reset`, `Force stop`, snapshot `Revert` and snapshot `Delete` each take one
confirmation click. `Delete VM` requires the machine's name to be typed,
because it runs `virsh undefine --remove-all-storage`, which erases the disk