diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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<Session*> xsessions(XSession::readSessions(xSessionPath)); |