Comments (15)
Since having Intel VT and AMD-V enabled we should maybe write testing scripts for each OS:
- Windows
- Mac OS X
- Linux
... not only add it to the README.md
from ole--vagrant-community.
Links for checking whether hardware support virtualization:
For Linux: https://help.ubuntu.com/community/KVM/Installation
For Mac: docker-archive/toolbox#166 http://kb.parallels.com/en/5653
For Windows: https://technet.microsoft.com/en-us/sysinternals/cc835722.aspx
from ole--vagrant-community.
Also for Windows (Does not work for Windows 10):
https://www.microsoft.com/en-us/download/details.aspx?id=592
from ole--vagrant-community.
As for Windows 8-8.1-10, you can check from task manager.
from ole--vagrant-community.
This link shows how you can detect if VM is enabled
http://stackoverflow.com/questions/21537769/programatically-detect-if-vt-x-or-amd-v-is-enabled-on-windows
from ole--vagrant-community.
Coreinfo only shows whether the processor supports virtualization, and it does not show if virtualization is enabled or not.
from ole--vagrant-community.
I cannot find a way to check if vt-x is on/off in mac. It seems that vt-x is always on. If vt-x is off then it needs some firmware update, as indicated here. However checking if vm is hardware supported is possible. Not sure if it is necessary.
from ole--vagrant-community.
@xinglunxu as in http://kb.parallels.com/en/5653 described sysctl -a | grep machdep.cpu.features
and if you combine that with the linux solution of https://help.ubuntu.com/community/KVM/Installation
you can create something boolean ;)
from ole--vagrant-community.
@dogi Thanks for the detail solution! But this can only verify if vt-x is supported but not if vt-x is enabled, right?
And this the script I can come up with to check if vt-x is hardware supported:
sysctl -a | grep machdep.cpu.features | egrep -c 'VMX'
It output 1 if true otherwise 0.
from ole--vagrant-community.
think on macosx we don't need to worry about this too much ;)
if the software is new enough it is always enabled
look at https://support.apple.com/en-us/HT203296
from ole--vagrant-community.
I have created a simple program for Windows to check if virtualization is enabled or not. It has been tested on Windows 8.1 and Windows 10.
The following screenshots show the output of the program on Windows 8.1 (Disabled) and 10 (Enabled and Disabled)
from ole--vagrant-community.
Will try to improve the program so that is checks if virtualization support exist in a pc before it checks for whether it is enabled or not.
from ole--vagrant-community.
Here is the source code for the first version of vircheck.exe.
from ole--vagrant-community.
@dogi I think I got what you asked for. This link shows how to check for virutalization using PowerShell.
from ole--vagrant-community.
@dogi I was able to reproduce the results of the this link.
from ole--vagrant-community.
Related Issues (17)
- Create redirect at port 80 to the right port and subdirectory HOT 1
- scripts for downloading all the necessary software HOT 20
- Uninstall script to help with testing HOT 16
- set other then standard password HOT 16
- research into how do installation process with a one liner HOT 5
- windows: add more software to README.md HOT 5
- test
- Proof of Concept to install and uninstall the required software with Chocolatey HOT 4
- Should we download also Firefox with choco? HOT 3
- windows: improve start vagrant on boot HOT 2
- create a section about network and firewall HOT 22
- macOS vagrant start on boot (suggestion)
- macosx: start vagrant on boot HOT 11
- ubuntu: start vagrant on boot
- shortcut icon on desktop HOT 8
- simple install by single script HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ole--vagrant-community.