Skip to content

Instantly share code, notes, and snippets.

@lukewpatterson
Created December 4, 2012 21:48
Show Gist options
  • Save lukewpatterson/4209132 to your computer and use it in GitHub Desktop.
Save lukewpatterson/4209132 to your computer and use it in GitHub Desktop.
VirtualBox Code
bool UIMessageCenter::warnAboutVirtNotEnabled64BitsGuest(bool fHWVirtExSupported)
{
...
else
return messageOkCancel(mainWindowShown(), Error,
tr("<p>VT-x/AMD-V hardware acceleration is not available on your system. "
"Your 64-bit guest will fail to detect a 64-bit CPU and will "
"not be able to boot."),
0 /* pcszAutoConfirmId */,
tr("Close VM"), tr("Continue"));
}
bool UIMessageCenter::warnAboutVirtNotEnabled64BitsGuest(bool fHWVirtExSupported)
{
...
else
return messageOkCancel(mainWindowShown(), Error,
tr("<p>VT-x/AMD-V hardware acceleration is not available on your system. "
"Your 64-bit guest will fail to detect a 64-bit CPU and will "
"not be able to boot."),
0 /* pcszAutoConfirmId */,
tr("Close VM"), tr("Continue"));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment