1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright 2017 Mellanox Technologies, Ltd
5 #ifndef RTE_HYPERVISOR_H
6 #define RTE_HYPERVISOR_H
14 * Hypervisor awareness.
20 RTE_HYPERVISOR_HYPERV,
21 RTE_HYPERVISOR_VMWARE,
22 RTE_HYPERVISOR_UNKNOWN
26 * Get the id of hypervisor it is running on.
29 rte_hypervisor_get(void);
32 * Get the name of a given hypervisor id.
35 rte_hypervisor_get_name(enum rte_hypervisor id);
41 #endif /* RTE_HYPERVISOR_H */