Skip to content

Commit

Permalink
KVM: Add CONFIG_HAVE_KVM_IRQCHIP
Browse files Browse the repository at this point in the history
Two KVM archs support irqchips and two don't.  Add a Kconfig item to
make selecting between the two models easier.

Signed-off-by: Avi Kivity <avi@redhat.com>
  • Loading branch information
Avi Kivity committed Mar 24, 2009
1 parent 4677a3b commit 5d9b8e3
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions arch/ia64/kvm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
config HAVE_KVM
bool

config HAVE_KVM_IRQCHIP
bool
default y

menuconfig VIRTUALIZATION
bool "Virtualization"
depends on HAVE_KVM || IA64
Expand Down
3 changes: 3 additions & 0 deletions arch/powerpc/kvm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
# KVM configuration
#

config HAVE_KVM_IRQCHIP
bool

menuconfig VIRTUALIZATION
bool "Virtualization"
---help---
Expand Down
3 changes: 3 additions & 0 deletions arch/s390/kvm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
config HAVE_KVM
bool

config HAVE_KVM_IRQCHIP
bool

menuconfig VIRTUALIZATION
bool "Virtualization"
default y
Expand Down
4 changes: 4 additions & 0 deletions arch/x86/kvm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
config HAVE_KVM
bool

config HAVE_KVM_IRQCHIP
bool
default y

menuconfig VIRTUALIZATION
bool "Virtualization"
depends on HAVE_KVM || X86
Expand Down

0 comments on commit 5d9b8e3

Please sign in to comment.