rafaelweingartner commented on a change in pull request #2573: Cloudstack 10356
URL: https://github.com/apache/cloudstack/pull/2573#discussion_r181748304
 
 

 ##########
 File path: 
plugins/hypervisors/kvm/src/main/java/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java
 ##########
 @@ -2391,8 +2392,10 @@ private void createVif(final LibvirtVMDef vm, final 
NicTO nic, final String nicA
                         + ") is " + nic.getType() + " traffic type. So, 
vsp-vr-ip " + vrIp + " is set in the metadata");
             }
         }
-
-        vm.getDevices().addDevice(getVifDriver(nic.getType(), 
nic.getName()).plug(nic, vm.getPlatformEmulator(), nicAdapter));
+        
+        if (vm.getDevices() != null) {
 
 Review comment:
   The same here?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to