What's changed: Initial version (topic 2.05, subtopics 2.05.1–2.05.2)
5.2Creating and Managing Virtual Machines
Learn to create virtual machines with virt-manager (GUI) and virt-install (CLI), the difference between full virtualization and paravirtualization (virtio), lifecycle operations from the command line with virsh, and performance monitoring via virt-manager.
Once you understand how KVM works, the next step is operational: creating, running, and observing virtual machines. LinuC-2 expects you to create VMs from either GUI or CLI, choose how devices are presented (full virtualization or paravirtualization), and run day-to-day lifecycle operations with virsh.
5.2.1Creating virtual machines
- virt-manager is a GUI management tool for creating, starting, opening a console to, and reconfiguring VMs. Its wizard walks through ISO selection, CPU/memory allocation, and disk creation.
- virt-install performs the same creation process from the command line in one shot, suited to scripting and automated provisioning (e.g.,
virt-install --name vm1 --memory 2048 --vcpus 2 --disk size=20 --cdrom /path/to.iso).
Continue reading — free sign-up
You're reading the free preview. Sign up free to read this section in full, plus every chapter (including 4+) and all questions.

