VirtualBox

Changeset 32765 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Sep 24, 2010 4:26:32 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66212
Message:

PCI: Linux guests really access extended PCI space

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl2.cpp

    r32727 r32765  
    538538    if (chipsetType == ChipsetType_ICH9)
    539539    {
    540         u64McfgLength = 0x10000000;
     540        /* We'd better have 0x10000000 region, to cover 256 buses
     541           but this put too much load on hypervisor heap */
     542        u64McfgLength = 0x4000000; //0x10000000;
    541543        cbRamHole += u64McfgLength;
    542         u64McfgBase = _4G -  cbRamHole;
     544        u64McfgBase = _4G - cbRamHole;
    543545    }
    544546
     
    852854        InsertConfigNode(pInst,    "Config", &pCfg);
    853855        InsertConfigInteger(pCfg, "IOAPIC", fIOAPIC);
     856        if (chipsetType == ChipsetType_ICH9)
     857        {
     858            InsertConfigInteger(pCfg,  "McfgBase",   u64McfgBase);
     859            InsertConfigInteger(pCfg,  "McfgLength", u64McfgLength);
     860        }
    854861
    855862#if 0 /* enable this to test PCI bridging */
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