X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmx.c;h=253ae476af0ccc28df221a1cff3d60a202bbf52e;hb=fb16ffd793b51e356bd17a35b3929adbadd88e23;hp=3334d2f7277db4cbaed754e927c4fb9306185023;hpb=46113012016d5064ca8617dbb39f04c9763fd911;p=palacios.git diff --git a/palacios/src/palacios/vmx.c b/palacios/src/palacios/vmx.c index 3334d2f..253ae47 100644 --- a/palacios/src/palacios/vmx.c +++ b/palacios/src/palacios/vmx.c @@ -660,8 +660,7 @@ int v3_vmx_enter(struct guest_info * info) { // We do timer injection here to track real host time. rdtscll(tmp_tsc); - v3_update_time(info, tmp_tsc - info->time_state.cached_host_tsc - info->time_state.cached_hlt_tsc); - info->time_state.cached_hlt_tsc = 0; + v3_update_time(info, tmp_tsc - info->time_state.cached_host_tsc); rdtscll(info->time_state.cached_host_tsc); if (info->vm_info->run_state == VM_STOPPED) {