rohityadavcloud commented on code in PR #7971:
URL: https://github.com/apache/cloudstack/pull/7971#discussion_r1329094081


##########
server/src/main/java/com/cloud/hypervisor/kvm/discoverer/LibvirtServerDiscoverer.java:
##########
@@ -110,7 +110,7 @@ public AgentControlAnswer processControlCommand(long 
agentId, AgentControlComman
     @Override
     public void processHostAdded(long hostId) {
         HostVO host = hostDao.findById(hostId);
-        if (host != null) {
+        if (host != null && 
HypervisorType.KVM.equals(host.getHypervisorType())) {

Review Comment:
   I think LXC should also be checked here (or do like a item in array check) 
@mlsorensen 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to