加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
cvm-bug-fix-for-undefined-reference-to-virtcca_cvm_a.patch 831 Bytes
一键复制 编辑 原始数据 按行查看 历史
Jiabo Feng 提交于 2024-08-21 14:56 . QEMU update to version 8.2.0-17:
From 87dfbca72fe11b7a8d3f1afce52a7925be0e0b01 Mon Sep 17 00:00:00 2001
From: liupingwei <liupingwei0317@outlook.com>
Date: Wed, 4 Sep 2024 14:29:02 +0800
Subject: [PATCH] cvm : bug fix for undefined reference to
'virtcca_cvm_allowed' while compiling.
Fixes a linking error due to an undefined reference to
'virtcca_cvm_allowed' when KVM is not enabled.
Signed-off-by: liupingwei <liupingwei0317@outlook.com>
---
accel/stubs/kvm-stub.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/accel/stubs/kvm-stub.c b/accel/stubs/kvm-stub.c
index 1b37d9a302..ad39a434c4 100644
--- a/accel/stubs/kvm-stub.c
+++ b/accel/stubs/kvm-stub.c
@@ -25,6 +25,8 @@ bool kvm_allowed;
bool kvm_readonly_mem_allowed;
bool kvm_msi_use_devid;
+bool virtcca_cvm_allowed;
+
void kvm_flush_coalesced_mmio_buffer(void)
{
}
--
2.41.0.windows.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化