CC Chapt 2
CC Chapt 2
Para Virtualization:-
1. The interaction of the guest operating system with the hypervisor to improve
performance and productivity is known as Para virtualization.
2. Unlike full virtualization, Para virtualization does not achieve full isolation; instead,
the approach implements partial isolation.
3. It also alters the operating system kernel to use hypercalls rather than non-
virtualizable instructions.
4. The goal of hypercalls is to communicate with the virtualization layer hypervisor
directly.
5. In Para virtualization, the hypervisor is installed on the device. Then, the guest
operating systems are installed into the environment.
6. Here, the virtualization method modifies the guest operating system to communicate
with the hypervisor.
7. Thus, it reduces the time taken by the operating system to perform operations that
are difficult and take a longer time in a virtual environment.
8. Also, it helps to increase the performance of the system. Moreover, the guest
operating systems communicate with the hypervisor using API calls.
9. An advantage of this approach is that it improves the overall system performance by
eliminating the overhead of binary translation.
10. A disadvantages is the modification of Guest OS required.
Que 3) Explain hosted virtualization structure with necessary diagram and list its benefits
and drawbacks
The hosted virtualization structure enables you to run various guest application windows of
your own on top of a base OS with the help of the VMM, which is also called the Hypervisor.
One of the most popular base OSs is the x86 OS of Windows.
Key Features:
1. Base OS: The main operating system (like Windows) that runs directly on the
computer's hardware.
2. VMM (Hypervisor): A software layer that runs on the base OS and creates and
manages the virtual machines.
3. Guest OS: The operating systems that run inside the virtual machines.
4. I/O Device Access: Guest OSs can only use a limited set of hardware devices, which
are emulated by the VMM.
5. Device Emulation: The VMM can simulate generic devices like network cards (NICs)
and CD-ROM drives for the guest OSs. Other, non-standard devices might not be
accessible.
6. Pass-Through Capability: Allows some devices, like USB ports, to be directly accessed
by the guest OSs through the VMM.
Benefits of Hosted Virtualization:
1. Easy to Install and Set Up: Virtual machines can be quickly installed and configured
using standard software like VMware Workstation.
2. Efficient Use of Hardware: You can run multiple operating systems on the same
physical machine without needing extra hardware.
3. Compatibility: The VMM works on many different computers without needing special
configurations, as it uses the base OS's drivers.
4. Direct USB Access: Some VMMs allow guest OSs to directly use USB devices.
Drawbacks of Hosted Virtualization:
1. Limited Device Access: Guest OSs can only use a few emulated devices, not all the
physical devices on the computer.
2. Performance Slowdown: Performance might be slower because guest OSs have to
send their requests through the base OS, which can create delays.
3. No Support for Real-Time OS: Real-time operating systems are not supported
because the base OS controls when tasks are done, which can cause delays.
4. Limited Pass-Through Options: Not all devices can be accessed directly by the guest
OSs, which can limit what they can do.
Que 4) Explain Bare metal virtualization structure with necessary diagram and list its
benefits and drawbacks
Bare-metal virtualization is a type of virtualization where the Virtual Machine Monitor
(VMM), or hypervisor, is installed directly on the physical hardware of a system.
Unlike hosted virtualization, the VMM does not rely on a base operating system (OS) to
manage hardware resources, allowing for more direct and efficient communication with the
hardware.
Key Features:
1. Direct Hardware Communication: The VMM communicates directly with the physical
hardware, without needing a host OS.
2. I/O Access:
I. Direct Access: The VMM can directly access I/O devices, which improves
performance.
II. Device Partitioning: I/O devices can be assigned to specific virtual machines
(VMs), allowing each VM to use the device as if it were the only one using it.
This reduces the need for the VMM to intervene.
III. Driver Requirements: The hypervisor must include low-level drivers to
manage hardware devices and share them among the guest VMs.