KVM: actually support different nic types
authorGuido Trotter <ultrotter@google.com>
Mon, 9 Feb 2009 15:16:47 +0000 (15:16 +0000)
committerGuido Trotter <ultrotter@google.com>
Mon, 9 Feb 2009 15:16:47 +0000 (15:16 +0000)
commit37f88dc6c2fe472abcf694cecb3531bdba1e41a8
treed51632e770eff2f38cf4ded687720bc4dc24d793
parentc26724668d51d15b2592a3e34676af03cffca2c5
KVM: actually support different nic types

When executing the KVM runtime we load the nic type from the runtime
hvparams and use it to specify the nic model type. As for the disk we
translate the DEV_PARAVIRTUAL type to 'virtio'.

Reviewed-by: iustinp
lib/hypervisor/hv_kvm.py