VirtualBox

Changeset 37794 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jul 6, 2011 10:24:07 AM (14 years ago)
Author:
vboxsync
Message:

more PCI passthrough fixes

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

Legend:

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

    r37354 r37794  
    21622162            if (pVM->pgm.s.fPciPassthrough)
    21632163            {
    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);
    21672167
    21682168                /*
  • trunk/src/VBox/VMM/VMMR3/VM.cpp

    r37465 r37794  
    342342                                  "support and remote desktop) are only available from an 'extension "
    343343                                  "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");
    344352                    break;
    345353
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