Difference between revisions of "Virtualization"
Line 14: | Line 14: | ||
--extra-args 'console=ttyS0,115200n8 serial' | --extra-args 'console=ttyS0,115200n8 serial' | ||
</pre> | </pre> | ||
+ | |||
+ | === KVM Commands === | ||
+ | List all VMs: | ||
+ | virsh list --all | ||
Exit KVM serial: | Exit KVM serial: | ||
Ctrl + ] | Ctrl + ] | ||
+ | |||
+ | Shutdown: | ||
+ | virsh shutdown <domain> | ||
+ | |||
+ | Delete VM: | ||
+ | virsh undefine <domain> | ||
+ | |||
+ | Delete disk image: | ||
+ | rm /var/lib/libvirt/images/<disk_image_file> | ||
=== KVM Windows Drivers === | === KVM Windows Drivers === |
Revision as of 05:05, 15 October 2025
How to install KVM VM using virt-install CLI:
virt-install \ --name dhcp-new \ --ram 1024 \ --vcpus 1 \ --disk path=/var/lib/libvirt/images/dhcp-new.qcow2,size=10 \ --location 'http://deb.debian.org/debian/dists/bookworm/main/installer-amd64/' \ --network bridge=br0 \ --os-variant debian10 \ --graphics none \ --console pty,target_type=serial \ --extra-args 'console=ttyS0,115200n8 serial'
Contents
KVM Commands
List all VMs:
virsh list --all
Exit KVM serial:
Ctrl + ]
Shutdown:
virsh shutdown <domain>
Delete VM:
virsh undefine <domain>
Delete disk image:
rm /var/lib/libvirt/images/<disk_image_file>
KVM Windows Drivers
QEMU Raspberry Pi
KVM OSX
Convert a SPARC Workstation to QEMU
http://kb.networksystemssolutions.info/index.php/Sparc_Virtualization
SPARC emulation on Linux with QEMU
Disk formating:
Running QEMU:
QEMU Monitor Change CD-ROM:
Solaris Install:
Networking: