]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6669189592b7e44db8de18476fb5ebc3d8dd494c
tree1f81e4fc0bdf46b39ed62587a493f085633e8ac1
parenta329855d8494864e7be0e3243e7e1494e6071809
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