VirtualBox

Changeset 46672 in vbox


Ignore:
Timestamp:
Jun 19, 2013 3:54:24 PM (11 years ago)
Author:
vboxsync
Message:

VMM/HMSVMR0: VMCB Clean Bits MBZ when it's not supported by the CPU.

File:
1 edited

Legend:

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

    r46671 r46672  
    25062506    STAM_COUNTER_INC(&pVCpu->hm.s.StatLoadFull);
    25072507
     2508    /* If VMCB Clean Bits isn't supported by the CPU, simply mark all state-bits as dirty, indicating (re)load-from-VMCB. */
     2509    if (!(pVM->hm.s.svm.u32Features & AMD_CPUID_SVM_FEATURE_EDX_VMCB_CLEAN))
     2510        pVmcb->ctrl.u64VmcbCleanBits = 0;
     2511
    25082512    /*
    25092513     * If we're not intercepting TPR changes in the guest, save the guest TPR before the world-switch
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