VirtualBox

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


Ignore:
Timestamp:
Apr 14, 2025 9:46:20 PM (4 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168489
Message:

VMM,Main,Devices: Respect VBOX_VMM_TARGET_ARMV8 correctly on amd64 hosts (for IEM debugging purposes). [build fix] jiraref:VBP-1598

File:
1 edited

Legend:

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

    r108968 r108969  
    15011501        pFeatures->fMovBe               = RT_BOOL(pStd1Leaf->uEcx & X86_CPUID_FEATURE_ECX_MOVBE);
    15021502        pFeatures->fF16c                = RT_BOOL(pStd1Leaf->uEcx & X86_CPUID_FEATURE_ECX_F16C);
    1503 # ifdef VBOX_VMM_TARGET_X86 /** @todo maybe populate this for x86 hosts targeting non-x86 guest? */
     1503# if (defined(RT_ARCH_X86) || defined(RT_ARCH_AMD64) || defined(VBOX_VMM_TARGET_X86)) \
     1504 && !defined(VBOX_VMM_TARGET_ARMV8) /** @todo Ugly hack to avoid dragging in hm_vmx.h when targeting armv8. */
    15041505        if (pFeatures->fVmx)
    15051506            cpumExplodeVmxFeatures(&pMsrs->hwvirt.vmx, pFeatures);
     1507# else
     1508        RT_NOREF_PV(pMsrs);
    15061509# endif
    15071510
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