The obvious fix would be to only retrieve the vif type from the image if the VIF is not a direct passthrough. However, there might be more complications to it than this (some SR-IOV NICs provide a virtio interface, I'm told).
The obvious fix would be to only retrieve the vif type from the image if the VIF is not a direct passthrough. However, there might be more complications to it than this (some SR-IOV NICs provide a virtio interface, I'm told).