1. Home
  2. Blog
  3. How to migrate VMware ESXi VMs to KVM with minimal downtime

How to migrate VMware ESXi VMs to KVM with minimal downtime

November 23, 2026 · 2 min read · PikoStack team

Moving VMs from ESXi to KVM is a well-understood process. Doing it for hundreds of VMs without long outages takes some care. This guide covers the method and the pitfalls, whichever tooling you use.

Cold versus warm migration#

A cold migration shuts the VM down, copies its disks and converts it. Downtime equals the copy time, which for a 500 GB VM can be hours.

A warm migration copies the disks while the VM runs, then repeatedly copies only the blocks that changed, using VMware's changed block tracking (CBT). At cutover, the VM is shut down, the last small delta is copied, the guest is converted and the VM boots on KVM. Downtime drops to minutes.

Preparation checklist#

  1. Inventory: VM name, OS, disks, NICs, MAC and IP addresses, snapshots.
  2. Remove old snapshots and consolidate disks; long snapshot chains slow everything down.
  3. Install VirtIO drivers on Windows guests in advance. They are harmless on VMware and make the first KVM boot faster and safer.
  4. Suspend BitLocker protectors on Windows VMs with a virtual TPM; TPM state does not transfer.
  5. Note licenses bound to MAC addresses and plan to keep MACs.
  6. Check free space on the destination for full-size disks.

The steps#

  1. Connect to vCenter or ESXi with an account that can read VMs, create snapshots and enable CBT.
  2. Initial sync: take a snapshot, copy all allocated blocks to the destination volume, release the snapshot.
  3. Delta rounds: every few minutes, snapshot again, ask CBT which blocks changed, copy only those.
  4. Cutover: shut the guest down cleanly, copy the final delta, remove VMware Tools, inject VirtIO drivers, rebuild the initramfs, fix fstab and the boot loader.
  5. Boot and verify on KVM with the same IP and MAC, then run health checks: ping, TCP ports, an HTTP check.
  6. Roll back if verification fails: power the source on again. Keep the source VM, powered off, until the owner signs off.

Typical downtime#

With warm migration and drivers pre-installed, Linux VMs typically switch over in 2 to 8 minutes and Windows VMs in 4 to 15 minutes. Most of that time is the clean shutdown, conversion and first boot.

Doing it with PikoStack#

PikoStack's migration engine automates every step above, including the rollback, for ESXi and vCenter, as well as Hyper-V, Proxmox VE and Virtualizor. Read the VMware migration guide or the migration overview.

Try PikoStack on your own hardware

Install the Free edition with one command, or talk to us about migrating an existing platform.