# Could not find wild VM in opennebula

**URL:** <https://forum.opennebula.io/t/could-not-find-wild-vm-in-opennebula/3100>\
**Category:** Product Support\
**Created:** [October 7, 2016, 5:24pm UTC](https://forum.opennebula.io/t/could-not-find-wild-vm-in-opennebula/3100 "2016-10-07T17:24:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![william-graphsql](https://avatars.discourse-cdn.com/v4/letter/w/258eb7/32.png) [@william-graphsql](https://forum.opennebula.io/u/william-graphsql)\
**Post date:** [October 7, 2016, 5:24pm UTC](https://forum.opennebula.io/t/could-not-find-wild-vm-in-opennebula/3100/1 "2016-10-07T17:24:50Z")

</div>

Hi guys,

I am trying to import some qemu VMs created from packer, however, failed to do it, could not find the wild VMs while using command onehost show host\_id.

The command I used is **qemu-system-x86\_64 -machine accel=kvm,usb=off -nographic -m 2014 vm\_img\_name**. Any insight will be appreciated.

Thanks,  
William

---

<div class="post-metadata">

**Author:** ![atodorov\_storpool](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/atodorov_storpool/32/5327_2.png) [@atodorov\_storpool](https://forum.opennebula.io/u/atodorov_storpool)\
**Post date:** [October 7, 2016, 7:26pm UTC](https://forum.opennebula.io/t/could-not-find-wild-vm-in-opennebula/3100/2 "2016-10-07T19:26:29Z")

</div>

Hi,

AFAIK OpenNebula uses libvirt to manage the VMs. So it is seeing what libvirtd can see. Manually started VM could not be imported currently because there is no XML configuration file to parse, no socket for libvirt to communicate too.

IMO to import such VM a special handler should be implemented to parse the qemu-kvm cmd line and build libvirt compatible configuration XML. Then this VM must be stopped(killed) and started via libvirt with added all configuration needed to work with libvirt.

Kind Regards,  
Anton Todorov
