Feature #1563

New defaults for KVM driver

Added by Ruben S. Montero over 8 years ago. Updated over 8 years ago.

Status:ClosedStart date:10/19/2012
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Core & System
Target version:Release 4.0
Resolution:fixed Pull request:

Description

Add support for the following in vmm_exec_kvm.conf:

DISK = [ bus = "virtio" ]
NIC = [ model = "virtio" ]

Bus is actually dev_prefix since 3.6

Suggested in the mailing list by Paulo A L Rego


Related issues

Related to Feature #1558: kvm default raw atributes configurable in /etc/one/vmm_ex... Closed 10/16/2012

Associated revisions

Revision 678bb849
Added by Ruben S. Montero over 8 years ago

feature #1558 & #1563: Add default value for model (NIC=[model]) and for raw attributes as (RAW="raw value"), for KVM, Xen and VMware

Revision 0d572415
Added by Ruben S. Montero over 7 years ago

feature #1558 & #1563: Add default value for model (NIC=[model]) and for raw attributes as (RAW="raw value"), for KVM, Xen and VMware

(cherry picked from commit 678bb84940fbbcebc86aa91fb1465cf5d361093d)

Conflicts:
src/vmm/LibVirtDriverVMware.cc

History

#1 Updated by jordan pittier over 8 years ago

Not sure about this one.

Some distro, and especially Unixes don't have the virtio framework built in their kernel (are available as a module).

If performance is a concern, then one should have heard about virtio and could manually change the default bus (dev_prefix). Don't break the default.

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

Yes agree. This is not to set the default to virtio, but to have the ability to set a default (any). Currently model or dev_prefix have to be set in the VM template for every VM. This feature will let you set a value in vmm_exec_kvm.conf, so you do not have to add it to every single VM template.

Our plan is not to set any default in the vmm_exec_kvm.conf file distributed with OpenNebula, and let people who need this to set it to the desired value.

THANKS for your comments!

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

  • Status changed from New to Closed
  • Resolution set to fixed

Added, option for model in NIC.

The driver for DISKs are set in the Image template.

Also available in: Atom PDF