VirtualBox

Changeset 56672 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Jun 29, 2015 12:53:55 PM (9 years ago)
Author:
vboxsync
Message:

VMM/GIM: Workaround PGM issue with large pages in Hyper-V by directly rewriting guest memory than using the MMIO2 mapping.

File:
1 edited

Legend:

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

    r56287 r56672  
    9999        return VERR_GIM_PVTSC_NOT_ENABLED;
    100100
     101    /** @todo this is buggy when large pages are used due to a PGM limitation, see
     102     *        @bugref{7532}.
     103     *
     104     *        In any case, we do not ever update this page while the guest is
     105     *        running after setting it up (in ring-3, see gimR3HvEnableTscPage()) as
     106     *        the TSC offset is handled in the VMCS/VMCB (HM) or by trapping RDTSC
     107     *        (raw-mode). */
     108#if 0
    101109    PCGIMHV          pcHv     = &pVM->gim.s.u.Hv;
    102110    PCGIMMMIO2REGION pcRegion = &pcHv->aMmio2Regions[GIM_HV_REF_TSC_PAGE_REGION_IDX];
     
    128136    Assert(pRefTsc->u32TscSequence != 0);
    129137    Assert(pRefTsc->u32TscSequence != UINT32_C(0xffffffff));
     138#endif
    130139    return VINF_SUCCESS;
    131140}
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