VirtualBox

Ignore:
Timestamp:
Mar 12, 2021 5:12:56 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
143242
Message:

VMM/HMSVMR0: Whitespace, comment nit.

File:
1 edited

Legend:

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

    r87933 r88099  
    20502050            PCVMCC    pVM  = pVCpu->CTX_SUFF(pVM);
    20512051
    2052             HMSVM_ASSERT_NOT_IN_NESTED_GUEST(pCtx);                                /* Nested VGIF is not supported yet. */
     2052            HMSVM_ASSERT_NOT_IN_NESTED_GUEST(pCtx);                       /* Nested VGIF is not supported yet. */
    20532053            Assert(g_fHmSvmFeatures & X86_CPUID_SVM_FEATURE_EDX_VGIF);    /* Physical hardware supports VGIF. */
    2054             Assert(HMIsSvmVGifActive(pVM));                                        /* Outer VM has enabled VGIF. */
     2054            Assert(HMIsSvmVGifActive(pVM));                               /* Outer VM has enabled VGIF. */
    20552055            NOREF(pVM);
    20562056
     
    22312231     *
    22322232     * - #UD: Exclude these as the outer guest's GIM hypercalls are not applicable
    2233      * while executing the nested-guest.
     2233     *   while executing the nested-guest.
    22342234     *
    22352235     * - #BP: Exclude breakpoints set by the VM debugger for the outer guest. This can
    2236      * be tweaked later depending on how we wish to implement breakpoints.
     2236     *   be tweaked later depending on how we wish to implement breakpoints.
    22372237     *
    22382238     * - #GP: Exclude these as it's the inner VMMs problem to get vmsvga 3d drivers
    2239      *        loaded into their guests, not ours.
     2239     *   loaded into their guests, not ours.
    22402240     *
    22412241     * Warning!! This ASSUMES we only intercept \#UD for hypercall purposes and \#BP
     
    45604560
    45614561    PCPUMCTX pCtx = &pVCpu->cpum.GstCtx;
    4562     uint16_t uCsStart  = pCtx->cs.Sel;
    4563     uint64_t uRipStart = pCtx->rip;
     4562    uint16_t const uCsStart  = pCtx->cs.Sel;
     4563    uint64_t const uRipStart = pCtx->rip;
    45644564
    45654565    VBOXSTRICTRC rc = VERR_INTERNAL_ERROR_5;
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