]> err.no Git - linux-2.6/blobdiff - drivers/kvm/vmx.c
KVM: Replace 'light_exits' stat with 'host_state_reload'
[linux-2.6] / drivers / kvm / vmx.c
index 84c77fed9d17f1d8705693ac62b68c5e8831d9ab..7130f315afdf2b056b51c078eb956f1a6edc090c 100644 (file)
@@ -463,6 +463,7 @@ static void vmx_load_host_state(struct vcpu_vmx *vmx)
        if (!vmx->host_state.loaded)
                return;
 
+       ++vmx->vcpu.stat.host_state_reload;
        vmx->host_state.loaded = 0;
        if (vmx->host_state.fs_reload_needed)
                load_fs(vmx->host_state.fs_sel);