KVM: Replace ->drop_interrupt_shadow() by ->set_interrupt_shadow()
authorGlauber Costa <glommer@redhat.com>
Tue, 12 May 2009 20:21:05 +0000 (16:21 -0400)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:54 +0000 (11:48 +0300)
commit2809f5d2c4cfad171167b131bb2a21ab65eba40f
treeeee772c1476fb05ababf306d6458f4ccd8b8412a
parent547de29e5b1662deb05b5f90917902dc0e9ac182
KVM: Replace ->drop_interrupt_shadow() by ->set_interrupt_shadow()

This patch replaces drop_interrupt_shadow with the more
general set_interrupt_shadow, that can either drop or raise
it, depending on its parameter.  It also adds ->get_interrupt_shadow()
for future use.

Signed-off-by: Glauber Costa <glommer@redhat.com>
CC: H. Peter Anvin <hpa@zytor.com>
CC: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/include/asm/kvm_x86_emulate.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c