Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:kvm [2024/01/20 08:37] – [VM] darron | tools:kvm [2024/08/15 00:35] (current) – [VM] darron | ||
---|---|---|---|
Line 119: | Line 119: | ||
virsh autostart debian12 | virsh autostart debian12 | ||
</ | </ | ||
+ | |||
+ | == No auto start== | ||
+ | |||
+ | < | ||
+ | virsh autostart --disable debian12 | ||
+ | </ | ||
+ | |||
+ | == Information == | ||
+ | |||
+ | < | ||
+ | virsh dominfo debian12 | ||
+ | </ | ||
+ | |||
==Console== | ==Console== | ||
Line 127: | Line 140: | ||
==Stop== | ==Stop== | ||
+ | |||
+ | < | ||
+ | virsh shutdown debian12 | ||
+ | </ | ||
+ | |||
+ | NB there are optional modes | ||
+ | |||
+ | == Force stop== | ||
< | < | ||
Line 136: | Line 157: | ||
< | < | ||
virsh undefine debian12 | virsh undefine debian12 | ||
+ | </ | ||
+ | |||
+ | ==Export== | ||
+ | |||
+ | < | ||
+ | virsh dumpxml debian12 > debian12.xml | ||
+ | </ | ||
+ | |||
+ | ==Import== | ||
+ | |||
+ | < | ||
+ | virsh define debian12.xml | ||
</ | </ | ||
===Resources=== | ===Resources=== | ||
Line 143: | Line 176: | ||
[[https:// | [[https:// | ||
+ | [[https:// | ||
+ | |||
+ | [[https:// | ||
+ | |||
+ | [[https:// |