Difference between revisions of "kvm notes"
From thelinuxwiki
(Created page with " [https://www.furorteutonicus.eu/2013/08/04/enabling-host-guest-networking-with-kvm-macvlan-and-macvtap/ ENABLING HOST-GUEST NETWORKING]") |
|||
| Line 1: | Line 1: | ||
| + | ==CLI== | ||
| + | show all VMs | ||
| + | '''virsh list --all''' | ||
| + | Id Name State | ||
| + | -------------------------- | ||
| + | 4 myVM running | ||
| + | |||
| + | |||
| + | ===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 | ||
| + | |||
[https://www.furorteutonicus.eu/2013/08/04/enabling-host-guest-networking-with-kvm-macvlan-and-macvtap/ ENABLING HOST-GUEST NETWORKING] | [https://www.furorteutonicus.eu/2013/08/04/enabling-host-guest-networking-with-kvm-macvlan-and-macvtap/ ENABLING HOST-GUEST NETWORKING] | ||
Revision as of 12:57, 15 November 2021
CLI
show all VMs
virsh list --all Id Name State -------------------------- 4 myVM running
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