Here some quicks steps on how to run a VMware virtual machine with Windows on it on KVM and libvirt. These are mainly notes for myself but they might still be helpful.
- If the VMware virtual disk consists of multiple numbered vmdk files, convert these with
qemu-img convert Windows-s0??.vmdk windows.img
where the question mark stands for the different numbers. In my case there were files called Windows-s001.vmdk to Windows-s021.vmdk.
- Move the converted image file to /var/lib/libvirt/images/
mv windows.img /var/lib/libvirt/images/
Start virt-manager and import the image
Start the VM, connect to it via virt-manager and configure the Windows network. Set the IP address to an available IP, the netmask to 255.255.255.255, the Gateway to your physical servers IP address and enter a DNS server, .e.g. 18.104.22.168.
Reactive Windows since the hardware changed.