Changeset 32120 in vbox for trunk/src/VBox/Main/ConsoleImpl2.cpp
- Timestamp:
- Aug 31, 2010 9:58:36 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ConsoleImpl2.cpp
r31818 r32120 820 820 * PCI buses. 821 821 */ 822 InsertConfigNode(pDevices, "pci", &pDev); /* piix3 */ 822 ChipsetType_T chipsetType; 823 hrc = pMachine->COMGETTER(ChipsetType)(&chipsetType); H(); 824 825 switch (chipsetType) 826 { 827 default: 828 Assert(false); 829 case ChipsetType_PIIX3: 830 InsertConfigNode(pDevices, "piix3pci", &pDev); 831 break; 832 case ChipsetType_ICH9: 833 InsertConfigNode(pDevices, "ich9pci", &pDev); 834 break; 835 } 823 836 InsertConfigNode(pDev, "0", &pInst); 824 837 InsertConfigInteger(pInst, "Trusted", 1); /* boolean */ … … 827 840 828 841 #if 0 /* enable this to test PCI bridging */ 829 InsertConfigNode(pDevices, "p cibridge", &pDev);842 InsertConfigNode(pDevices, "piix3pcibridge", &pDev); 830 843 InsertConfigNode(pDev, "0", &pInst); 831 844 InsertConfigInteger(pInst, "Trusted", 1); /* boolean */
Note:
See TracChangeset
for help on using the changeset viewer.