DPDK 22.11.7
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
9extern "C" {
10#endif
11
17enum rte_hypervisor {
18 RTE_HYPERVISOR_NONE,
19 RTE_HYPERVISOR_KVM,
20 RTE_HYPERVISOR_HYPERV,
21 RTE_HYPERVISOR_VMWARE,
22 RTE_HYPERVISOR_UNKNOWN
23};
24
28enum rte_hypervisor
30
34const char *
35rte_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)