Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
philmd committed Jun 28, 2023
1 parent 217a190 commit dec68f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions accel/stubs/kvm-stub.c
Expand Up @@ -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)
{
Expand Down

0 comments on commit dec68f7

Please sign in to comment.