/
phprus
/
github_dpdk
Обзор
Документация
Войти
/
phprus
/
github_dpdk
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
lib/eal/include/rte_hypervisor.h
41 строка
639 B
Brian Dooley
eal: add missing C++ guards
22 фев 2022, 16:47
22 фев 2022, 16:47
d7e9c02
Код
Авторство
О чём код?
/* SPDX-License-Identifier: BSD-3-Clause * Copyright 2017 Mellanox Technologies, Ltd */ #ifndef RTE_HYPERVISOR_H #define RTE_HYPERVISOR_H #ifdef __cplusplus extern "C" { #endif /** * @file * Hypervisor awareness. */ enum rte_hypervisor { RTE_HYPERVISOR_NONE, RTE_HYPERVISOR_KVM, RTE_HYPERVISOR_HYPERV, RTE_HYPERVISOR_VMWARE, RTE_HYPERVISOR_UNKNOWN }; /** * Get the id of hypervisor it is running on. */ enum rte_hypervisor rte_hypervisor_get(void); /** * Get the name of a given hypervisor id. */ const char * rte_hypervisor_get_name(enum rte_hypervisor id); #ifdef __cplusplus } #endif #endif /* RTE_HYPERVISOR_H */