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

Shi Jin jinzishuai at gmail.com
Fri Feb 18 08:39:35 PST 2011


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110218/2b922915/attachment-0003.htm>


More information about the Users mailing list