Advantages of using a virtual machine [closed]

Pros

  1. Ability to run more than one OS simultiously.
  2. Flexibility. You can install/reinstall/backup/move your guest OS easily. Also you can manage allocation of resource (Memory, Harddisk), and etc.

Cons

  1. Performance drop. Usually much slower.
  2. Hardware support problem on Guest OS.

We love using virtual machines for our development environments. This way they can be archived, backed-up, and especially shared much easier than having all of our tools installed on to a non-virtual environment.

This has been particularly useful dealing with supporting some old projects that require a build environment hosted upon Windows XP and an old version of Visual Studio.

Rather than dealing with the cost of modernizing the legacy environment just to support the old client maintenance work, now we can just fire up a virtual machine that is dedicated to that one particular project.

We actually now maintain a virtual development environment for each of our clients, and this has worked out great!


Old abandonware software will not work on new operating systems. In order to run them you can use virtual machine. You can also check if particular new software is compatible to old OS using virtual machine. Though some browsers are secure and protect you from threats most of the time but to get more protection, it's always better to use browser from virtual machine. In fact Vmware has virtual appliance browsers which you can use for security.That's not all. I do like viewing the old interface of OS - be it windows or linux.


Another advantage not mentioned yet is security. If the OS residing in your virtual machine gets infected, the intruder will face an additional hurdle to compromise the host environment. If you notice your virtual OS to be infected, it is much easier to just replace the virtual machine with a clean backup than to do a physical reinstall. I heard of a researcher who had different virtual machines for different activities: One for sensitive data, one for normal browsing and a third one for games. The latter two were replaced with a known clean version every week.