Skip to content
Migrate your Xenserver image from *.xva to *.img or *.qcow2
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This project is for migrating from xenserver *.xva image to xen *.img image.


  1. Untar your xenserver image {{image}} with the command: tar -xvf {image}.xva. There are Ref:XX folder and ova.xml, where Ref:XX which contains 1MB size chunks of the image disk and ova.xml represents image spec.

  2. Then grab this handy utility and run it on your untared data, as an example:

python –-convert=Ref:XX {image}.img

  1. If you'd like to convert {image}.img to {image}.qcow2, you can run the command:

qemu-img convert -f raw -O qcow2 {image}.img {image}.qcow2

You can’t perform that action at this time.