X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Fvmx.c;h=eb6c71812ed8b2bd945a2fcea59cec4125656484;hb=748e856fe4c5cc9b0b80d60db90af10ceb0247c8;hp=4ce96e04581b6ed8145025ff9edbf8317a714f5b;hpb=0893919c04fa1186a70039b739a6dcec0a2189ba;p=palacios.git diff --git a/palacios/src/geekos/vmx.c b/palacios/src/geekos/vmx.c index 4ce96e0..eb6c718 100644 --- a/palacios/src/geekos/vmx.c +++ b/palacios/src/geekos/vmx.c @@ -540,6 +540,8 @@ int Do_VMM(struct VMXRegs regs) vmcs_ptr_low += vmcs_ptr; + + SerialPrintLevel(100,"ret=%d\n", ret); SerialPrintLevel(100,"Revision: %x\n", *(uint_t *)(vmcs_ptr_low)); vmx_abort = *(uint_t*)(((char *)vmcs_ptr_low)+4); @@ -558,6 +560,9 @@ int Do_VMM(struct VMXRegs regs) return -1; } + + SerialPrint("Guest esp: 0x%x (%u)\n", vm->vmcs.guestStateArea.rsp, vm->vmcs.guestStateArea.rsp); + SerialPrintLevel(100,"VM Exit for reason: %d (%x)\n", vm->vmcs.exitInfoFields.reason & 0x00000fff, vm->vmcs.exitInfoFields.reason); @@ -758,6 +763,8 @@ int MyLaunch(struct VM *vm) int ret; int vmm_ret = 0; + SerialPrint("Guest ESP: 0x%x (%u)\n", guest_esp, guest_esp); + exit_eip=(uint_t)RunVMM; SerialPrintLevel(100,"Clear\n"); @@ -890,5 +897,3 @@ VMCS * CreateVMCS() { return vmcs; } - -