Changeset 79430 in vbox for trunk/src/VBox
- Timestamp:
- Jul 1, 2019 6:01:52 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r79402 r79430 10958 10958 Log4Func(("Mappping HC APIC-access page at %#RGp\n", GCPhysApicBase)); 10959 10959 10960 /* Unalias anyexisting mapping. */10960 /* Unalias the existing mapping. */ 10961 10961 int rc = PGMHandlerPhysicalReset(pVM, GCPhysApicBase); 10962 10962 AssertRCReturn(rc, rc); … … 11398 11398 * Virtualize memory-mapped accesses to the physical APIC (may take locks). 11399 11399 */ 11400 /** @todo Doing this from ring-3 after VM setup phase causes a 11401 * VERR_IOM_MMIO_RANGE_NOT_FOUND guru while booting Visa 64 SMP VM. No 11402 * idea why atm. */ 11400 11403 PVM pVM = pVCpu->CTX_SUFF(pVM); 11401 11404 if ( !pVCpu->hm.s.vmx.u64GstMsrApicBase … … 15502 15505 15503 15506 /* See Intel spec. 27-6 "Exit Qualifications for APIC-access VM-exits from Linear Accesses & Guest-Phyiscal Addresses" */ 15504 uint32_t uAccessType = VMX_EXIT_QUAL_APIC_ACCESS_TYPE(pVmxTransient->uExitQual);15507 uint32_t const uAccessType = VMX_EXIT_QUAL_APIC_ACCESS_TYPE(pVmxTransient->uExitQual); 15505 15508 VBOXSTRICTRC rcStrict2; 15506 15509 switch (uAccessType) … … 15516 15519 GCPhys &= PAGE_BASE_GC_MASK; 15517 15520 GCPhys += VMX_EXIT_QUAL_APIC_ACCESS_OFFSET(pVmxTransient->uExitQual); 15518 PVM pVM = pVCpu->CTX_SUFF(pVM);15519 15521 Log4Func(("Linear access uAccessType=%#x GCPhys=%#RGp Off=%#x\n", uAccessType, GCPhys, 15520 15522 VMX_EXIT_QUAL_APIC_ACCESS_OFFSET(pVmxTransient->uExitQual))); 15521 15523 15524 PVM pVM = pVCpu->CTX_SUFF(pVM); 15522 15525 PCPUMCTX pCtx = &pVCpu->cpum.GstCtx; 15523 15526 rcStrict2 = IOMMMIOPhysHandler(pVM, pVCpu, … … 15537 15540 15538 15541 default: 15542 { 15539 15543 Log4Func(("uAccessType=%#x\n", uAccessType)); 15540 15544 rcStrict2 = VINF_EM_RAW_EMULATE_INSTR; 15541 15545 break; 15546 } 15542 15547 } 15543 15548
Note:
See TracChangeset
for help on using the changeset viewer.