aboutsummaryrefslogtreecommitdiff
path: root/accel
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-04-05 14:08:40 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-06-28 14:14:22 +0200
commitdec68f7042aba11ae706842a9616587ce3685685 (patch)
tree773a9239c2c19d92e693c53a26d5b552194ab316 /accel
parent217a190eece1a13297b7b075bce50226e5e78048 (diff)
downloadqemu-dec68f7042aba11ae706842a9616587ce3685685.zip
qemu-dec68f7042aba11ae706842a9616587ce3685685.tar.gz
qemu-dec68f7042aba11ae706842a9616587ce3685685.tar.bz2
accel/kvm: Declare kvm_direct_msi_allowed in stubs
Avoid when calling kvm_direct_msi_enabled() from arm_gicv3_its_common.c the next commit: Undefined symbols for architecture arm64: "_kvm_direct_msi_allowed", referenced from: _its_class_name in hw_intc_arm_gicv3_its_common.c.o ld: symbol(s) not found for architecture arm64 Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230405160454.97436-3-philmd@linaro.org>
Diffstat (limited to 'accel')
-rw-r--r--accel/stubs/kvm-stub.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel/stubs/kvm-stub.c b/accel/stubs/kvm-stub.c
index 5d2dd8f..235dc66 100644
--- a/accel/stubs/kvm-stub.c
+++ b/accel/stubs/kvm-stub.c
@@ -27,6 +27,7 @@ bool kvm_allowed;
bool kvm_readonly_mem_allowed;
bool kvm_ioeventfd_any_length_allowed;
bool kvm_msi_use_devid;
+bool kvm_direct_msi_allowed;
void kvm_flush_coalesced_mmio_buffer(void)
{