VirtualBox

Changeset 71266 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Mar 8, 2018 6:25:26 AM (7 years ago)
Author:
vboxsync
Message:

VMM/APIC: Allow Hyper-V paravirt. guests to read reserved LDR+1 (0x80e) APIC MSR rather than #GP.

File:
1 edited

Legend:

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

    r69111 r71266  
    19641964            }
    19651965
     1966            /*
     1967             * Windows guest using Hyper-V x2APIC MSR compatibility mode tries to read the "high"
     1968             * LDR bits, which is quite absurd (as it's a 32-bit register) using this invalid MSR
     1969             * index (0x80E), see @bugref{8382#c175}.
     1970             */
     1971            case MSR_IA32_X2APIC_LDR + 1:
     1972            {
     1973                if (pApic->fHyperVCompatMode)
     1974                    *pu64Value = 0;
     1975                else
     1976                    rcStrict = apicMsrAccessError(pVCpu, u32Reg, APICMSRACCESS_READ_RSVD_OR_UNKNOWN);
     1977                break;
     1978            }
     1979
    19661980            /* Reserved MSRs: */
    19671981            case MSR_IA32_X2APIC_LVT_CMCI:
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