VirtualBox

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


Ignore:
Timestamp:
Jul 4, 2019 9:03:19 AM (6 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested VMX: bugref:9180 If we don't expose INS/OUTS VM-exit instruction information field to the guest, zero out the field, despite it can be undefined.

File:
1 edited

Legend:

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

    r79476 r79518  
    32513251        ExitInfo.uReason            = VMX_EXIT_IO_INSTR;
    32523252        ExitInfo.cbInstr            = cbInstr;
    3253         ExitInfo.InstrInfo          = ExitInstrInfo;
    32543253        ExitInfo.u64GuestLinearAddr = uGuestLinearAddr;
    32553254        ExitInfo.u64Qual            = RT_BF_MAKE(VMX_BF_EXIT_QUAL_IO_WIDTH,     cbAccess - 1)
     
    32593258                                    | RT_BF_MAKE(VMX_BF_EXIT_QUAL_IO_ENCODING,  VMX_EXIT_QUAL_IO_ENCODING_DX)
    32603259                                    | RT_BF_MAKE(VMX_BF_EXIT_QUAL_IO_PORT,      u16Port);
     3260        if (IEM_GET_GUEST_CPU_FEATURES(pVCpu)->fVmxInsOutInfo)
     3261            ExitInfo.InstrInfo = ExitInstrInfo;
    32613262        return iemVmxVmexitInstrWithInfo(pVCpu, &ExitInfo);
    32623263    }
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