[v2,15/24] eal/loongarch: add hypervisor operations for LoongArch
Checks
Commit Message
This patch adds hypervisor operations for LoongArch architecture.
In fact, these operations are currently not supported on LoongArch.
Signed-off-by: Min Zhou <zhoumin@loongson.cn>
---
lib/eal/loongarch/rte_hypervisor.c | 11 +++++++++++
1 file changed, 11 insertions(+)
create mode 100644 lib/eal/loongarch/rte_hypervisor.c
new file mode 100644
@@ -0,0 +1,11 @@
+/* SPDX-License-Identifier: BSD-3-Clause
+ * Copyright(c) 2022 Loongson Technology Corporation Limited
+ */
+
+#include "rte_hypervisor.h"
+
+enum rte_hypervisor
+rte_hypervisor_get(void)
+{
+ return RTE_HYPERVISOR_UNKNOWN;
+}