Difference between revisions of "kvm notes"
From thelinuxwiki
Line 6: | Line 6: | ||
4 myVM running | 4 myVM running | ||
+ | ===xml location=== | ||
+ | /etc/libvirt/qemu/ | ||
===snapshots=== | ===snapshots=== |
Latest revision as of 14:44, 5 September 2023
CLI
show all VMs
virsh list --all Id Name State -------------------------- 4 myVM running
xml location
/etc/libvirt/qemu/
snapshots
create new snapshot
virsh snapshot-create-as --domain myVMname --name "2021-11-15_snapshot_myVMname" --description "snapshot before windows update"
show shapshots
virsh snapshot-list myVMname Name Creation Time State
2021-11-15_snapshot_myVMname 2021-11-15 06:27:57 -0600 running