KVM: Difference between revisions

Jump to navigation Jump to search
686 bytes added ,  16 October 2020
m
no edit summary
mNo edit summary
 
Line 197: Line 197:
</source>
</source>


== Links ==
 
= Commands =
 
== Deleting ==
 
Note storage files. Shutdown. And delete.
 
<source lang="console">
# virsh dumpxml --domain openbsd | grep 'source file'
# virsh shutdown --domain openbsd
# virsh destroy -- domain openbsd
# virsh undefine -- domain openbsd
# rm -rf /var/lib/libvirt/images/openbsd.qcow2
</source>
 
When there are snapshots.
 
<source lang="console">
# virsh snapshot-list --domain openbsd
# virsh snapshot-delete --domain openbsd --snapshotname 3sep2016u1
</source>
 
Removing with all storage.
 
<source lang="console">
# virsh undefine --domain mysql-server
</source>
 
= Links =


* https://www.cyberciti.biz/faq/how-to-install-kvm-on-centos-7-rhel-7-headless-server/
* https://www.cyberciti.biz/faq/how-to-install-kvm-on-centos-7-rhel-7-headless-server/
Line 208: Line 236:
* QEMU (System Emulation)
* QEMU (System Emulation)
** [https://www.qemu.org/docs/master/system/quickstart.html System Emulation User Guide]
** [https://www.qemu.org/docs/master/system/quickstart.html System Emulation User Guide]
** [https://www.kraxel.org/blog/2019/09/display-devices-in-qemu/ VGA and other display devices in qemu]

Navigation menu