Guides tagged “virsh”
Step-by-step MdmHost guides about virsh, sorted A-Z.
7 guides
Back up running KVM VMs with virsh and a simple script
Back up live KVM virtual machines without downtime using external snapshots and blockcommit, save the XML definition, compress and copy off-host, schedule with cron and restore.
KVM and libvirt common errors and how to fix them
Fix the most common KVM and libvirt errors: /dev/kvm missing, permission denied on images, network default not active, domain already exists, failed to connect to the hypervisor and more.
KVM live migration with virsh: move running VMs between hosts
Move a running KVM virtual machine to another host with virsh migrate: shared vs local storage, CPU compatibility, network and SSH requirements, and how to verify and troubleshoot.
KVM snapshots with virsh: create, revert and delete
Create, list, revert and delete KVM VM snapshots with virsh, understand internal vs external snapshots, add the guest agent for consistency, and why snapshots are not backups.
Set up a serial console for KVM VMs (virsh console)
Enable a serial console in Linux KVM guests so you can reach them with virsh console without VNC or network: GRUB and kernel settings, getty, rescuing boot problems and exiting cleanly.
USB passthrough to KVM VMs with libvirt
Pass a USB device such as a licence dongle, Zigbee stick or UPS to a KVM virtual machine: find vendor and product IDs, attach by ID or port with virsh, hotplug, and fix common permission issues.
virsh commands cheat sheet for managing KVM virtual machines
The virsh commands you need day to day on a KVM host: list, start, stop and autostart VMs, edit XML, attach disks and NICs, change CPU and RAM, consoles, networks and storage pools.
Browse by topic
- Getting startedYour first hour with a new server: access, logins and basics.83 guides
- cPanelFiles, databases, email, domains and every cPanel tool, step by step.67 guides
- WHM & resellingWHM, packages, reseller accounts, WHMReseller and running a hosting brand.53 guides
- WordPressInstall, secure, speed up, migrate and fix WordPress sites.49 guides
- Email & webmailMailboxes, webmail, forwarders, spam filters and email delivery.67 guides
- DomainsRegistering, transferring and managing domains and nameservers.27 guides
- SSL certificatesFree AutoSSL, Let's Encrypt, paid certificates and HTTPS.41 guides
- CloudLinuxCloudLinux setup and use: LVE limits, CloudLinux Manager, CageFS and PHP/Node.js selectors.31 guides
- LiteSpeedLiteSpeed Web Server, LSCache and the LiteSpeed Cache plugin: install, settings and tuning.35 guides
- Imunify360Malware scanning, firewall and proactive defence with Imunify360.24 guides
- SoftaculousInstall, update, clone and back up apps with Softaculous.24 guides
- WP SquaredcPanel's WordPress platform: sites, plugins, staging and backups.9 guides
- SitePadBuild and publish websites with the SitePad builder.9 guides
- SitejetDesign, edit and publish sites with the Sitejet builder.9 guides
- WHMResellerAlpha and master resellers with WHMReseller: install, setup and use.12 guides
- VirtFusionInstall, set up and manage VirtFusion: hypervisors, packages, servers and WHMCS integration.28 guides
- VirtualizorManage your VPS with Virtualizor: power, OS reinstall, VNC, IPs and backups.44 guides
- PleskWebsites, email, databases and settings in the Plesk panel.53 guides
- DirectAdminUsers, domains, email and reseller tools in DirectAdmin.41 guides
- WHMCSBilling, automation, products and client management with WHMCS.52 guides
- Control panelscPanel & WHM, Plesk, DirectAdmin and other panels on your VPS.107 guides
- SecurityKeys, passwords, firewalls and keeping a server patched.138 guides
- Networking & DNSIP addresses, reverse DNS, ports and traffic.72 guides
- Websites & appsWeb servers, WordPress, PHP, Node.js, SSL and app hosting.83 guides
- DatabasesMySQL, MariaDB, PostgreSQL, Redis and MongoDB on a VPS.80 guides
- Billing & accountInvoices, renewals, the client area and your account.9 guides
- TroubleshootingWhen something is not working: checks and fixes.127 guides
- Linux VPSSSH, packages, services and everyday Linux administration.265 guides
- Windows VPS & RDPRemote Desktop, Windows Server settings and Admin RDP tips.73 guides
- Docker & DevOpsContainers, Git deploys, automation, monitoring and backups.82 guides
Still stuck?
Ask MdmHost AI for a quick answer, or open a ticket and our team will take a look. We are here 24/7.
