VirtualBox

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


Ignore:
Timestamp:
Aug 27, 2008 8:50:42 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
35415
Message:

Allow the MSR_IA32_BIOS_SIGN_ID query only for Intel CPUs.

File:
1 edited

Legend:

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

    r11690 r11691  
    25582558#ifdef IN_RING0
    25592559    case MSR_IA32_BIOS_SIGN_ID:
    2560         val = ASMRdMsr(MSR_IA32_BIOS_SIGN_ID);
    2561         break;
     2560        if (CPUMGetCPUVendor(pVM) == CPUMCPUVENDOR_INTEL)
     2561        {
     2562            /* Available since the P6 family. VT-x implies that this feature is present. */
     2563            val = ASMRdMsr(MSR_IA32_BIOS_SIGN_ID);
     2564            break;
     2565        }
     2566        /* no break */
    25622567#endif
    25632568    default:
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette