Virtual machines

From the first chapter, we introduced using VirtualBox as our desktop virtualization system. The reason we chose VirtualBox was because of it being freeware. But besides VirtualBox, choosing the right sandboxing software depends on user preferences and requirements. There are pros and cons for every piece of sandboxing software, so it is worth exploring those on offer to find out which software you prefer. Here's a small list of virtualization software:

  • VMWare Workstation: This is a commercial, and widely popular, piece of virtualization software. VMWare Workstation can be downloaded from https://www.vmware.com.
  • VirtualBox: This is free and open source virtualization software. It can be downloaded from https://www.virtualbox.org.
  • Qemu (Quick Emulator): This is actually not virtualization software, but rather, an emulator. Virtualization software uses virtualization features of the CPU, but uses real CPU resources to do this, while emulators simply imitate a CPU and its resources. That is, running an operating system in a virtualized environment uses the real CPU, while running an operating system in an emulated environment uses an imitated CPU. The Qemu module can be installed from Linux standard repositories. It has ports for both Windows and macOS, and can be downloaded from https://www.qemu.org.
  • Bochs: An emulator that is limited to emulating the x86 CPU architecture. It is released as an open source and usually used for debugging the Master Boot Record (MBR) of small disk images. See http://bochs.sourceforge.net for more details.
  • Microsoft Hyper-V: A virtualization feature of selected Microsoft Windows versions, including Windows 10. Activate it from the following menu like so:
  • Parallels: A commercial virtualization program, primarily designed to run Windows in a macOS host. More information about this piece of software can be found at https://www.parallels.com/.

The advantage of emulators is that other CPU architectures, such as ARM, can be emulated. Unlike virtualization software, emulators depend on the bare-metal machine's hypervisor. The drawback is possible slow performance as every emulated instruction is interpreted.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.189.180.244