Comprehensive documentation for all Hyper2KVM features and capabilities.
| Feature | Description | Status | Difficulty |
|---|---|---|---|
| VMCraft Engine | Native Python VM manipulation | β Production | ββ |
| fstab Stabilization | Automatic fstab repair | β Production | β |
| Enhanced Chroot | Advanced filesystem access | β Production | ββ |
| VMDK Inspector | Pre-migration analysis | β Production | β |
| Feature | Use Case | Documentation |
|---|---|---|
| XFS UUID Regeneration | Fix cloned VMware VMs with duplicate UUIDs | Guide |
| fstab Stabilization | Auto-repair fstab, convert to UUID/LABEL | Guide |
| Enhanced Chroot | Safe filesystem access with full isolation | Guide |
| BusLogic Auto-Fix | Handle legacy BusLogic SCSI controllers | Guide |
| Feature | Purpose | Documentation |
|---|---|---|
| VMDK Inspector | Analyze VMDK structure, detect issues | Guide |
| VMDK Validation | Pre-migration compatibility checks | Guide |
| Feature | Capability | Documentation |
|---|---|---|
| Daemon Mode | Background processing, job queue | Guide |
| Daemon Architecture | Design patterns, components | Guide |
| Daemon Enhancements | Advanced features, monitoring | Guide |
| Daemon User Guide | Complete usage guide | Guide |
| Feature | Function | Documentation |
|---|---|---|
| Systemd Integration | Service management, auto-start | Guide |
| Configuration Injection | Dynamic config generation | Guide |
| Platform | Features | Documentation |
|---|---|---|
| vSphere | Export, fetch, integration | Export, Design |
VMCraft is Hyper2KVMβs native Python VM manipulation engine with 480+ APIs for guest filesystem operations without requiring libguestfs.
Key Capabilities:
Documentation:
Specialized Guides:
Problem: Cloned VMware VMs often have duplicate XFS filesystem UUIDs, causing boot failures.
Solution: Automatic UUID regeneration with fstab updates.
command: local
vmdk: /vmware/cloned-vm.vmdk
output_dir: /kvm/vms
to_output: fixed-vm.qcow2
# Enable XFS UUID fix
xfs_regenerate_uuid: true
fstab_mode: stabilize-all
See: XFS UUID Regeneration Guide
Problem: VMDKs use device names (/dev/sda1) which may change in KVM.
Solution: Automatic conversion to UUID or LABEL-based mounting.
Modes:
stabilize-all: Convert all entries to UUIDuuid-only: Only update UUID entrieslabel-fallback: Prefer UUID, fallback to LABELpreserve: Keep original entriesfstab_mode: stabilize-all
See: fstab Stabilization Guide
Problem: Standard chroot is unsafe and can affect host system.
Solution: Isolated chroot environment with proper cleanup.
Features:
Problem: Need to analyze VMDK before migration to detect issues.
Solution: Comprehensive VMDK analysis tool.
Capabilities:
# Inspect VMDK
./scripts/vmdk_inspect.py /path/to/vm.vmdk
# With auto-fix recommendations
./scripts/vmdk_inspect.py /path/to/vm.vmdk --auto-fix
See: VMDK Inspector Guide
Problem: Need background processing and job queue for large-scale migrations.
Solution: Full-featured daemon with REST API.
Features:
# Start daemon
hyper2kvm daemon start
# Submit job
hyper2kvm daemon submit migration.yaml
# Check status
hyper2kvm daemon status
See: Daemon Mode Guide, Daemon User Guide
| Feature | VMCraft | libguestfs |
|---|---|---|
| Language | Pure Python | C with Python bindings |
| Dependencies | Minimal | Heavy (C libraries) |
| APIs | 480+ | 300+ |
| Windows Support | Native | Limited |
| Performance | Optimized | Good |
| Installation | pip install | System packages |
| Portability | High | Medium |
| Mode | Downtime | Use Case | Features |
|---|---|---|---|
| Standard | Full | Most migrations | Complete feature set |
| Live Fix | <5 seconds | Production VMs | SSH-based, minimal downtime |
| Daemon | Scheduled | Batch migrations | Queue, scheduling, monitoring |
command: local
vmdk: /vmware/linux-vm.vmdk
output_dir: /kvm/vms
to_output: linux-vm.qcow2
# Essential features
fstab_mode: stabilize-all
xfs_regenerate_uuid: true
regen_initramfs: true
update_grub: true
Features Used: fstab stabilization, XFS UUID regen, enhanced chroot
command: local
vmdk: /vmware/cloned-vm.vmdk
output_dir: /kvm/vms
to_output: fixed-clone.qcow2
# Clone-specific fixes
xfs_regenerate_uuid: true
fstab_mode: stabilize-all
regen_initramfs: true
Features Used: XFS UUID regeneration, fstab stabilization
# 1. Inspect VMDK
./scripts/vmdk_inspect.py /vmware/prod-vm.vmdk --auto-fix
# 2. Run migration with all features
hyper2kvm --config << EOF
command: local
vmdk: /vmware/prod-vm.vmdk
output_dir: /kvm/vms
to_output: prod-vm.qcow2
fstab_mode: stabilize-all
xfs_regenerate_uuid: true
regen_initramfs: true
update_grub: true
compress: true
EOF
Features Used: VMDK inspector, fstab stabilization, XFS UUID, enhanced chroot
| Feature | Version | Status |
|---|---|---|
| VMCraft Engine | 1.0+ | β Stable |
| fstab Stabilization | 1.0+ | β Stable |
| XFS UUID Regen | 1.0+ | β Stable |
| Enhanced Chroot | 1.0+ | β Stable |
| VMDK Inspector | 1.3+ | β Stable |
| VMDK Validation | 1.3+ | β Stable |
| Daemon Mode | 1.0+ | β Stable |
| Systemd Integration | 1.0+ | β Stable |
| vSphere Export | 1.0+ | β Stable |
| BusLogic Auto-Fix | 1.3+ | β Stable |
| Feature | Version | Status |
|---|---|---|
| Configuration Injection | 2.0+ | πΆ Beta |
| Operation | Speed | Notes |
|---|---|---|
| OS Detection | <1 sec | Cached after first detection |
| Package Query | 1-2 sec | Database operations |
| File Read | Fast | Direct filesystem access |
| File Write | Fast | Optimized I/O |
| Chroot Setup | <1 sec | One-time per session |
| Feature | Time Impact | When to Use |
|---|---|---|
| fstab Stabilization | +2-5 sec | Always (essential) |
| XFS UUID Regen | +5-30 sec | VMware clones only |
| VMDK Inspection | +10-30 sec | Pre-migration analysis |
| VMDK Validation | +5-15 sec | Pre-migration checks |
β fstab Stabilization: Prevents boot failures from device name changes β Enhanced Chroot: Safe filesystem access β VMDK Inspector: Identify issues before migration
πΆ XFS UUID Regeneration: Use for VMware clones πΆ BusLogic Auto-Fix: Use for VMs with BusLogic SCSI πΆ Daemon Mode: Use for batch migrations πΆ vSphere Export: Use for VMware vSphere integration
β‘ VMCraft Caching: Enabled by default β‘ Lazy Loading: Reduces memory usage β‘ Parallel Processing: Use batch mode for multiple VMs
See: Contributing Guide
Have an idea for a new feature?
Choose your area of interest:
β Read VMCraft Complete Guide
β See VMDK Inspector
β Try Daemon Mode
β Check Systemd Integration
β See API Reference
Last Updated: February 2026 Total Features: 20+ Production Ready: 15+ VMCraft APIs: 480+