Moving VMs from VMware ESXi to Proxmox, including the ones you cannot switch off
Most guides to leaving VMware start with the same step, shut the VM down. For a lot of systems that is fine. For the ones where it is not, this post explains what a move has to carry and how EnvMap carries it. It is also honest that, so far, that has been proven in a lab and not yet on a real host.
Since Broadcom changed how VMware is licensed, a lot of teams are moving their virtual machines to Proxmox VE. The tools for that have got good. This post looks at the ways available today, what each one asks of you, and the case none of them covers: a system that has to keep running while it moves.
The ways to move a VM today#
Proxmox's own import wizard#
Current Proxmox VE releases ship an ESXi importer. You add the ESXi host as a storage (Datacenter → Storage → Add → ESXi), and its VMs appear there, ready to import with their disks and settings converted. Proxmox's announcement on its forum has the details.
For most powered-off VMs this is the right tool, and it is the first thing to try. Three things to know about it, from its users and its documentation:
- The VM on ESXi is powered off first. A "live import" option exists, and it starts the VM on Proxmox straight away while the disks follow in the background. The source is still off before it begins, so the system does restart.
- Going through a vCenter is much slower than talking to the ESXi host directly.
- An import that fails part-way starts again from the beginning.
Export and convert by hand#
Export the VM as OVF or copy its VMDK files, convert them with qemu-img, and attach them to a new VM with qm disk import. It works anywhere and needs no special access, and every step is yours: the network cards, the disk controller, the boot order and the drivers.
What they have in common#
Both shut the system down. Its processes end, its connections close, and it starts again on Proxmox. With a maintenance window that is a sound plan. Some systems have none: a database primary that nothing has a replica of, a licence server bound to a session, a box nobody dares restart because nobody remembers what it does at boot.
What a running VM is made of#
A running VM is three things, and each one moves differently.
- Its disks. These can be copied while the system runs, as long as something keeps track of what changes during the copy.
- Its memory. The processes, their open files, the network connections, the kernel's own state. A hypervisor can see which pages change. The system inside it mostly cannot, so a copy made from inside needs a short freeze to get one consistent picture.
- The virtual hardware it is driving. This is the hard part. ESXi gives a guest VMware's network card and disk controller and its own firmware. Proxmox gives virtio devices on a different chipset. A kernel that wakes up on hardware it has never seen is still talking to the old devices.
VMware's vMotion and Proxmox's live migration both solve the third problem by not having it: they move a VM between hosts that present the same virtual hardware. Between ESXi and Proxmox that is not possible, so the guest has to be told about its new hardware as it wakes up.
How EnvMap moves a running VM#
In EnvMap you choose a host on each side, select a VM and click the arrow. Behind that:
- The new VM is built first, on the other host, with the memory and disk space the check found, and it starts from a small EnvMap receiver CD.
- The disks are copied from inside the running guest. Writes made during the copy are followed by the kernel's own block tracer and sent again.
- Memory is sent ahead while the system runs. In the lab, 83 to 88% of it was across before the freeze.
- Then the system freezes, the last changed pages and disk blocks cross, and it wakes up on the new VM.
- On arrival, before anything else runs, the tool corrects what changed under it. It resets every disk controller it kept, re-points the root filesystem at its new disk, gives the new network card the old card's name, moves the clock to one that ticks at the same rate everywhere, and stops the kernel running the old machine's firmware program.
- The old VM is kept, powered off, renamed and taken off the network. It is not deleted.
The order matters for safety. Until the receiver says the system has arrived, the old VM is only frozen, and if anything breaks it carries on where it stopped. A move that fails before the last step never stopped the system at all.
The details of every one of those steps, and what the check asks for before it creates anything, are in the docs for a move.
One example of why the corrections matter#
A disk controller kept through a move is, on the new VM, a fresh device that knows nothing of the queues its driver thinks it has. The driver only notices when a command times out, and then it escalates to a reset. In the lab that took 118 and 110 seconds on AlmaLinux 10: two minutes in which every disk read waits. With the reset issued as the first act on arrival, it took 0.15 to 0.18 seconds across seven moves.
That is the shape of most of this work. Nothing crashes, and the system answers pings. Then a fault surfaces two minutes later, and only on one kernel.
What the lab showed#
The engine was run in a lab that gives each VM the hardware ESXi and Proxmox give their guests. After every move these were checked: the same hostname, a background process with the same process ID still counting, unbroken uptime, the network answering on the same address, a file's checksum, and a writer's log with no line missing.
| System | ESXi shape to Proxmox shape | Proxmox shape to ESXi shape |
|---|---|---|
| Ubuntu 24.04 | Pass | Pass |
| Debian 13 | Pass | Pass |
| AlmaLinux 10 | Pass | Pass |
| CentOS 7 | Pass | Pass, 7 of 8 runs |
A TCP connection held open by a third VM carried on through the move with the same port numbers. So did a move there and back again, and an undo after the whole system had crossed.
What it does not do yet#
This is a preview, and the limits are real:
- No complete move has been seen on a real host yet, running or powered off. A lab is not ESXi. On 28 November 2026 the first move between two real ESXi 8.0.3 hosts was refused by the engine's own check before anything froze, and undone cleanly: the VM carried on where it was. The next release fixed the two causes that run found, and one step has since been shown on a real host: a new VM on ESXi 8 built with the moving VM's own motherboard layout, its disk controller and cards where the VM has them. That is one step, not a move. Pause times measured under emulation are not real pauses either, so there is no pause figure to quote.
- An older processor on the new host costs one restart. A running system cannot give up processor features it is already using. Between two ESXi hosts the check names the missing features before anything is created, and EnvMap can restart the VM once with those features hidden from it (a per-VM feature mask, what vMotion calls EVC), then move it while it runs. It is down for about a minute, once. That needs a licensed ESXi host, and the mask has been proven on a real host; a complete move after it has not been seen yet. The other choices are to move it powered off, or to another host. Across hypervisors the new VM refuses a processor it cannot give the system, and says so.
- A running VM must be Linux on x86-64. Windows does not survive waking on a changed memory layout, so across hypervisors it is moved powered off.
- Between ESXi and Proxmox the root filesystem must be on LVM, because the disk controller changes type and the root is re-pointed at its new disk.
- The guest needs VMware Tools on ESXi, or the QEMU guest agent on Proxmox. Secure Boot usually locks the kernel, and the move is then refused.
- Both sides are a standalone ESXi host or Proxmox VE. A vCenter stays read-only.
- PCI passthrough, USB devices and a TPM's contents do not move.
If it refuses your VM, it says why in words, before it creates anything.
Powered-off VMs, and the free ESXi licence#
A powered-off VM is moved too, without ever being started. Two small helper VMs copy its disks from host to host, and every byte is read back before the move counts as done. For a powered-off VM going to Proxmox, Proxmox's own importer does a similar job. EnvMap's version also works from Proxmox back to ESXi, and from one screen with the rest of the estate.
On the free ESXi licence, VMware's API only reads. EnvMap then works through the host's own shell over SSH, by itself, and still reads through the API.
Try it#
Try it on two lab hosts first, with a VM you can afford to restart:
curl -fsSLO \
https://raw.githubusercontent.com/ammar-hassoun/envmap/main/deploy/compose/compose.yaml
docker compose up -dThen add an ESXi host and a Proxmox node under Hypervisors, allow management on both, and open ⇄ VM migration. The overview is on the VMware to Proxmox page, and the whole procedure in Move a VM.
If you run it on a real host, the result is the most useful thing anyone can send us right now, whatever it is. What to do when a move is refused is in Troubleshooting. Tell us in Discussions.
EnvMap home · Docs · GitHub