VirtualBox

Changeset 78232 in vbox for trunk


Ignore:
Timestamp:
Apr 20, 2019 10:27:09 PM (6 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Nested VMX: bugref:9180 Build fix.

File:
1 edited

Legend:

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

    r78231 r78232  
    27582758 *
    27592759 * @returns VBox status code.
    2760  * @param   pVCpu       The cross context virtual CPU structure.
    27612760 * @param   pVmcsInfo   The VMCS info. object.
    27622761 */
    2763 DECLINLINE(int) hmR0VmxSetupVmcsMsrBitmapAddr(PVMCPU pVCpu, PCVMXVMCSINFO pVmcsInfo)
    2764 {
    2765     NOREF(pVCpu);
     2762DECLINLINE(int) hmR0VmxSetupVmcsMsrBitmapAddr(PCVMXVMCSINFO pVmcsInfo)
     2763{
    27662764    RTHCPHYS const HCPhysMsrBitmap = pVmcsInfo->HCPhysMsrBitmap;
    27672765    Assert(HCPhysMsrBitmap != NIL_RTHCPHYS);
     
    27902788 *
    27912789 * @returns VBox status code.
    2792  * @param   pVCpu       The cross context virtual CPU structure.
    27932790 * @param   pVmcsInfo   The VMCS info. object.
    27942791 */
    2795 DECLINLINE(int) hmR0VmxSetupVmcsLinkPtr(PVMCPU pVCpu, PVMXVMCSINFO pVmcsInfo)
    2796 {
    2797     NOREF(pVCpu);
     2792DECLINLINE(int) hmR0VmxSetupVmcsLinkPtr(PVMXVMCSINFO pVmcsInfo)
     2793{
    27982794    uint64_t const u64VmcsLinkPtr = pVmcsInfo->u64VmcsLinkPtr;
    27992795    Assert(u64VmcsLinkPtr == UINT64_C(0xffffffffffffffff));  /* Bits 63:0 MB1. */
     
    28072803 *
    28082804 * @returns VBox status code.
    2809  * @param   pVCpu       The cross context virtual CPU structure.
    28102805 * @param   pVmcsInfo   The VMCS info. object.
    28112806 */
    2812 DECLINLINE(int) hmR0VmxSetupVmcsAutoLoadStoreMsrAddrs(PVMCPU pVCpu, PVMXVMCSINFO pVmcsInfo)
    2813 {
    2814     NOREF(pVCpu);
     2807DECLINLINE(int) hmR0VmxSetupVmcsAutoLoadStoreMsrAddrs(PVMXVMCSINFO pVmcsInfo)
     2808{
    28152809    RTHCPHYS const HCPhysGuestMsrLoad = pVmcsInfo->HCPhysGuestMsrLoad;
    28162810    Assert(HCPhysGuestMsrLoad != NIL_RTHCPHYS);
     
    31163110    {
    31173111        fVal |= VMX_PROC_CTLS_USE_MSR_BITMAPS;
    3118         int rc = hmR0VmxSetupVmcsMsrBitmapAddr(pVCpu, pVmcsInfo);
     3112        int rc = hmR0VmxSetupVmcsMsrBitmapAddr(pVmcsInfo);
    31193113        AssertRCReturn(rc, rc);
    31203114    }
     
    31693163{
    31703164    /* Set the auto-load/store MSR area addresses in the VMCS. */
    3171     int rc = hmR0VmxSetupVmcsAutoLoadStoreMsrAddrs(pVCpu, pVmcsInfo);
     3165    int rc = hmR0VmxSetupVmcsAutoLoadStoreMsrAddrs(pVmcsInfo);
    31723166    if (RT_SUCCESS(rc))
    31733167    {
    31743168        /* Set the VMCS link pointer in the VMCS. */
    3175         rc = hmR0VmxSetupVmcsLinkPtr(pVCpu, pVmcsInfo);
     3169        rc = hmR0VmxSetupVmcsLinkPtr(pVmcsInfo);
    31763170        if (RT_SUCCESS(rc))
    31773171        {
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