X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fsvm.c;h=be9b074ed8cc057685c22cf0aca656f391231173;hb=b93aeabee44c82139a9afd065dfcaca8ac6688ad;hp=b6bd770bdc455e3e4527f060d95e19039017383d;hpb=46113012016d5064ca8617dbb39f04c9763fd911;p=palacios.git diff --git a/palacios/src/palacios/svm.c b/palacios/src/palacios/svm.c index b6bd770..be9b074 100644 --- a/palacios/src/palacios/svm.c +++ b/palacios/src/palacios/svm.c @@ -468,8 +468,7 @@ int v3_svm_enter(struct guest_info * info) { 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); // guest_ctrl->TSC_OFFSET = info->time_state.guest_tsc - info->time_state.cached_host_tsc;