I successfully imported xem vm to oVirt with the GUI
You need libvirt to be able to list the powered-off vm on the xen host first

What was missing for me at first was :

1) You need a libvirt pool referencing the path to VMs disks.
Verify that's not already the case with 'virsh pool-list',

Otherwise create it :
# cat vm-pool.xml
<pool type="dir">
<name>vm-pool</name>
<target>
          <path>/path/to/vmdisks</path>
</target>
</pool>

# virsh pool-create vm-pool.xml
# virsh pool-list ## Should list the newly created pool

2) Then each VM need an UUID present in its xml definition file.
If not present, you can start the vm, do 'virsh dumpxml domainname' and get
the UUID for the running VM,
then power it off and edit the xml to add this UUID line, that will make it
visible to virsh when powered off.
You can check now with : 'virsh list --all'

3) For a successful import I found that it's also necessary to
- install a non xen kernel in the vm,
- and have disk listed by UUIDs in /etc/fstab (maybe not necessary this
last one)


Good luck,


Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group


On Wed, Apr 28, 2021 at 7:38 PM Strahil Nikolov via Users <users@ovirt.org>
wrote:

> I think that you have to export the BM as OVA or convert it to KVM before
> being able to import via oVirt
>
> Best Regards,
> Strahil Nikolov
>
> On Wed, Apr 28, 2021 at 12:36, hemaa--- via Users
> <users@ovirt.org> wrote:
> Any leads please?
>
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
>
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/WB7KTXNCLD27R2II4XPMAFJUZEDZXOJA/
>
> _______________________________________________
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/IIFFJYN3LBR3WMDIVPAFGNZFRLTDD45L/
>

-- 


Ce message et toutes les pièces jointes (ci-après le “message”) sont 
établis à l’intention exclusive de ses destinataires et sont confidentiels. 
Si vous recevez ce message par erreur, merci de le détruire et d’en avertir 
immédiatement l’expéditeur. Toute utilisation de ce message non conforme a 
sa destination, toute diffusion ou toute publication, totale ou partielle, 
est interdite, sauf autorisation expresse. L’internet ne permettant pas 
d’assurer l’intégrité de ce message . Interactiv-group (et ses filiales) 
décline(nt) toute responsabilité au titre de ce message, dans l’hypothèse 
ou il aurait été modifié. IT, ES, UK.  
<https://interactiv-group.com/disclaimer.html>
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HXI7U7DEZBQ2VWQLUTZMWSBKZDQJK24U/

Reply via email to