This repository has been archived on 2020-11-27. You can view files and clone it, but cannot push or open issues or pull requests.
readme/virsh.md

9 lines
325 B
Markdown
Raw Normal View History

2019-04-08 17:19:45 +00:00
##virsh usefull command
- recover configuration xml from VM: `virsh dumpxml windows7> windows7.xml`
- start VM: `virsh start nas`
- shutdown VM: `virsh shutdown win7`
- rename VM: `virsh domrename --domain generic2 --new-name windows7`
- list all vm: `virsh list --all`
- create with xml file:`create --file debian8.xml`
-