Working bhyve live-migration prototype targets FreeBSD 15.1

A first working implementation of live migration for bhyve on FreeBSD 15.1 has been presented on gyptazy.com. The prototype moves a running amd64 guest between hosts over TCP, keeping it active during preliminary memory transfers and pausing it for the final transfer of changes and execution state. It builds on experimental BHYVE_SNAPSHOT support.
The implementation copies populated guest memory and then repeatedly transfers pages modified since the previous pass. During the final pause, it sends the remaining changed pages alongside virtual CPU and device state. The destination starts the guest only after receiving a commit message from the source. Before that point, the design allows the source guest to resume if migration fails.
The author reports successful repeated migrations, memory-rewrite checks and disk workloads involving frequent fsync operations in a two-host test environment. Observed downtime for a slowly dirtying 512 MiB guest was approximately 138–171 ms. Rapidly changing memory can prevent pre-copy from converging, requiring a longer stop-and-copy pause. Testing has primarily exercised a single-vCPU guest; broader multi-vCPU stress testing remains necessary.
The WIP RFC is limited to amd64 and snapshot-capable emulated devices, with PCI passthrough migration unsupported. Its current TCP transport has neither authentication nor encryption. Further consideration for upstream inclusion requires stronger dirty-page correctness evidence, compatibility checks, storage and network handoff rules, and automated regression coverage. The author explicitly describes the results as engineering progress, without promising production support or complete correctness.
Original source: gyptazy.com ↗
Comments on source platforms
Rank is the maximum of the latest discussion counts. These are source metrics.
Hacker News
- Discussion ↗: 43
Measured: 14 Nov 2026, 18:28 UTC