- cvm : bug fix for undefined reference to 'virtcca_cvm_allowed' while compiling - cvm : bug-fix for incorrect device name check for vhost-user-fs - target/i386: add control bits support for LAM - target/i386: add support for LAM in CPUID enumeration - Add support for the virtcca cvm feature. - target/sparc: use signed denominator in sdiv helper - crypto: Introduce SM4 symmetric cipher algorithm - ppc/vof: Fix unaligned FDT property access - vl: fix "type is NULL" in -vga help - hw/display/bcm2835_fb: fix fb_use_offsets condition - aspeed/smc: Fix possible integer overflow - hw/nvme: fix number of PIDs for FDP RUH update - hw/nvme: fix memory leak in nvme_dsm - hvf: arm: Do not advance PC when raising an exception - physmem: Bail out qemu_ram_block_from_host() for invalid ram addrs Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com>
31 lines
831 B
Diff
31 lines
831 B
Diff
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
|
|
|