VirtualBox

Changeset 105697 in vbox for trunk


Ignore:
Timestamp:
Aug 15, 2024 6:28:56 PM (5 months ago)
Author:
vboxsync
Message:

Main,VMMArm/GIC: Fixes for linux.arm64, bugref:10747

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImplConfigArmV8.cpp

    r105600 r105697  
    420420#else
    421421        /* On Linux we default to the KVM in-kernel GIC for now. */
    422         InsertConfigNode(pDevices, "gic-kvm",               &pDev);
     422        InsertConfigNode(pDevices, "gic-nem",               &pDev);
    423423#endif
    424424        InsertConfigNode(pDev,     "0",                     &pInst);
  • trunk/src/VBox/VMM/VMMAll/GICAll.cpp

    r105687 r105697  
    12931293    /** @todo r=aeichner There must be another way to do this better, maybe create some callback interface
    12941294     *                   the GIC can register. */
    1295 #ifdef RT_OS_LINUX
    1296 # ifdef IN_RING3
     1295#ifdef IN_RING3
    12971296    PGIC pGic = VM_TO_GIC(pVCpu->pVMR3);
    12981297    /* These should be handled in the kernel and never be set from here. */
    1299     AssertReturn(!pGic->fKvmGic, VERR_NEM_IPE_6);
    1300 # else
    1301 #  error "Impossible to call the KVM in-kernel GIC from this context!"
    1302 # endif
     1298    AssertReturn(!pGic->fNemGic, VERR_NEM_IPE_6);
     1299#else
     1300# error "Impossible to call the in-kernel GIC from this context!"
    13031301#endif
    13041302
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