X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmx.c;h=11522f44ba3e92d2978199cb38ab893a33f778ed;hb=c33edc166097522d640b65af5376ca940ac13838;hp=18f7ee77323cb16258a1fe831d667f31cefda7d8;hpb=b1aec98739d57c1bc4d1834414a0206eb37aab92;p=palacios.git diff --git a/palacios/src/palacios/vmx.c b/palacios/src/palacios/vmx.c index 18f7ee7..11522f4 100644 --- a/palacios/src/palacios/vmx.c +++ b/palacios/src/palacios/vmx.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include @@ -922,7 +923,7 @@ int v3_start_vmx_guest(struct guest_info * info) { if (v3_vmx_enter(info) == -1) { - addr_t host_addr; + addr_t host_addr; addr_t linear_addr = 0; info->vm_info->run_state = VM_ERROR; @@ -932,9 +933,7 @@ int v3_start_vmx_guest(struct guest_info * info) { v3_print_guest_state(info); V3_Print("VMX core %u\n", info->vcpu_id); - - linear_addr = get_addr_linear(info, info->rip, &(info->segments.cs)); if (info->mem_mode == PHYSICAL_MEM) { @@ -956,6 +955,7 @@ int v3_start_vmx_guest(struct guest_info * info) { return -1; } + v3_wait_at_barrier(info); if (info->vm_info->run_state == VM_STOPPED) {