VirtualBox

Changeset 22635 in vbox


Ignore:
Timestamp:
Sep 1, 2009 8:38:46 AM (15 years ago)
Author:
vboxsync
Message:

VMM: fail for guest SMP without VT-x, better error messages if VT-x/AMD-V is not available

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/HWACCM.cpp

    r22615 r22635  
    648648            LogRel(("HWACCM: The host kernel does not support VT-x!\n"));
    649649#endif
     650            if (pVM->cCPUs > 1)
     651                return rc;
     652
     653            /* silently fall back to raw mode */
    650654            return VINF_SUCCESS;
    651655        }
  • trunk/src/VBox/VMM/VM.cpp

    r22609 r22635  
    295295#endif
    296296
     297                case VERR_RAW_MODE_INVALID_SMP:
     298                    pszError = N_("VT-x/AMD-V is either not available on your host or disabled. "
     299                                  "VirtualBox requires this hardware extension to emulate more than one "
     300                                  "guest CPU.");
     301                    break;
     302
    297303                case VERR_SUPDRV_KERNEL_TOO_OLD_FOR_VTX:
    298                     pszError = N_("The host Linux kernel is too old to support hardware acceleration. "
    299                                   "Either upgrade your host kernel to Linux 2.6.13 or later or "
    300                                   "disable hardware acceleration in the VM settings");
     304#ifdef RT_OS_LINUX
     305                    pszError = N_("Because the host kernel is too old, VirtualBox cannot enable the VT-x "
     306                                  "extension. Either upgrade your kernel to Linux 2.6.13 or later or disable "
     307                                  "the VT-x extension in the VM settings. Note that without VT-x you have "
     308                                  "to reduce the number of guest CPUs to one");
     309#else
     310                    pszError = N_("Because the host kernel is too old, VirtualBox cannot enable the VT-x "
     311                                  "extension. Either upgrade your kernel or disable the VT-x extension in the "
     312                                  "VM settings. Note that without VT-x you have to reduce the number of guest "
     313                                  "CPUs to one");
     314#endif
    301315                    break;
    302316
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