X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fsvm.c;h=37f509c78398400d3dbfe9a9efec362e60c36289;hb=f3eb8bbb7c58c98b03797f2188e6c1d2a7610c15;hp=8c2e2d7c1567d2615c02b7b18171b8e2b881fbef;hpb=11ae9bb2d18273267d41059a4bd7fb3c28c42abc;p=palacios.git diff --git a/palacios/src/palacios/svm.c b/palacios/src/palacios/svm.c index 8c2e2d7..37f509c 100644 --- a/palacios/src/palacios/svm.c +++ b/palacios/src/palacios/svm.c @@ -36,8 +36,6 @@ #include -#include - #include #include @@ -320,12 +318,6 @@ static int start_svm_guest(struct guest_info *info) { if ((num_exits % 5000) == 0) { PrintDebug("SVM Exit number %d\n", num_exits); - -#ifdef CONFIG_PROFILE_VMM - if (info->enable_profiler) { - v3_print_profile(info); - } -#endif } if (v3_handle_svm_exit(info) != 0) { @@ -358,7 +350,7 @@ static int start_svm_guest(struct guest_info *info) { PrintDebug("Host Address of rip = 0x%p\n", (void *)host_addr); PrintDebug("Instr (15 bytes) at %p:\n", (void *)host_addr); - PrintTraceMemDump((uchar_t *)host_addr, 15); + v3_dump_mem((uint8_t *)host_addr, 15); break; } @@ -571,7 +563,7 @@ void v3_init_SVM(struct v3_ctrl_ops * vmm_ops) { "movq %%rcx, %%rax ; " vmload "rdtsc ; " - : "=D"(start_hi), "=S"(start_lo), "=a"(end_lo),d"(end_hi) + : "=D"(start_hi), "=S"(start_lo), "=a"(end_lo),"=d"(end_hi) : "c"(host_vmcb), "0"(0), "1"(0), "2"(0), "3"(0) );