]> git.baikalelectronics.ru Git - kernel.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)
commit5dbb7e0291eaa22329052e54a0a1e43efc1db718
tree19fa06cf3af95c66a8f9d222e4042c8b73d16bd1
parent1a60c3dd1015404555517346de69ed1159f69ad4
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