diff options
author | Eduardo Habkost | 2020-09-22 22:19:22 +0200 |
---|---|---|
committer | Eduardo Habkost | 2020-10-14 21:28:54 +0200 |
commit | eafa08683fa648ad18e0b57118afa27b6b9c7329 (patch) | |
tree | 661a5e107220a08eea27d35ff25da1e84ea4787d /hw/i386/pc.c | |
parent | i386/kvm: Remove IRQ routing support checks (diff) | |
download | qemu-eafa08683fa648ad18e0b57118afa27b6b9c7329.tar.gz qemu-eafa08683fa648ad18e0b57118afa27b6b9c7329.tar.xz qemu-eafa08683fa648ad18e0b57118afa27b6b9c7329.zip |
i386/kvm: Delete kvm_allows_irq0_override()
As IRQ routing is always available on x86,
kvm_allows_irq0_override() will always return true, so we don't
need the function anymore.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200922201922.2153598-4-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/i386/pc.c')
-rw-r--r-- | hw/i386/pc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/pc.c b/hw/i386/pc.c index e87be5d29a..4e323755d0 100644 --- a/hw/i386/pc.c +++ b/hw/i386/pc.c @@ -827,7 +827,7 @@ void pc_guest_info_init(PCMachineState *pcms) MachineState *ms = MACHINE(pcms); X86MachineState *x86ms = X86_MACHINE(pcms); - x86ms->apic_xrupt_override = kvm_allows_irq0_override(); + x86ms->apic_xrupt_override = true; pcms->numa_nodes = ms->numa_state->num_nodes; pcms->node_mem = g_malloc0(pcms->numa_nodes * sizeof *pcms->node_mem); |