[one-users] hardcoded "/usr/bin/kvm"

Ruben Diez rdiez at cesga.es
Thu Feb 17 06:51:21 PST 2011


Hi.

Same problem for me....

A quick solution:

ln -s /usr/libexec/qemu-kvm /usr/bin/kvm

Regards


Tiago Batista escribió:
> hello all!
>
> I just received a new kvm node (running SL6). When I tried to run a
> VM, the generated deployment file has a  hardcoded path for the
> emulator. Given that the new rhel releases use a different path
> (/usr/libexec/qemu-kvm), what is the solution?
>
> For now, a workaround is creating the symlink as expected by
> opennebula, but are there any plans to change this to a configurable
> value? Is there a better solution?
>
> The code in question lies on src/vmm/LibVirtDriverKVM.cc:259 and reads:
>
>  if (emulator == "kvm")
>  {
>      file << "\t\t<emulator>/usr/bin/kvm</emulator>" << endl;
>  }
>
> TIA
>
> Tiago
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>   




More information about the Users mailing list