Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

Hardware Virtualization Types & Hypervisors

Lesson 30 of 30 in the free Cloud Computing notes on Siksha Sarovar, written by Rohit Jangra.

Hardware Virtualization Types & Hypervisors

Three Virtualization Approaches

Full Virtualization

The guest OS runs completely unmodified. The hypervisor intercepts all privileged instructions via hardware traps (Intel VT-x / AMD-V) and emulates them. The guest OS has no awareness that it is virtualized.

  • Pros: Any OS can be a guest; no guest modification required.
  • Cons: Higher overhead from trapping every privileged instruction (mitigated by hardware assist).
  • Examples: VMware ESXi with unmodified Windows/Linux guests, KVM.

Para-Virtualization

The guest OS is modified to cooperate with the hypervisor. Instead of issuing privileged hardware instructions (which would trap), the guest calls hypercalls — explicit API calls to the hypervisor. This avoids trap overhead.

  • Pros: Better performance (less trapping), lower latency.
  • Cons: Requires OS source code modification; cannot run proprietary closed-source OSes unmodified.
  • Examples: Xen with PV (paravirtual) guests; early Hyper-V with Linux Integration Services.

Partial Virtualization

Only some hardware resources are virtualized. Not all privileged instructions are handled; the guest may need modification for certain operations. This was common in research and early experimental systems but is rare in production today.

  • Examples: IBM CP-40 (historical), some embedded virtualization contexts.

---

Hypervisor Types

Type-1: Bare-Metal Hypervisor

Runs directly on hardware — no host OS beneath it. The hypervisor itself is the OS kernel for the server.

  • Maximum performance and security (smaller attack surface).
  • Used in production data centers and cloud providers.
  • Examples: VMware ESXi, Microsoft Hyper-V (runs on Windows Server but the hypervisor loads before the OS), Xen, KVM (Linux kernel module — effectively bare-metal as the kernel IS the hypervisor layer).

Type-2: Hosted Hypervisor

Runs on top of a conventional host OS (Windows, macOS, Linux). The host OS manages hardware; the hypervisor runs as an application.

  • Easier to install and use; ideal for development, testing, and desktop use.
  • Lower performance due to extra OS layer.
  • Examples: Oracle VirtualBox, VMware Workstation, VMware Fusion (macOS), QEMU (user-mode).

---

Comparison Tables

Full vs Para vs Partial Virtualization

FeatureFull VirtualizationPara-VirtualizationPartial Virtualization
Guest OS changesNoneRequired (hypercalls)Partial
Hardware assist neededYes (VT-x/AMD-V)No (but helps)No
PerformanceGoodBestVariable
Guest OS supportAny OSModified OSes onlyLimited
ComplexityModerateHigh (OS patching)Low
ExamplesVMware ESXi, KVMXen PV, early Hyper-VIBM CP-40, research VMs

Type-1 vs Type-2 Hypervisor

FeatureType-1 (Bare-Metal)Type-2 (Hosted)
Runs onHardware directlyHost OS
PerformanceHighLower (host OS overhead)
SecuritySmaller attack surfaceLarger (host OS vulnerabilities)
Use caseProduction, cloud, enterpriseDevelopment, testing, desktop
Boot timeFast (no host OS)Slower
ExamplesESXi, Hyper-V, Xen, KVMVirtualBox, VMware Workstation, Fusion

---

Classification Diagram

CPU Virtualization Feature Check

Before deploying a hypervisor, verify that the CPU supports hardware-assisted virtualization.