LCOV - code coverage report
Current view: top level - lib/eal/common - eal_common_hypervisor.c (source / functions) Hit Total Coverage
Test: Code coverage Lines: 0 10 0.0 %
Date: 2024-01-22 15:35:40 Functions: 0 1 0.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 5 0.0 %

           Branch data     Line data    Source code
       1                 :            : /* SPDX-License-Identifier: BSD-3-Clause
       2                 :            :  * Copyright 2017 Mellanox Technologies, Ltd
       3                 :            :  */
       4                 :            : 
       5                 :            : #include "rte_hypervisor.h"
       6                 :            : 
       7                 :            : const char *
       8                 :          0 : rte_hypervisor_get_name(enum rte_hypervisor id)
       9                 :            : {
      10   [ #  #  #  #  :          0 :         switch (id) {
                      # ]
      11                 :            :         case RTE_HYPERVISOR_NONE:
      12                 :            :                 return "none";
      13                 :          0 :         case RTE_HYPERVISOR_KVM:
      14                 :          0 :                 return "KVM";
      15                 :          0 :         case RTE_HYPERVISOR_HYPERV:
      16                 :          0 :                 return "Hyper-V";
      17                 :          0 :         case RTE_HYPERVISOR_VMWARE:
      18                 :          0 :                 return "VMware";
      19                 :          0 :         default:
      20                 :          0 :                 return "unknown";
      21                 :            :         }
      22                 :            : }

Generated by: LCOV version 1.14