KVM: Let host know whether the guest can handle async PF in non-userspace context.
authorGleb Natapov <gleb@redhat.com>
Thu, 14 Oct 2010 09:22:55 +0000 (11:22 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:23:21 +0000 (11:23 +0200)
commit6adba527420651b6cacaf392541c09fb108711a2
tree1f81e4fc0bdf46b39ed62587a493f085633e8ac1
parent6c047cd982f944fa63b2d96de2a06463d113f9fa
KVM: Let host know whether the guest can handle async PF in non-userspace context.

If guest can detect that it runs in non-preemptable context it can
handle async PFs at any time, so let host know that it can send async
PF even if guest cpu is not in userspace.

Acked-by: Rik van Riel <riel@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Documentation/kvm/msr.txt
arch/x86/include/asm/kvm_host.h
arch/x86/include/asm/kvm_para.h
arch/x86/kernel/kvm.c
arch/x86/kvm/x86.c