VirtualBox

Ignore:
Timestamp:
Mar 26, 2025 7:47:08 AM (4 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168172
Message:

VMM/GIC: bugref:10877 Check LPIs and ITS enabled states are in sync. and make sense for the VM config.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/GICR3.cpp

    r108733 r108747  
    598598                                           "|Nmi"
    599599                                           "|Mbi"
    600                                            "|Aff3Levels", "");
     600                                           "|Aff3Levels"
     601                                           "|Lpi"
     602                                           "|MaxLpi", "");
    601603
    602604#if 0
     
    804806        }
    805807        else
     808        {
    806809            pGicDev->hMmioGits = NIL_IOMMMIOHANDLE;
     810
     811            /* When the ITS is disabled we don't support LPIs as we do not support direct LPI injection (guests don't use it). */
     812            if (pGicDev->fLpi)
     813                return PDMDevHlpVMSetError(pDevIns, VERR_INVALID_PARAMETER, RT_SRC_POS,
     814                                           N_("Configuration error: \"Lpi\" must be disabled when ITS is disabled\n"));
     815        }
    807816    }
    808817
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