KVM: Reduce runnability interface with arch support code
authorGleb Natapov <gleb@redhat.com>
Thu, 9 Jul 2009 12:33:52 +0000 (15:33 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:13 +0000 (08:33 +0300)
commita1b37100d9e29c1f8dc3e2f5490a205c80180e01
tree0e1448e35c8da68b865816a1173540f8e05234e4
parent0b71785dc05f1f66e6268022b9953c0d6a9985c6
KVM: Reduce runnability interface with arch support code

Remove kvm_cpu_has_interrupt() and kvm_arch_interrupt_allowed() from
interface between general code and arch code. kvm_arch_vcpu_runnable()
checks for interrupts instead.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/kvm-ia64.c
arch/powerpc/kvm/powerpc.c
arch/s390/kvm/interrupt.c
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c
include/linux/kvm_host.h
virt/kvm/kvm_main.c