Feature #4160

[PATCH] Allow user to specify CPU model

Added by Roy Keene about 4 years ago. Updated over 2 years ago.

Status:PendingStart date:11/16/2015
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Core & System
Target version:Release 5.6
Resolution: Pull request:

Description

It is sometimes helpful to allow the user to specify a CPU model to emulate, or even CPU flags.

The attached patch adds support for a "CPU_MODEL" attribute which is passed to the "-cpu " argument of QEMU.

Be aware this patch uses wrapper_attribute(cpuModel) which is from a different patch set to escape the contents of "cpuModel", replacing it with just cpuModel will work as the rest of the code currently does.

opennebula-4.12.1-addcpumodel.diff Magnifier - Add a "CPU_MODEL" virtual machine attribute (1.94 KB) Roy Keene, 11/16/2015 03:13 PM

opennebula-5.2.1-addcpumodel.diff Magnifier (2.06 KB) Roy Keene, 03/03/2017 08:15 PM

History

#1 Updated by Ruben S. Montero about 4 years ago

  • Tracker changed from Feature to Backlog
  • Priority changed from Normal to High
  • Target version set to Release 5.0

Thanks! Looks great. Apart from this we need to expose it via Sunstone. Scheduling this after 4.14.2..

#2 Updated by Ruben S. Montero almost 4 years ago

  • Tracker changed from Backlog to Feature

#3 Updated by Ruben S. Montero over 3 years ago

  • Tracker changed from Feature to Backlog

#4 Updated by Ruben S. Montero about 3 years ago

  • Target version changed from Release 5.0 to Release 5.4

#5 Updated by Roy Keene almost 3 years ago

Updated to OpenNebula 5.2.1 and using a better libvirt domain option of "<cpu>" rather than QEMU args.

#6 Updated by Ruben S. Montero over 2 years ago

  • Tracker changed from Backlog to Feature
  • Target version changed from Release 5.4 to Release 5.6

Moving this fo 5.6, sorry

Also available in: Atom PDF