Skip to main content

hyper2kvm Engine

The VM conversion and guest OS fixing engine that completes the migration pipeline.

What It Does

hyper2kvm takes exported VM disks and makes them boot-ready on KVM/KubeVirt — handling format conversion, driver injection, and OS-level fixes automatically.

By the Numbers

MetricValue
Input Formats8 — VMDK, OVA, OVF, VHD, VHDX, AMI, Azure VHD, Raw
Output Formats4 — QCOW2 (default), RAW, VMDK, VHD
OS Support35+ versions — Windows and Linux
API Endpoints71 REST endpoints
Test Suite1,506 tests (1,367 Python + 139 Go)
Success Rate96.8% first-boot success
Performance5-7x faster than traditional tools
LVM Activation0.71s with 100% host protection

7-Stage Pipeline

StageWhat Happens
1. FetchAcquire source VM disks (vSphere, Azure, Hyper-V, local)
2. FlattenCollapse snapshot chains into single files
3. InspectDetect OS, firmware, bootloader, partition layout
4. PlanDetermine required fixes based on guest OS
5. FixApply offline fixes (fstab, initramfs, GRUB, network, VirtIO injection)
6. ConvertTransform disk format (compression optional)
7. ValidateBoot test (libvirt/QEMU smoke test)

Key differentiator: Deterministic offline fixes ensure first-boot success, eliminating the "boot and hope" approach traditional tools use.

Windows Migration

  • 5 VirtIO drivers injected: viostor (block storage), netkvm (network), balloon (memory), vioser (guest agent), viorng (RNG)
  • Registry modifications — CriticalDeviceDatabase, boot controller
  • Auto-detection — Filename containing "win" triggers Windows mode
  • Supported: Windows 7/8.1/10/11/12, Server 2012/2012 R2/2016/2019/2022/2025

Linux Migration

  • fstab stabilization — Rewrite device references to UUID/LABEL
  • initramfs regeneration — Include virtio modules (dracut/mkinitramfs)
  • GRUB update — Fix boot parameters for KVM
  • VMware tools removal — Clean up conflicting packages
  • Supported: RHEL 7-10, Ubuntu 18.04-24.04, Debian 10-12, Fedora, SUSE/openSUSE, Rocky, AlmaLinux, Oracle Linux, Amazon Linux, Photon OS 3-5

VMCraft API

480+ native Python VM manipulation APIs for advanced disk operations — format detection, partition analysis, filesystem repair, and driver injection at the block level.

Web Dashboard

hyper2kvm includes its own web dashboard (h2kweb) with 71 API endpoints covering:

CategoryEndpoints
Authentication3
Providers & VMs10
Migrations & Jobs10
VM Management18
KubeVirt6
Networks4
Storage & Upload9
Webhooks, Metrics, Audit11

hyper2kvm Dashboard


Schedule a Demo to see the full migration pipeline.