]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
KVM: x86: extract blocking logic from __vcpu_run
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 6 Feb 2015 11:48:04 +0000 (12:48 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Apr 2015 08:46:53 +0000 (10:46 +0200)
commit362c698f8220e636edf1c40b1935715fa57f492f
tree19fa06cf3af95c66a8f9d222e4042c8b73d16bd1
parent35fd68a38d574188835110cde2937d18fe9b46dd
KVM: x86: extract blocking logic from __vcpu_run

Rename the old __vcpu_run to vcpu_run, and extract part of it to a new
function vcpu_block.

The next patch will add a new condition in vcpu_block, avoid extra
indentation.

Reviewed-by: David Matlack <dmatlack@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/x86.c