VirtualBox

Changeset 45977 in vbox


Ignore:
Timestamp:
May 10, 2013 9:51:35 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85629
Message:

VMM/HMVMXR0: Kernel GS Base is no longer manually saved/restore across the world switch.
If MSR-bitmaps are not supported, changing Kernel GS Base through WRMSR should reload the new value into
the auto-load/store area in the VMCS.

File:
1 edited

Legend:

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

    r45976 r45977  
    78077807                case MSR_K8_FS_BASE:        /* no break */
    78087808                case MSR_K8_GS_BASE:        pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_GUEST_SEGMENT_REGS;     break;
    7809                 /* MSR_K8_KERNEL_GS_BASE: Nothing to do as it's not part of the VMCS. Manually loaded each time on VM-entry. */
     7809                case MSR_K8_KERNEL_GS_BASE: pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_VMX_GUEST_AUTO_MSRS;    break;
    78107810            }
    78117811        }
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