[Bug] V2P live mirror: pause-pivot-resume stalls the guest for ~24 s instead of 1–2 s
Describe the bug
In live mirror mode the log announces "Pausing VM for atomic pivot (~1-2s)". With a Windows Server 2025 guest (60 GB disk, Ceph RBD target) the pause took 24 s. A heartbeat inside the guest (timestamp written every second) shows the same gap:
14:48:20.260
14:48:44.659
With a Debian guest (32 GB) the pivot was not visible in the heartbeat; with Ubuntu (32 GB) it took about 24 s in the log as well.
For a mode advertised as near-zero downtime, a 24 s freeze on top of the boot over sshfs should at least be shown realistically.
Steps to Reproduce
- Live mirror migration of a Windows VM from ESXi to an RBD storage.
- Compare the timestamps of "Pausing VM for atomic pivot" and "Pause-pivot-resume complete".
Expected behavior
A pause close to the announced 1–2 s, or the log and dialog stating the realistic pause.
Environment
- PegaProx Version: 1.4.1 (build 2026.10.24)
- Installation Method: Debian package (pegaprox 1.4.1-1)
- OS: Debian 13 (trixie)
- UI: Corporate
- Browser: Chrome (latest)
- Behind Reverse Proxy? No
- Source / Target: standalone ESXi 8.0U3 (VMFS6) → Proxmox VE 9, 3 nodes, Ceph RBD
Logs
[13:48:12] disk0: 100.0% (118 MB/s)
[13:48:15] All disks at 100% but not 'ready' - using pause-pivot-resume...
[13:48:15] Pausing VM for atomic pivot (~1-2s)...
[13:48:39] Pause-pivot-resume complete! (60.0 GB in 549s) - VM resumed on local storage ✓
Screenshots
n/a
Checklist
- [x] I have searched existing issues to make sure this is not a duplicate
- [x] I am using the latest version of PegaProx
- [x] I've put enough in here that someone can start on it without asking me three questions first
- [x] I understand PegaProx is maintained by volunteers in their free time. Nobody is on call, and writing URGENT doesn't get anyone out of bed 🪄
Shipped in 1.5.0. The live mirror only pauses the guest until QEMU takes the pivot now. Closing, thanks for the timings in the report.
Retested on 1.5.0-1: confirmed fixed. Live Mirror of a 60 GB Windows VM: "guest paused 2.5s" during pause-pivot-resume (26 s on 1.4.1 with the same VM).