Changeset 37794 in vbox for trunk/src/VBox/Main/src-client
- Timestamp:
- Jul 6, 2011 10:24:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp
r37781 r37794 462 462 { 463 463 HRESULT hrc = S_OK; 464 PCFGMNODE pInst, pCfg, pLunL0 ;464 PCFGMNODE pInst, pCfg, pLunL0, pLunL1; 465 465 466 466 SafeIfaceArray<IPciDeviceAttachment> assignments; … … 561 561 InsertConfigInteger(pCfg, "GuestPCIFunctionNo", GuestPciAddress.miFn); 562 562 563 /* the driver */ 564 InsertConfigNode(pInst, "LUN#0", &pLunL0); 565 InsertConfigString(pLunL0, "Driver", "pciraw"); 566 InsertConfigNode(pLunL0, "AttachedDriver", &pLunL1); 567 563 568 /* the Main driver */ 569 InsertConfigString(pLunL1, "Driver", "MainPciRaw"); 570 InsertConfigNode(pLunL1, "Config", &pCfg); 564 571 PciRawDev* pMainDev = new PciRawDev(pConsole); 565 InsertConfigNode(pInst, "LUN#0", &pLunL0);566 InsertConfigString(pLunL0, "Driver", "pciraw");567 InsertConfigNode(pLunL0, "Config" , &pCfg);568 572 InsertConfigInteger(pCfg, "Object", (uintptr_t)pMainDev); 569 573 }
Note:
See TracChangeset
for help on using the changeset viewer.