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

Tino Vazquez tinova79 at gmail.com
Fri Feb 18 06:47:22 PST 2011


Dear Tiago, Ruben,

This makes a lot of sense. I've opened an issue to keep track of this [1].

Regards,

-Tino

[1] http://dev.opennebula.org/issues/486

--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org



On Thu, Feb 17, 2011 at 3:51 PM, Ruben Diez <rdiez at cesga.es> wrote:
> 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
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list