X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fsvm.c;h=b4209ef1b2a6cd1d0090e93174459f265113561c;hb=59bbb50ff3ce4074abc907914e8ae70cb16a22d8;hp=cbed25088b99fe0f66f5d3ac0c01ae23b4659f0d;hpb=90b8236597004a37a9d5acb33a1b1f987fe9070c;p=palacios-OLD.git diff --git a/palacios/src/palacios/svm.c b/palacios/src/palacios/svm.c index cbed250..b4209ef 100644 --- a/palacios/src/palacios/svm.c +++ b/palacios/src/palacios/svm.c @@ -9,7 +9,7 @@ #include #include -#include +#include extern struct vmm_os_hooks * os_hooks; @@ -250,14 +250,16 @@ static int start_svm_guest(struct guest_info *info) { CLGI(); + PrintDebug("SVM Entry...\n"); + rdtscll(info->time_state.cached_host_tsc); guest_ctrl->TSC_OFFSET = info->time_state.guest_tsc - info->time_state.cached_host_tsc; safe_svm_launch((vmcb_t*)(info->vmm_data), &(info->vm_regs)); rdtscll(tmp_tsc); + PrintDebug("SVM Returned\n"); - //PrintDebug("SVM Returned\n"); v3_update_time(info, tmp_tsc - info->time_state.cached_host_tsc);