英文:
What is the point of a Type 1 Hypervisor?
问题
我最近一直在尝试学习Linux,在VirtualBox上尝试不同的发行版时,我发现它是一个“类型2”的虚拟化监视程序。现在,经过快速搜索,我明白了什么是类型1和类型2的虚拟化监视程序,但我的问题是,为什么要使用类型2的虚拟化监视程序,而不是直接安装操作系统呢?
我找到的所有信息似乎都集中在比较类型1和类型2虚拟化监视程序,而不是解释为什么要使用类型1而不是直接安装操作系统。
英文:
I've been trying to get into Linux lately, and while experimenting with different distros on VirtualBox, I've come across it being a a 'type 2' hypervisor. Now, after a quick search, it became clear what type 1 and type 2 hypervisors are, but my question is, what is the point of using a type 2 hypervisor instead for directly installing the OS?
Everything I had come across seems to focus on comparisons between Type 1 vs Type 2, rather than telling why use Type 1 instead of a direct OS installations.
答案1
得分: 0
一种类型 1 的虚拟机监控程序直接在计算机上运行,没有运行在其下的“主机”操作系统,比如 Linux。因此,由于没有“主机”操作系统占用计算、内存和 I/O 带宽等资源,虚拟机监控程序可以为虚拟机提供更多资源。
另一方面,一种类型 2 的虚拟机监控程序运行在一个“主机”操作系统之上。这通常使类型 2 的虚拟机监控程序更容易安装和配置,尽管“主机”操作系统会占用资源,这些资源现在不能提供给虚拟机。
英文:
A type 1 hypervisor runs directly on the machine without a "host" operating system, such as Linux, running underneath. Thus, since there is no "host" operating system consuming resources, such as compute, memory, and I/O bandwidth, the hypervisor can provide more resources to the virtual machines.
On the other hand, a type 2 hypervisor runs on top of a "host" operating system. This generally makes the type 2 hypervisor easier to install and configure, though the "host" operating system consumes resources that now cannot be provided to the virtual machines.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论