Skip to content

Virtualization

November 8, 2023
May 10, 2015

Virtualization - Wikiwand

OSBoxes - Virtual Machines for VirtualBox & VMware

Performance Tuning on Virtual Machines | Learning Tree Blog
VirtualBox vs. VMware Player: The Best Virtual Machine for Windows
The Best Virtual Machine for Linux: KVM vs. VirtualBox vs. QEMU vs. Hyper-V

Hypervisor

A Hypervisor is also called as a Virtual Machine Monitor (VMM).

Hypervisor 101: Understanding the Virtualization Market

Type 1 hypervisors is an operating system that run directly on the system hardware ("native" or "bare metal" or "embedded").
Type 2 hypervisors run on a host operating system. Most client side VM software contains this kind of hypervisor.
Intel's VTx technology improved the performance of visualization (rendering binary translation and paravirtualization obsolete) and allowed for KVM to be implemented. More importantly, it negated most of the differences between “type-1” and “type-2” hypervisors.

Ben Armstrong’s Virtualization Blog | Hyper-V Program Manager

Comparison of platform virtualization software - Wikiwand
A Performance Comparison of Hypervisors - VMWare (PDF)
Performance Comparison of KVM, VMware and XenServer using a Large Telecommunication Application (PDF)
Will Containers Replace Hypervisors? Almost Certainly! | Cloudscaling

CPU Modes

Protection ring - Wikiwand
Real mode - Wikiwand
Protected mode - Wikiwand
x86 virtualization - Wikiwand

KVM

Type 2 Hypervisor, Linux Kernel

Documents - KVM
How to Install Kvm on Ubuntu 20.04 | Linuxize

Virtual Machine Manager virt-manager

How to Use Virtualbox VMs on KVM In Linux

Xen

The Xen Project, the powerful open source industry standard for virtualization.
Hypervisor x86 & ARM
Xen & Docker: Made for Each Other! | Xen Project Blog

Xen only check handle three things: memory, CPU and interrupts

VMWare vSphere (ESXi)

Type 1 Hypervisor, not play well with consumer level hardware

Free VMware vSphere Hypervisor, Free Virtualization (ESXi) | United States
Is ESXi Really Free? Let's put it to the Test

VMware on a Raspberry Pi!?!?! (ESXi Install) - YouTube

Proxmox

Type 2 Hypervisor (actually Ubuntu LTS), plays well with consumer level hardware

Proxmox VE - Virtualization Management Platform
Virtual Machines Pt. 2 (Proxmox install w/ Kali Linux) - YouTube

Before I do anything on Proxmox, I do this first... - YouTube
Perfect Proxmox Template with Cloud Image and Cloud Init - YouTube
Perfect Proxmox Template with Cloud Image and Cloud Init | Techno Tim Documentation
Let's Install Proxmox 8.0! - YouTube

My Proxmox Home Server Walk-Through: Part 1 (TrueNAS, Portainer, Wireguard) - YouTube

IMPORT a Virtual Machine Template (OVA, VMDK, RAW, ...) into Proxmox! - YouTube

Hyper-V

Hyper-V - Wikiwand
What Is Hyper-V & How Do You Use It? A Beginner's Guide
Introduction to Hyper-V on Windows 10 | Microsoft Docs
Enable Hyper-V on Windows 10 | Microsoft Docs
Run virtual machines on Windows 8.1 with Client Hyper‑V: A quick how-to | ZDNet

QEMU

QEMU - ArchWiki

QEMU
wimpysworld/quickemu: Quickly create and run optimised Windows, macOS and Linux desktop virtual machines.

在 QEMU 中安装 Windows7 虚拟机

Emulating a Raspberry Pi with QEMU

quickemu-project/quickemu: Quickly create and run optimised Windows, macOS and Linux desktop virtual machines.

yay -S qemu-base qemu-tools qemu-system-aarch64 qemu-system-arm qemu-system-riscv qemu-user-static

VirtualBox

VirtualBox - ArchWiki

Downloads – Oracle VM VirtualBox
Oracle® VM VirtualBox®

Chapter 8. VBoxManage
Use VBoxManage to Pass Through USB device to VirtualBox VM – FlamingKeys – Active Directory, Office 365, PowerShell

Also download the extension packs (PUEL, non-commercial only).

you need to learn Virtual Machines RIGHT NOW!! (Kali Linux VM, Ubuntu, Windows) - YouTube

Shared Folder

Requires Guest Additions

Chapter 4. Guest Additions
Mounting VirtualBox shared folders on Ubuntu Server 16.04 LTS
What does "auto-mount" do in VirtualBox shared folder setup? - Super User

sudo usermod -aG vboxsf

Enable 64-bit support

virtualbox.org • View topic - I have a 64bit host, but can't install 64bit guests

