VirtualBox

Changeset 81638 in vbox


Ignore:
Timestamp:
Nov 4, 2019 6:03:32 AM (5 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Don't assert pbVirtApic or HCPhysVirtApic when APIC device isn't present and we don't allocate or fetch these pages.

File:
1 edited

Legend:

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

    r81637 r81638  
    18581858                if (RT_FAILURE(rc))
    18591859                    return rc;
     1860                Assert(pVmcsInfo->pbVirtApic);
     1861                Assert(pVmcsInfo->HCPhysVirtApic && pVmcsInfo->HCPhysVirtApic != NIL_RTHCPHYS);
    18601862            }
    18611863        }
    18621864        else
     1865        {
    18631866            pVmcsInfo->pbVirtApic = (uint8_t *)CPUMGetGuestVmxVirtApicPage(pVCpu, &pVCpu->cpum.GstCtx,
    18641867                                                                           &pVmcsInfo->HCPhysVirtApic);
    1865         Assert(pVmcsInfo->pbVirtApic);
    1866         Assert(pVmcsInfo->HCPhysVirtApic && pVmcsInfo->HCPhysVirtApic != NIL_RTHCPHYS);
     1868            Assert(pVmcsInfo->pbVirtApic);
     1869            Assert(pVmcsInfo->HCPhysVirtApic && pVmcsInfo->HCPhysVirtApic != NIL_RTHCPHYS);
     1870        }
    18671871    }
    18681872
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