]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: Provide userspace IO exit completion callback
authorGleb Natapov <gleb@redhat.com>
Mon, 3 Sep 2012 12:24:26 +0000 (15:24 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 6 Sep 2012 15:06:37 +0000 (18:06 +0300)
commit0f69cb190dff77105c037fae3be7395bbc32f578
tree15449b877468b066a7f2b43fcdb9c459c748cbee
parente01596f1613e69dba790d57702daee02e2d50a1b
KVM: Provide userspace IO exit completion callback

Current code assumes that IO exit was due to instruction emulation
and handles execution back to emulator directly. This patch adds new
userspace IO exit completion callback that can be set by any other code
that caused IO exit to userspace.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/x86.c