To enable 64bit guests, run through the following checklist:

  1. Note your exact CPU model or part number, then go online and check its capabilities. The CPU must have 64bit capability and support either Intel or AMD virtualization technologies: VT-x or AMD-v.

  2. You usually need to enable VT-x/AMD-v in the host PC BIOS. You need to check with your PC manual or support forum to find out how to boot into the BIOS screen. This is not something we here at the forums can help you with. Once you get there you need to look for something buried in a menu, perhaps in the security category. The option may be called something like "Enable Virtualization Technology". If you see "Virtual Directed I/O" then that is a different thing. Remember to reboot your host OS after making BIOS changes - in this case a full restart from power off is required, just resuming from a hibernated state may not do the job.

  3. If (1) and (2) are already taken care of, then make sure that no other host apps are already using VT-x/AMD-v. The usual culprits are system level debuggers, other VM platforms, and some resident anti-virus applications. This has become a particular issue with 64bit Windows desktop and server hosts - especially Win8/Win2k12/Win10, since these may enable Microsoft's Hyper-v VM platform by default: this grabs ownership of VT-x and won't play nice with VirtualBox.

  4. When creating a VM, make sure you choose the 64-bit version of the guest OS template in | General | Basic | Version, e.g. choose "Ubuntu (64 bit)" and not "Ubuntu" or "Ubuntu (32bit)". This has become more important since VirtualBox 4.3.x, because choosing the correct template also allows other modern processor features to be visible to the guest - it's not just about 64bit capability any more.

Gaming

{% asset_img virtualbox-win7.png %}

Tips for the Guest Windows 7:

Using ESXI for Virtualized Gaming - Justin-Tech Blog

Fixing Audio in Linux Guests | VirtualBox - Without The Sarcasm

GPU sharing

see computer-hardware#interfaces

TWO Graphics Cards in ONE Slot?! - YouTube PCIe Bifurcation

IOMMU: passthrough PCIe devices to VM (under AMI-Vi/VT-d branding)
Paravirtualization: small overhead sharing of hardware devices to VM via driver
GPU Paravirtualization in Windows 11 Hyper V make it easier than PCIe bifurcation

Understanding the iommu Linux grub File Configuration
7 Years Late is Better than Never. - YouTube
linux - What are the implication of using iommu=force in the boot kernel options? - Unix & Linux Stack Exchange

GPU Passthrough with QEMU on Arch Linux | DominicM

Proxmox vGPU Gaming Tutorial - Share Your GPU With Multiple VMs! - YouTube
Proxmox 8.0 - PCIe Passthrough Tutorial - YouTube

Hyper V

How to Create and Run Virtual Machines With Hyper-V

Nvidia tried so hard to stop this - GPU Sharing with Virtual Machines - YouTube
jamesstringerparsec/Easy-GPU-PV: A Project dedicated to making GPU Partitioning on Windows easier!
Two Gamers, One GPU from your Windows PC! Hyper-V Paravirtualization Build and Tutorial - YouTube
【全网首发】家用显卡虚拟化 vGPU,微软 Hyper-V 独有免费功能 - YouTube
四等分的显卡!用一张显卡开网吧是什么体验? - YouTube


The Battle

Hypervisor "versus" Linux Containers with Docker !
Linux containers vs. VMs: A security comparison | InfoWorld
Why Containers Instead of Hypervisors?
Containers vs. virtual machines: How to tell which is the right choice for your enterprise | InfoWorld
Difference between Hypervisor Virtualization and Container Virtualization
What is Docker and why is it so darn popular? | ZDNet
Will Containers Replace Hypervisors? Almost Certainly! | Cloudscaling

Docker vs. VMWare: How Do They Stack Up?
[Infographic] Docker vs. Vagrant
The Difference: Docker vs. Virtualization — munz & more

Containers are not VMs | Docker Blog
There’s Application Virtualization and There’s Docker | Docker Blog
So, when do you use a Container or VM? | Docker Blog

Containers vs Hypervisors: The Battle Has Just Begun | Linux.com
It's too early so say Containers have won and Hypervisors are obsolete.


Infrastructure

OpenStack Open Source Cloud Computing Software
OpenStack Wiki


Container

Docker features and tools by Tom Verelst - YouTube

http://blog.docker.com/2016/02/containers-as-a-service-caas/
https://blog.docker.com/2016/01/webinar-qa-docker-networking/
http://blog.docker.com/2015/12/containerd-daemon-to-control-runc/

Microcontainers: Iron.io's New Hack to Shrink Docker Containers - The New Stack

DockerCon EU 2015 - YouTube

Docker: Sorry, you're just going to have to learn about it. Today we begin • The Register
Docker, Part 2: Whoa! Spontaneous industry standard! How did they do THAT? • The Register
Part 3: Docker vs hypervisor in tech tussle SMACKDOWN • The Register
Docker part 4: Microsoft CAN'T ignore it. Aux armes, citoyens! • The Register