Hardware and Software Support for Virtualization

15 Nov 2024 | virtualization, notes, wip

修订历史

  • 2024.11.15 创建笔记

定义

虚拟化

Virtualization is the application of the layering principle through enforced modularity, whereby the exposed virtual resource is identical to the underlying physical resource being virtualized.

虚拟化增加中间层,通过模块化保证隔离。

以 RAID 为例,RAID 作为中间层,兼容块设备接口。对上层应用(文件系统)无感知。

因此广义的虚拟化并不局限虚拟机。

虚拟化由三种方式实现:

虚拟机

A virtual machine is an abstraction of a complete compute environment through the com bined virtualization of the processor, memory, and I/O components of a computer.

Hypervisor

the hypervisor is a specialized piece of system software that manages and runs virtual machines.

hypervisor 在虚拟机之间对物理资源进行分配和调度,在计算机上应用分层原则,确保:

Type-1 and Type-2 Hypervisors

hypervisors 继续分类:

A SKETCH HYPERVISOR: MULTIPLEXING AND EMULATION

没讲什么重要的

NAMES FOR MEMORY

为避免名词混淆,这里定义

APPROACHES TO VIRTUALIZATION AND PARAVIRTUALIZATION

早期的虚拟化方式:

优势

The Popek/Goldberg Theorem

验证是否可以使用复用 VMM 来虚拟化给定 ISA 的理论。防止体系结构的设计方案不支持虚拟化

模型

参考


Older · View Archive (37)

Optimal Heap Limits for Reducing Browser Memory Use