KVM: Send async PF when guest is not in userspace too.
authorGleb Natapov <gleb@redhat.com>
Thu, 14 Oct 2010 09:22:56 +0000 (11:22 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:23:22 +0000 (11:23 +0200)
commitfc5f06fac6fb8ce469ea173370f2cd398f1d9f9a
tree0f2017dabbfab067a5de8fdfdbc655be7a985388
parent6adba527420651b6cacaf392541c09fb108711a2
KVM: Send async PF when guest is not in userspace too.

If guest indicates that it can handle async pf in kernel mode too send
it, but only if interrupts are enabled.

Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c