DPDK
21.08.0
lib
eal
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
13
enum
rte_hypervisor {
14
RTE_HYPERVISOR_NONE,
15
RTE_HYPERVISOR_KVM,
16
RTE_HYPERVISOR_HYPERV,
17
RTE_HYPERVISOR_VMWARE,
18
RTE_HYPERVISOR_UNKNOWN
19
};
20
24
enum
rte_hypervisor
25
rte_hypervisor_get
(
void
);
26
30
const
char
*
31
rte_hypervisor_get_name
(
enum
rte_hypervisor
id
);
32
33
#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