VirtualBox

Changeset 49677 in vbox for trunk/src


Ignore:
Timestamp:
Nov 27, 2013 10:56:16 AM (11 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Assertions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r49670 r49677  
    14171417        { \
    14181418            pVCpu->hm.s.vmx.u64Host##a_HostMsrField = ASMRdMsr(uMsr); \
    1419             Log4(("hmR0VmxLazySaveHostMsrs: uMsr=%#RX32 HostValue=%#RX64\n", (uMsr), pVCpu->hm.s.vmx.u64Host##a_HostMsrField)); \
    14201419        } \
    14211420    } while (0)
     
    14281427    VMXLOCAL_SAVE_HOST_MSR(MSR_K8_SF_MASK,        SFMaskMsr,       VMX_RESTORE_HOST_MSR_SFMASK);
    14291428    VMXLOCAL_SAVE_HOST_MSR(MSR_K8_KERNEL_GS_BASE, KernelGSBaseMsr, VMX_RESTORE_HOST_MSR_KERNELGSBASE);
     1429
    14301430#undef VMXLOCAL_SAVE_HOST_MSR
    14311431}
     
    14681468{
    14691469    Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
     1470    Assert(!VMMRZCallRing3IsEnabled(pVCpu));
     1471
    14701472#define VMXLOCAL_SAVE_GUEST_MSR(uMsr, a_GuestMsrField, RestoreFlag) \
    14711473    do { \
     
    15041506{
    15051507    Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
     1508    Assert(!VMMRZCallRing3IsEnabled(pVCpu));
    15061509
    15071510#define VMXLOCAL_LOAD_GUEST_MSR(uMsr, a_GuestMsrField, a_HostMsrField, RestoreFlag) \
     
    15381541{
    15391542    Assert(!RTThreadPreemptIsEnabled(NIL_RTTHREAD));
     1543    Assert(!VMMRZCallRing3IsEnabled(pVCpu));
    15401544
    15411545#define VMXLOCAL_RESTORE_HOST_MSR(uMsr, a_HostMsrField, RestoreFlag) \
Note: See TracChangeset for help on using the changeset viewer.

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