# 虚拟化介绍

#### 虚拟化

虚拟化是一种资源管理技术，将计算机各个实体资源（CPU、内存、磁盘空间），抽象、转换后呈现出来并可供分割、组合为一个或多个计算机配置环境，以达到最大化合理利用物理资源的目的。

虚拟化可提高IT敏捷性、灵活性、扩展性。

#### 虚拟机

虚拟计算机称为，“虚拟机”，它是一种隔离且内含操作系统和应用的软件容器。可在一台物理机上运行多个操作系统，每个虚拟机都是完全独立的。可将虚拟机的完整状态保存到文件中，移动和复制虚拟机就像移动和复制文件一样简单。

#### 虚拟化类型

* &#x20;服务器虚拟化
  * &#x20;支持将多个操作系统作为高效的虚拟机在单个物理服务器上运行。
* &#x20;网络虚拟化
  * &#x20;通过软件定义网络，不再依赖于物理网卡设备。在K8s、Openstack都会使用到网络虚拟化；
* &#x20;桌面虚拟化
  * &#x20;其将所有桌面PC所需的操作系统软件、应用程序软件、用户数据全部存放到后台服务器中，通过专门的管理系统赋予给特定用户，用户通过专用的网络传输协议连接到后端服务器分配的桌面资源，连接后，用户可在连接本地终端上直接使用后台运行的桌面系统，使用体验基本与物理PC一致。
* &#x20;应用虚拟化
  * &#x20;office 365
* &#x20;存储虚拟化
  * &#x20;NAS
* &#x20;库虚拟化
  * &#x20;在linux上运行Windows程序wine
* &#x20;容器虚拟化
  * &#x20;Docker

&#x20;

#### Hypervisor简介

* &#x20;Hypervisor称为虚拟机监控器VMM（Virtual machin monitor）,用于创建和运行虚拟机的进程，它是一种中间软件层，运行在基础物理服务器和操作系统之间，允许多个操作系统共享低层的内存、CPU等硬件
* &#x20;Hypervisor是所有虚拟化技术的核心，非中断地支持多工作负载迁移的能力是其基本功能，当启动时会给每一台虚拟机分配适量的内存、CPU并加载虚拟机的客户操作系统

#### Hypervisor分类

* &#x20;裸金属型
  * &#x20;直接运行到物理机的Hypervisor上，称为裸机虚拟化环境（Bare-Metal Hardware）
  * &#x20;例如：KVM、XEN、Vmware Esxi、Rhev Hypervisor、Hyper-v Server
  * &#x20;宿主型
  * &#x20;需要运行在具有虚拟化功能的操作系统上的Hypervisor
  * &#x20;Vmware Workstation
  * &#x20;Microsoft Hyper-V
  * &#x20;VirtualBox
  * &#x20;Paralles Desktop #Mac系统最强虚拟机技术


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://lzcloudsecurity.gitbook.io/yun-an-quan-gong-fang-ru-men/di-wu-zhang-si-you-yun-yu-xu-ni-hua-gong-fang/xu-ni-hua-jie-shao.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
