Images obtained from VMware, VirtualBox, Hyper-V, or other virtualization platforms use
formats that differ from what Xloud Compute expects. The qemu-img tool converts between
all major disk image formats quickly and without data loss. QCOW2 is the recommended
format for Xloud — it provides compression, snapshot support, and efficient sparse storage.
Prerequisites
A Linux workstation with qemu-utils installed
The source image file in its original format
Free disk space: RAW conversions require space equal to the full virtual disk size
Recommended for Xloud — best balance of size and performance
RAW
.img, .raw
Uncompressed, full disk image
Maximum I/O performance; large file size
VMDK
.vmdk
VMware native format
Import from VMware ESXi or Workstation
VHD / VHDX
.vhd, .vhdx
Hyper-V / Azure native format
Import from Hyper-V or Microsoft Azure
VDI
.vdi
VirtualBox native format
Import from Oracle VirtualBox
Converting to RAW format creates a file equal to the full virtual disk size, not just
the used space. A 50 GB virtual disk produces a 50 GB RAW file even if only 5 GB is
used. Ensure sufficient disk space before converting.
The disk size shows actual data written; virtual size shows the size instances
see. QCOW2 preserves this sparse allocation — RAW expands to the full virtual size.
After conversion, perform a consistency check before uploading to Xloud:
Check image integrity
Copy
qemu-img check output-image.qcow2
Expected output:
Clean image output
Copy
No errors were found on the image.
If qemu-img check reports errors, the conversion may have encountered a corrupt
source image. Re-obtain the source and retry the conversion. Do not upload a
corrupted image — instances launched from it will fail unpredictably.