Feature #1563
New defaults for KVM driver
Status: | Closed | Start date: | 10/19/2012 | |
---|---|---|---|---|
Priority: | Normal | Due 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
Associated revisions
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.