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

Tino Vazquez tinova79 at gmail.com
Fri Feb 18 08:47:24 PST 2011


Hi,

Since this is specific to kvm, we think it is better to set it in the
vmm_ssh/vmm_ssh_kvm.conf file.

Regards,

-Tino

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



On Fri, Feb 18, 2011 at 5:39 PM, Shi Jin <jinzishuai at gmail.com> wrote:
> Superb! This should be a variable in the oned.conf.
>
> On Fri, Feb 18, 2011 at 7:47 AM, Tino Vazquez <tinova79 at gmail.com> wrote:
>>
>> 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
>> >
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
> --
> Shi Jin, Ph.D.
>
>



More information about the Users mailing list