Created
November 8, 2018 14:49
-
-
Save rockoil/89c7dc3efff70419aa947c54f1e87aa4 to your computer and use it in GitHub Desktop.
kvm important command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virsh list --all | |
모든 가상 머신 목록 출력 | |
virsh start windows10 | |
windows10 이름의 가상 머신을 시작 (부팅) | |
virsh shutdown windows10 | |
종료 | |
virsh reboot windows10 | |
재시작 | |
virsh reset windows10 | |
강제 재시작 | |
virsh suspend windows10 | |
중지 | |
virsh resume windows10 | |
재개 | |
virsh destroy windows10 | |
virsh undefine windows10 | |
가상 머신 삭제 | |
(디스크는 삭제되지 않으므로 직접 삭제해야 한다.) | |
virsh autostart windows10 | |
홈 서버 컴퓨터가 시작되면 windows10 이름의 가상 머신을 자동으로 시작 (부팅) | |
virsh autostart windows10 --disable | |
autostart 해제 | |
virsh snapshot-create-as windows10 --name win10snap | |
windows10 이름의 가상 머신의 현재 상태를 win10snap 이름의 스냅샷으로 저장 | |
virsh snapshot-list windows10 | |
스냅샷 목록 출력 | |
virsh snapshot-delete windows10 --snapshotname win10snap | |
스냅샷 win13snap 삭제 | |
virsh snapshot-revert windows10 --snapshotname win10snap | |
스냅샷 win10snap으로 windows10 이름의 가상 머신을 복원 | |
출처 : https://varins.com/home-server-18-virtual-machine-qemu-kvm-libvirt-virt-install/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment