diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-09-04 14:43:24 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-09-07 13:32:37 +0200 |
commit | bb781b947d4e964840ff29415492e35c0bdcd9e1 (patch) | |
tree | c136cc7a9e0e9605d7e038da0a21b946024919f0 /hw/i386 | |
parent | fc30abf84662fd68c9308aa07c18b71eed0dffc0 (diff) | |
download | qemu-bb781b947d4e964840ff29415492e35c0bdcd9e1.zip qemu-bb781b947d4e964840ff29415492e35c0bdcd9e1.tar.gz qemu-bb781b947d4e964840ff29415492e35c0bdcd9e1.tar.bz2 |
sysemu/kvm: Restrict kvm_pc_setup_irq_routing() to x86 targets
kvm_pc_setup_irq_routing() is only defined for x86 targets (in
hw/i386/kvm/apic.c). Its declaration is pointless on all
other targets.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20230904124325.79040-14-philmd@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/i386')
-rw-r--r-- | hw/i386/kvm/ioapic.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i386/kvm/ioapic.c b/hw/i386/kvm/ioapic.c index cd5ea5d6..409d0c8 100644 --- a/hw/i386/kvm/ioapic.c +++ b/hw/i386/kvm/ioapic.c @@ -16,6 +16,7 @@ #include "hw/intc/ioapic_internal.h" #include "hw/intc/kvm_irqcount.h" #include "sysemu/kvm.h" +#include "kvm/kvm_i386.h" /* PC Utility function */ void kvm_pc_setup_irq_routing(bool pci_enabled) |