Module-2-ppt
Module-2-ppt
Linux-Based Virtualization:
• Most OS-level virtualization tools are
designed for Linux.
• The Linux kernel provides an abstraction
layer for software to interact with hardware.
Windows-Based Virtualization:
• Still in research and development
compared to Linux-based solutions.
• Windows NT-based FVM is an early attempt
at OS-level virtualization.
3.1.4 Middleware Support for Virtualization
• Full virtualization in
VMware places the VMM
at Ring 0 and the guest
OS at Ring 1.
• VMM
emulates(Achievement or
Surpass) the behavior of
the instructions. The
method used in this
emulation is called
binary translation.
• Full virtualization
combines binary
3.2.2.3 Host-Based Virtualization
A virtualization layer runs on top of the host OS, which
manages hardware and provides device drivers.
Guest OSes run on this layer, allowing easy installation
without modifying the host OS.
Advantages
Ease of Deployment – No need to modify the host OS.
Simplified VM Design – Uses host OS drivers and system
services.
Broad Compatibility – Works with various host machine
configurations.
Disadvantages
• Lower Performance – Requests pass through four layers (App
→ Guest OS → Virtualization Layer → Host OS → Hardware),
causing delays.
• Binary Translation Overhead – Required when the guest OS
and host hardware have different ISAs, further reducing
performance.
3.2.3 Para-Virtualization with Compiler Support
Para-virtualization improves VM performance by modifying the
guest OS kernel to replace non-virtualizable instructions with
hypercalls
Which directly communicate with the hypervisor. This reduces
virtualization
Key Features overhead and enhances efficiency.
• Requires guest OS modifications but not application
changes.
• Uses hypercalls instead of privileged instructions.
• Reduces binary translation overhead, improving speed
3.2.3.2 KVM (Kernel-Based VM)
KVM (Kernel-based Virtual Machine) is a hardware-
assisted para-virtualization solution integrated into the
Linux 2.6.20 kernel.
Can run unmodified guest OSes (Windows, Linux, Solaris,
etc.), unlike traditional para-virtualization.
3.2.3.3 Para-Virtualization with Compiler
Support