diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2020-09-22 16:19:22 -0400 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2020-10-14 15:28:54 -0400 |
commit | eafa08683fa648ad18e0b57118afa27b6b9c7329 (patch) | |
tree | 661a5e107220a08eea27d35ff25da1e84ea4787d /hw/i386/fw_cfg.c | |
parent | 8981bae23eaca0fa48497c4cacde8f809fe998aa (diff) | |
download | qemu-eafa08683fa648ad18e0b57118afa27b6b9c7329.zip qemu-eafa08683fa648ad18e0b57118afa27b6b9c7329.tar.gz qemu-eafa08683fa648ad18e0b57118afa27b6b9c7329.tar.bz2 |
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/fw_cfg.c')
-rw-r--r-- | hw/i386/fw_cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/fw_cfg.c b/hw/i386/fw_cfg.c index 33441ad..e065794 100644 --- a/hw/i386/fw_cfg.c +++ b/hw/i386/fw_cfg.c @@ -123,7 +123,7 @@ FWCfgState *fw_cfg_arch_create(MachineState *ms, fw_cfg_add_bytes(fw_cfg, FW_CFG_ACPI_TABLES, acpi_tables, acpi_tables_len); #endif - fw_cfg_add_i32(fw_cfg, FW_CFG_IRQ0_OVERRIDE, kvm_allows_irq0_override()); + fw_cfg_add_i32(fw_cfg, FW_CFG_IRQ0_OVERRIDE, 1); fw_cfg_add_bytes(fw_cfg, FW_CFG_E820_TABLE, &e820_reserve, sizeof(e820_reserve)); |