On 09/02/2015 23:44, David Matlack wrote:
+static inline int __vcpu_run(struct kvm *kvm, struct kvm_vcpu *vcpu)
Kind of confusing function body given the name. Maybe put
if (vcpu-arch.mp_state == KVM_MP_STATE_RUNNABLE
!vcpu-arch.apf.halted)
return
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 02/06/2015 07:16 AM, Paolo Bonzini wrote:
Rename the old __vcpu_run to vcpu_run, and extract its main logic
to a new function.
The next patch will add a new early-exit condition to __vcpu_run,
avoid extra indentation.
Signed-off-by:
On Fri, Feb 6, 2015 at 4:16 AM, Paolo Bonzini pbonz...@redhat.com wrote:
Rename the old __vcpu_run to vcpu_run, and extract its main logic
to a new function.
The next patch will add a new early-exit condition to __vcpu_run,
avoid extra indentation.
Signed-off-by: Paolo Bonzini
Rename the old __vcpu_run to vcpu_run, and extract its main logic
to a new function.
The next patch will add a new early-exit condition to __vcpu_run,
avoid extra indentation.
Signed-off-by: Paolo Bonzini pbonz...@redhat.com
---
arch/x86/kvm/x86.c | 67