DPDK  20.11.10
rte_hypervisor.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright 2017 Mellanox Technologies, Ltd
3  */
4 
5 #ifndef RTE_HYPERVISOR_H
6 #define RTE_HYPERVISOR_H
7 
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11 
17 enum rte_hypervisor {
18  RTE_HYPERVISOR_NONE,
19  RTE_HYPERVISOR_KVM,
20  RTE_HYPERVISOR_HYPERV,
21  RTE_HYPERVISOR_VMWARE,
22  RTE_HYPERVISOR_UNKNOWN
23 };
24 
28 enum rte_hypervisor
29 rte_hypervisor_get(void);
30 
34 const char *
35 rte_hypervisor_get_name(enum rte_hypervisor id);
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #endif /* RTE_HYPERVISOR_H */
enum rte_hypervisor rte_hypervisor_get(void)
const char * rte_hypervisor_get_name(enum rte_hypervisor id)