]> err.no Git - linux-2.6/blobdiff - drivers/kvm/svm.c
KVM: Replace 'light_exits' stat with 'host_state_reload'
[linux-2.6] / drivers / kvm / svm.c
index a1a7f39ff3f1eed86f9a0a9a0329984d863b0fb7..0d32304944fc78252fb9d9f5ab5d62cd9958f31b 100644 (file)
@@ -654,6 +654,7 @@ static void svm_vcpu_put(struct kvm_vcpu *vcpu)
        struct vcpu_svm *svm = to_svm(vcpu);
        int i;
 
+       ++vcpu->stat.host_state_reload;
        for (i = 0; i < NR_HOST_SAVE_USER_MSRS; i++)
                wrmsrl(host_save_user_msrs[i], svm->host_user_msrs[i]);