[one-users] Assigned a VM to a specific CPU core

André Monteiro andre.monteir at gmail.com
Wed Jul 18 01:16:12 PDT 2012


Hello,

You'll have to try that in raw features section on your VM template:

RAW = [ type = "kvm",
              data = "</devices><serial type=\"pty\"><source
path=\"/dev/pts/5\"/><target port=\"0\"/></serial><console type=\"pty\"
tty=\"/dev/pts/5\"><source path=\"/dev/pts/5\"/><target
port=\"0\"/></console></devices>" ]
and add the CPU features:

<vcpu placement='static' cpuset="1-4,^3,6" current="1">2</vcpu>

See documentation in
http://libvirt.org/formatdomain.html#elementsCPUAllocation

--
André Monteiro




On Wed, Jul 18, 2012 at 6:06 AM, Erico Augusto Cavalcanti Guedes <
eacg at cin.ufpe.br> wrote:

> Dears,
>
> is there a way to assign a VM to a specific CPU core?
> I read doc, but nothing found about that.
>
> Thanks,
>
> Erico.
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120718/094a0579/attachment-0003.htm>


More information about the Users mailing list