Type 1 bare metal vs Type 2 hosted hypervisors, and the VT-x extension: Basics of virtualization

Subscribers:
39,200
Published on ● Video Link: https://www.youtube.com/watch?v=yPGCg8YBJgw



Duration: 22:33
17,722 views
435


In this video series I present a simple and straighforward explanation on different core topics of virtualization. In this video we compare the Type 2 so called "hosted" hypervisors with Type 1 so called "bare metal" hypervisors. Furthermore, the importance of the ®Intel VT-x virtualization extension technology is explained. Through VT-x the hypervisor can expose the CPU and the memory controller to virtual machines installed on top of the hypervisor. In the meantime, even further hardware extensions have been introduced by CPU manufacturers like the VMD-q, VT-d (IOMMU) and SR-IOV, which will be discussed in upcoming videos.

Although mainframes have used native virtualization since the early 60s, on the more common x86 platform virtualization was first introduced in form of Type 2 hypervisors. In the case of Type 2, the hypervisor (for example VirtualBox or VMware Workstation Player) is running as an application on top of a host operating system. Due to the complex software layers involved, and especially because of the lack of advanced hardware-assisted paravirtualization features, such Type 2 hypervisors are mainly used for small scale virtualization project for home use.
To expose more hardware to the virtual machines, to improve performance and reliability, and to have more tight control over the hardware, so called "bare metal" Type 1 hypervisors have been introduced. Type 1 hypervisors like VMware ESXi or Hyper-V from Microsoft® take advantage of the VT-x hardware extension, which implements hardware features in the CPU such, that the hypervisor can perform advanced function on the memory controller unit, and access resources (hardware protection rings) which were not available before the introduction of VT-x. This makes it possible to do so called hardware-assisted virtualization instead of the full-software virtualization. The equivalent technology from AMD is the AMD-v extension. In industrial applications and in companies Type 1 hypervisors are now a de-facto standard, and they are a staple in every computer room or data center.

As a simple definition, one can look at a hypervisor as a software, which allows multiple independent instances of different operating systems to be installed and to run simultaneously by sharing resources on the same physical hardware. Due to the separation facilitated by the hypervisor between different OS running as virtual machines on the same hardware, one can achieve improved security and better control over the virtualized applications.
Due to their different nature, Type 1 hypervisors are using a microkernel, wheres Type 2 hypervisors are installed on top of a thick layer of a full OS.




Other Videos By Donkey Learning IT


2018-01-16Switch mode power supply repair #7: Basics of Pulse Width Modulation (PWM)
2017-07-24Howto repair switch mode power supplies #6: Basics of Linear Regulators and voltage references
2017-06-25Howto repair switch mode power supplies #5: Magnetic core materials, ferrite vs steel
2017-06-11Howto repair switch mode power supplies #4: Inductor in electronic circuits P2
2017-06-04Howto repair switch mode power supplies #3: Inductor in electronic circuits P1
2017-05-30Repair Cisco ASA5505 firewall not powering on: video reply to subscriber question
2017-05-04Howto repair switch mode power supplies #2: Stand-by circuit and its functionality
2017-04-02Howto repair switch mode power supplies #1: basics, and block diagram of a PSU
2017-02-25RAID arrays: RAID0 striping, mean time between failure, tracks, sectors, onsite and offsite backup
2017-02-05KVM hypervisor install on virtualization server: BIOS, VT-x, VT-d, Debian bootable USB
2017-02-02Type 1 bare metal vs Type 2 hosted hypervisors, and the VT-x extension: Basics of virtualization
2017-01-21Setting up APC7920 PDU power distribution unit: IP address, web management HTTP, HTTPS, SSL, SSH
2017-01-07Building an IKEA table-rack mounted lab for virtualization, CCNA-CCNP studies, and ZFS
2017-01-06Cheap home lab build: virtualization server, GNS3 for CCNA-CCNP rack, and ZFS
2016-12-25Building an IKEA Lack Rack on wheels for Cisco CCNA and virtualization home lab
2016-09-24Introduction to RAID arrays, basic concepts, sequential vs. random I/O, mechanical vs. SSD drives
2016-09-10Repair of a Cisco 2960G switch with amber LED via RAM chip replacement (FAIL/defect)
2016-09-03How to reflow a GPU from start to finish #2 reflow process and testing the repaired card
2016-09-02How to reflow a GPU from start to finish #1 preparing the card for BGA reflow
2016-08-30Tools for BGA and SMD rework #2 reballing, IR rework station, flux and profile development
2016-08-24Tools for BGA and SMD rework #1 soldering station, multimeter, screw drivers, microscope



Tags:
virtualization
Type 1
Type 2
type 1 vs type 2
hypervisor
bare metal
hosted
VT-x
Intel VT-x
AMD-v
security
microkernel