DPDK
19.11.14
lib
librte_eal
common
include
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 */
rte_hypervisor_get
enum rte_hypervisor rte_hypervisor_get(void)
rte_hypervisor_get_name
const char * rte_hypervisor_get_name(enum rte_hypervisor id)
Generated by
1.8.13