VirtualBox

Changeset 69566 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 3, 2017 2:46:23 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
118915
Message:

IEM/IEMAllCImplSvmInstr.cpp.h: fix windows build issue with unreachable code due to ifdefs and unused function parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImplSvmInstr.cpp.h

    r69409 r69566  
    291291IEM_STATIC VBOXSTRICTRC iemSvmVmrun(PVMCPU pVCpu, PCPUMCTX pCtx, uint8_t cbInstr, RTGCPHYS GCPhysVmcb)
    292292{
    293     PVM pVM = pVCpu->CTX_SUFF(pVM);
    294293    LogFlow(("iemSvmVmrun\n"));
    295294
     
    300299     * to go back to ring-3 anyway, see @bugref{7243#c48}.
    301300     */
     301    RT_NOREF(pVCpu, pCtx, cbInstr, GCPhysVmcb);
    302302    return VERR_IEM_ASPECT_NOT_IMPLEMENTED;
    303 #endif
     303#else
    304304
    305305    /*
     
    316316     * Read the guest VMCB state.
    317317     */
     318    PVM pVM = pVCpu->CTX_SUFF(pVM);
    318319    int rc = PGMPhysSimpleReadGCPhys(pVM, pCtx->hwvirt.svm.CTX_SUFF(pVmcb), GCPhysVmcb, sizeof(SVMVMCB));
    319320    if (RT_SUCCESS(rc))
     
    662663    Log(("iemSvmVmrun: Failed to read nested-guest VMCB at %#RGp (rc=%Rrc) -> #VMEXIT\n", GCPhysVmcb, rc));
    663664    return rc;
     665#endif
    664666}
    665667
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