VirtualBox

Ignore:
Timestamp:
Jul 20, 2018 8:04:26 PM (7 years ago)
Author:
vboxsync
Message:

NEM/win: Kicked out VINF/VERR_NEM_UPDATE_APIC_BASE and VINF/VERR_NEM_CHANGE_PGM_MODE and associated complications. bugref:9044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/NEMAllNativeTemplate-win.cpp.h

    r73281 r73282  
    497497        if (rc == VERR_NEM_FLUSH_TLB)
    498498            return PGMFlushTLB(pVCpu, pVCpu->cpum.GstCtx.cr3, true /*fGlobal*/);
    499         if (rc == VERR_NEM_CHANGE_PGM_MODE)
    500             return PGMChangeMode(pVCpu, pVCpu->cpum.GstCtx.cr0, pVCpu->cpum.GstCtx.cr4, pVCpu->cpum.GstCtx.msrEFER);
    501499        AssertLogRelRCReturn(rc, rc);
    502500        return rc;
     
    18341832#if defined(IN_RING0) && defined(NEM_WIN_TEMPLATE_MODE_OWN_RUN_API)
    18351833/**
    1836  * Wrapper around nemR0WinImportState that converts VERR_NEM_CHANGE_PGM_MODE and
    1837  * VERR_NEM_FLUSH_TBL into informational status codes and logs+asserts statuses.
     1834 * Wrapper around nemR0WinImportState that converts VERR_NEM_FLUSH_TLB
     1835 * into informational status codes and logs+asserts statuses.
    18381836 *
    18391837 * @returns VBox strict status code.
     
    18531851    }
    18541852
    1855     if (rc == VERR_NEM_CHANGE_PGM_MODE || rc == VERR_NEM_FLUSH_TLB || rc == VERR_NEM_UPDATE_APIC_BASE)
     1853    if (rc == VERR_NEM_FLUSH_TLB)
    18561854    {
    18571855        Log4(("%s/%u: nemR0WinImportState -> %Rrc\n", pszCaller, pGVCpu->idCpu, -rc));
     
    43634361            if (RT_SUCCESS(rc2))
    43644362                pVCpu->cpum.GstCtx.fExtrn &= ~fImport;
    4365             else if (rc2 == VERR_NEM_CHANGE_PGM_MODE || rc2 == VERR_NEM_FLUSH_TLB || rc2 == VERR_NEM_UPDATE_APIC_BASE)
     4363            else if (rc2 == VERR_NEM_FLUSH_TLB)
    43664364            {
    43674365                pVCpu->cpum.GstCtx.fExtrn &= ~fImport;
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