VirtualBox

Ignore:
Timestamp:
Jun 9, 2008 11:49:52 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
31814
Message:

Log guest state in case of failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.h

    r9457 r9535  
    161161        pCtx->reg##Hid.Attr.u    = val;
    162162
     163#define VMX_LOG_SELREG(REG, szSelReg) \
     164        VMXReadVMCS(VMX_VMCS_GUEST_FIELD_##REG,           &val);     \
     165        Log(("%s Selector     %x\n", szSelReg, val));                \
     166        VMXReadVMCS(VMX_VMCS_GUEST_##REG##_LIMIT,         &val);     \
     167        Log(("%s Limit        %x\n", szSelReg, val));                \
     168        VMXReadVMCS(VMX_VMCS_GUEST_##REG##_BASE,          &val);     \
     169        Log(("%s Base         %RX64\n", szSelReg, val));             \
     170        VMXReadVMCS(VMX_VMCS_GUEST_##REG##_ACCESS_RIGHTS, &val);     \
     171        Log(("%s Attributes   %x\n", szSelReg, val));
     172
    163173
    164174
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette