VirtualBox

Changeset 72470 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jun 7, 2018 11:41:23 AM (6 years ago)
Author:
vboxsync
Message:

NEM/win: Looks like we can get a stop confirmation first time around in nemHCWinStopCpu, so just deal with it. Did the necessary #UD forwarding to GIM (not needed for NEM/win). bugref:9044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/NEMR3.cpp

    r72343 r72470  
    3232#define LOG_GROUP LOG_GROUP_NEM
    3333#include <VBox/vmm/nem.h>
     34#include <VBox/vmm/gim.h>
    3435#include "NEMInternal.h"
    3536#include <VBox/vmm/vm.h>
     
    209210VMMR3_INT_DECL(int) NEMR3InitCompleted(PVM pVM, VMINITCOMPLETED enmWhat)
    210211{
     212    /*
     213     * Check if GIM needs #UD, since that applies to everyone.
     214     */
     215    if (enmWhat == VMINITCOMPLETED_RING3)
     216        for (VMCPUID iCpu = 0; iCpu < pVM->cCpus; iCpu++)
     217            pVM->aCpus[iCpu].nem.s.fGIMTrapXcptUD = GIMShouldTrapXcptUD(&pVM->aCpus[iCpu]);
     218
     219    /*
     220     * Call native code.
     221     */
    211222    int rc = VINF_SUCCESS;
    212223#ifdef VBOX_WITH_NATIVE_NEM
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