Migrate your Xenserver image from *.xva to *.img or *.qcow2
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
xenmigrate.py

README.md

xenserver_to_xen

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

Quickstart

  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 xenmigrate.py –-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