Hi, Please find the latest report on new defect(s) introduced to libvirt found with Coverity Scan. 2 new defect(s) introduced to libvirt found with Coverity Scan. New defect(s) Reported-by: Coverity Scan Showing 2 of 2 defect(s) ** CID 896385: Control flow issues (DEADCODE) /src/conf/domain_conf.c: 28665 in virDomainFeaturesHyperVDefFormat() _____________________________________________________________________________________________ *** CID 896385: Control flow issues (DEADCODE) /src/conf/domain_conf.c: 28665 in virDomainFeaturesHyperVDefFormat() 28659 if (def->hyperv.tlbflush_direct == VIR_TRISTATE_SWITCH_ON) 28660 virBufferAddLit(&hypervChildBuf, "<direct state='on'/>\n"); 28661 if (def->hyperv.tlbflush_extended == VIR_TRISTATE_SWITCH_ON) 28662 virBufferAddLit(&hypervChildBuf, "<extended state='on'/>\n"); 28663 break; 28664
CID 896385: Control flow issues (DEADCODE) Execution cannot reach this statement: "case VIR_DOMAIN_HYPERV_LAST:".
28665 case VIR_DOMAIN_HYPERV_LAST: 28666 break; 28667 } 28668 28669 virXMLFormatElement(&childBuf, virDomainHypervTypeToString(j), 28670 &hypervAttrBuf, &hypervChildBuf);
** CID 896384: Control flow issues (DEADCODE) /src/qemu/qemu_command.c: 6527 in qemuBuildCpuHypervCommandLine() _____________________________________________________________________________________________ *** CID 896384: Control flow issues (DEADCODE) /src/qemu/qemu_command.c: 6527 in qemuBuildCpuHypervCommandLine() 6521 case VIR_DOMAIN_HYPERV_VENDOR_ID: 6522 if (def->hyperv.features[i] == VIR_TRISTATE_SWITCH_ON) 6523 virBufferAsprintf(buf, ",hv-vendor-id=%s", 6524 def->hyperv.vendor_id); 6525 break; 6526
CID 896384: Control flow issues (DEADCODE) Execution cannot reach this statement: "case VIR_DOMAIN_HYPERV_LAST:".
6527 case VIR_DOMAIN_HYPERV_LAST: 6528 break; 6529 } 6530 } 6531 6532 return 0;
________________________________________________________________________________________________________ To view the defects in Coverity Scan visit, https://scan.coverity.com/projects/libvirt?tab=overview