diff mbox series

[RFC,14/14] hw/intc/Kconfig: Let APIC select IOAPIC

Message ID 20191231183216.6781-15-philmd@redhat.com (mailing list archive)
State New, archived
Headers show
Series hw: Fix various --without-default-devices issues | expand

Commit Message

Philippe Mathieu-Daudé Dec. 31, 2019, 6:32 p.m. UTC
apic_eoi() calls ioapic_eoi_broadcast(), so APIC has to
select the IOAPIC Kconfig.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
---
Cc: "Michael S. Tsirkin" <mst@redhat.com>

RFC because I'm not sure the design is correct (meanwhile the fix is, however).
---
 hw/intc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Paolo Bonzini Jan. 7, 2020, 9:58 a.m. UTC | #1
On 31/12/19 19:32, Philippe Mathieu-Daudé wrote:
> apic_eoi() calls ioapic_eoi_broadcast(), so APIC has to
> select the IOAPIC Kconfig.
> 
> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
> ---
> Cc: "Michael S. Tsirkin" <mst@redhat.com>
> 
> RFC because I'm not sure the design is correct (meanwhile the fix is, however).

Just add a comment like "# for ioapic_eoi_broadcast()".  If anybody
wants to drop it, they can add a stub.

Paolo

> ---
>  hw/intc/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/hw/intc/Kconfig b/hw/intc/Kconfig
> index a189d6fedd..82748ae13d 100644
> --- a/hw/intc/Kconfig
> +++ b/hw/intc/Kconfig
> @@ -24,6 +24,7 @@ config APIC
>      bool
>      select MSI_NONBROKEN
>      select I8259
> +    select IOAPIC
>  
>  config ARM_GIC_KVM
>      bool
>
diff mbox series

Patch

diff --git a/hw/intc/Kconfig b/hw/intc/Kconfig
index a189d6fedd..82748ae13d 100644
--- a/hw/intc/Kconfig
+++ b/hw/intc/Kconfig
@@ -24,6 +24,7 @@  config APIC
     bool
     select MSI_NONBROKEN
     select I8259
+    select IOAPIC
 
 config ARM_GIC_KVM
     bool