virsh — Virtualization Shell for Managing VMs
Key Features
Basic Syntax
virsh [options] <command> [args]virsh start vm-nameCommon and Essential Subcommands
1. VM Lifecycle Management
2. Domain and Resource Info
3. VM Configuration and XML
4. Snapshot Management
5. Console and Access
6. Storage Management
7. Network Management
8. Remote and Interactive Mode
Example Use Cases
Start a Virtual Machine
Check Running VMs
Create a Snapshot Before Upgrade
Attach a CD-ROM ISO Image
Conclusion
Last updated