Changeset 37794 in vbox
- Timestamp:
- Jul 6, 2011 10:24:07 AM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 72670
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/err.h
r36984 r37794 1738 1738 /** @} */ 1739 1739 1740 /** @name PCI Passtrhough Status Codes 1741 * @{ 1742 */ 1743 /** RamPreAlloc not set. 1744 * RAM pre-allocation is currently a requirement for PCI passthrough. */ 1745 #define VERR_PCI_PASSTHROUGH_NO_RAM_PREALLOC (-7000) 1746 /** VT-x/AMD-V not active. 1747 * PCI passthrough currently works only if VT-x/AMD-V is active. */ 1748 #define VERR_PCI_PASSTHROUGH_NO_HWACCM (-7001) 1749 /** Nested paging not active. 1750 * PCI passthrough currently works only if nested paging is active. */ 1751 #define VERR_PCI_PASSTHROUGH_NO_NESTED_PAGING (-7002) 1752 /** @} */ 1753 1740 1754 /* SED-END */ 1741 1755 -
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 } -
trunk/src/VBox/VMM/VMMR3/PGM.cpp
r37354 r37794 2162 2162 if (pVM->pgm.s.fPciPassthrough) 2163 2163 { 2164 AssertLogRelReturn(pVM->pgm.s.fRamPreAlloc, VERR_ INVALID_PARAMETER);2165 AssertLogRelReturn(HWACCMIsEnabled(pVM), VERR_ INVALID_PARAMETER);2166 AssertLogRelReturn(HWACCMIsNestedPagingActive(pVM), VERR_ INVALID_PARAMETER);2164 AssertLogRelReturn(pVM->pgm.s.fRamPreAlloc, VERR_PCI_PASSTHROUGH_NO_RAM_PREALLOC); 2165 AssertLogRelReturn(HWACCMIsEnabled(pVM), VERR_PCI_PASSTHROUGH_NO_HWACCM); 2166 AssertLogRelReturn(HWACCMIsNestedPagingActive(pVM), VERR_PCI_PASSTHROUGH_NO_NESTED_PAGING); 2167 2167 2168 2168 /* -
trunk/src/VBox/VMM/VMMR3/VM.cpp
r37465 r37794 342 342 "support and remote desktop) are only available from an 'extension " 343 343 "pack' which must be downloaded and installed separately"); 344 break; 345 346 case VERR_PCI_PASSTHROUGH_NO_HWACCM: 347 pszError = N_("PCI passthrough requires VT-x/AMD-V"); 348 break; 349 350 case VERR_PCI_PASSTHROUGH_NO_NESTED_PAGING: 351 pszError = N_("PCI passthrough requires nested paging"); 344 352 break; 345 353
Note:
See TracChangeset
for help on using the changeset viewer.