X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm.c;h=4c55dd66b8b5996ff76a6fa89a87e831aea15572;hb=d34450b1e6fe3c2e1295c268c1722c669ba8d545;hp=82073f0619b6c54e1951f24c608698ddbc642572;hpb=9019b8dedfa7de9da84c55bc488a60a784231899;p=palacios.git diff --git a/palacios/src/palacios/vmm.c b/palacios/src/palacios/vmm.c index 82073f0..4c55dd6 100644 --- a/palacios/src/palacios/vmm.c +++ b/palacios/src/palacios/vmm.c @@ -62,9 +62,11 @@ void Init_V3(struct v3_os_hooks * hooks, struct v3_ctrl_ops * vmm_ops) { if (v3_is_svm_capable()) { PrintDebug("Machine is SVM Capable\n"); v3_init_SVM(vmm_ops); +#ifdef CONFIG_VMX } else if (v3_is_vmx_capable()) { PrintDebug("Machine is VMX Capable\n"); v3_init_vmx(vmm_ops); +#endif } else { PrintDebug("CPU has no virtualization Extensions\n"); } @@ -117,9 +119,10 @@ void v3_yield_cond(struct guest_info * info) { if (cur_cycle > (info->yield_start_cycle + info->yield_cycle_period)) { - PrintDebug("Conditional Yield (cur_cyle=%p, start_cycle=%p, period=%p)\n", - (void *)cur_cycle, (void *)info->yield_start_cycle, (void *)info->yield_cycle_period); - + /* + PrintDebug("Conditional Yield (cur_cyle=%p, start_cycle=%p, period=%p)\n", + (void *)cur_cycle, (void *)info->yield_start_cycle, (void *)info->yield_cycle_period); + */ V3_Yield(); rdtscll(info->yield_start_cycle); }