New defaults for KVM driver
|Category:||Core & System|
|Target version:||Release 4.0|
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
#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!