KVM VM on AHV? | Nutanix Community
Skip to main content
Hi,



AHV is based on KVM, but I can't find any documentation that states that you actuelly can run/move KVM VMs on AHV. Can anyone confirm this?



We have a customer who wishes to move their KVM VMs to our AHV environment. :)

So we want to confirm that it is possible.



Best regards

Peter
While AHV is based on KVM, it's always good to have a vendor certify use of a product on AHV. You can submit a support request with a companies contact info to start this engagement.

That said, the non-official answer is that if you can determine if virtIO drivers are installed for networking and storage, then it will likely run on AHV.



Most Linux appliances will have this installed by default. Windows might be hit or miss. Seeing as it's already been running on KVM, I would venture to say it has the drivers needed. I would highly suggest testing.



You can use qemu-img to create an image of your system on KVM.



For example you can export for ESXi by using the following command.



code:
qemu-img convert -f raw /var/lib/libvirt/images/VM.img -O vmdk VM.tmp.vmdk -o compat6




code:
I would suggest using the qemu-img man page to undertand the format you may need. 


https://linux.die.net/man/1/qemu-img



Note: You can import VMDKs into AHV.



Hope this helps somewhat.
Thank you. It's a Windows VM. We will try and test it out. 🙂

Thank you. It's a Windows VM. We will try and test it out. 🙂

 

Hello Peter,

How did your tests turn out?

 

 


Note: You can import VMDKs into AHV.

Hope this helps somewhat.

 

Hello ddubuque,

I’m a bit confused. Do I really have to convert a KVM/qcow2 virtual disk file to VMware vmdk to import it to AHV?

 


It didn’t work on Nutanix, but on VMware it ran fine. 


Hi,

Instead of moving the KVM VM to a VMware cluster, is it possible to install a KVM host to create a cluster on nutanix?

If it is possible, then is it possible to have a KVM and AHV mixed cluster? :thinking:

ThanksÂ