1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2017 Mellanox Technologies, Ltd
5 #ifndef RTE_HYPERVISOR_H
6 #define RTE_HYPERVISOR_H
10 * Hypervisor awareness.
16 RTE_HYPERVISOR_HYPERV,
17 RTE_HYPERVISOR_VMWARE,
18 RTE_HYPERVISOR_UNKNOWN
22 * Get the id of hypervisor it is running on.
25 rte_hypervisor_get(void);
28 * Get the name of a given hypervisor id.
31 rte_hypervisor_get_name(enum rte_hypervisor id);
33 #endif /* RTE_HYPERVISOR_H */