VirtualBox

Changeset 56252 in vbox


Ignore:
Timestamp:
Jun 5, 2015 10:54:51 AM (10 years ago)
Author:
vboxsync
Message:

updated pci raw config docs; read config.

Location:
trunk/src/VBox/VMM
Files:
2 edited

Legend:

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

    r56078 r56252  
    13521352
    13531353    /*
    1354      * Check for PCI pass-through.
     1354     * Check for PCI pass-through and other configurables.
    13551355     */
    13561356    rc = CFGMR3QueryBoolDef(pCfgPGM, "PciPassThrough", &pVM->pgm.s.fPciPassthrough, false);
    13571357    AssertMsgRCReturn(rc, ("Configuration error: Failed to query integer \"PciPassThrough\", rc=%Rrc.\n", rc), rc);
    13581358    AssertLogRelReturn(!pVM->pgm.s.fPciPassthrough || pVM->pgm.s.fRamPreAlloc, VERR_INVALID_PARAMETER);
     1359
     1360    rc = CFGMR3QueryBoolDef(CFGMR3GetRoot(pVM), "PageFusionAllowed", &pVM->pgm.s.fPageFusionAllowed, false);
     1361    AssertLogRelRCReturn(rc, rc);
    13591362
    13601363#ifdef VBOX_WITH_STATISTICS
  • trunk/src/VBox/VMM/include/PGMInternal.h

    r56053 r56252  
    32293229     * (Only used in strict builds.) */
    32303230    bool                            fNoMorePhysWrites;
    3231     /** Set if PCI passthrough is enabled. */
     3231    /** @cfgm{/PageFusionAllowed, boolean, false}
     3232     * Whether page fusion is allowed. */
     3233    bool                            fPageFusionAllowed;
     3234    /** @cfgm{/PGM/PciPassThrough, boolean, false}
     3235     * Whether PCI passthrough is enabled. */
    32323236    bool                            fPciPassthrough;
    32333237    /** The number of MMIO2 regions (serves as the next MMIO2 ID). */
    32343238    uint8_t                         cMmio2Regions;
    32353239    /** Alignment padding that makes the next member start on a 8 byte boundary. */
    3236     bool                            afAlignment1[2];
     3240    bool                            afAlignment1[1];
    32373241
    32383242    /** Indicates that PGMR3FinalizeMappings has been called and that further
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