From 6cacb1191590223af6afab5c13acc3664b72e8e3 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 29 Mar 2016 16:10:31 +0200 Subject: Feature: Show warning for 64bit VMs if no VT-x available --- src/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 2c1a17b..7dfdfc7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -50,6 +50,7 @@ int main(int argc, char *argv[]) { " -h, --help print usage information and exit\n" " -S, --runscript change path to run-virt.sh\n" " -T --tab default tab (0=xsession, 1=my vms, 2=all vms)\n" + " --no-vtx Host doesn't support VT-x/AMD-V (mark 64bit guests)\n" "\nFILE can be a vmware .xml or an X .desktop file\n").toUtf8().data()); if (cmdOptions.contains("error")) { @@ -241,6 +242,10 @@ int main(int argc, char *argv[]) { locationIds = cmdOptions.value("locations"); } + if (cmdOptions.contains("no-vtx")) { + g_noVtx = true; + } + /* read session files */ QList xsessions(XSession::readSessions(xSessionPath)); -- cgit v1.2.3-55-g7522