KVM: No need to kick cpu if not in a guest mode
authorGleb Natapov <gleb@redhat.com>
Tue, 7 Jul 2009 12:27:32 +0000 (15:27 +0300)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:11 +0000 (08:33 +0300)
commitc7f0f24b1f82ec049fcfb8e6d4e1cee2815efbe5
tree1e0bc486421e7e2f87418b186fbb338baceda9d2
parent1000ff8d893765d7b56e32fe16dbe4814f172588
KVM: No need to kick cpu if not in a guest mode

This will save a couple of IPIs.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Acked-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c