Type 2虚拟主机是否遭受与主机OS相同的限制? [英] Does a Type 2 virtual host suffer the same limitations as the host OS?

查看:58
本文介绍了Type 2虚拟主机是否遭受与主机OS相同的限制?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

主机OS是否对类型2虚拟主机(即VirtualBox)的来宾OS施加限制?

Does the host OS impose limitations on the guest OS for a Type 2 virtual host (i.e. VirtualBox)?

例如: 在Ruby中,创建子进程就像调用fork一样容易.但是,不支持在Windows上进行分叉,而是必须生成多线程的整个过程.

For example: In Ruby, creating a child process is as easy as making a call to fork. However, forking on windows is not supported and instead an entire process must be spawned for multithreaded.

据我了解,这是操作系统的限制,而不是编程语言.将Windows作为主机操作系统是否会在Linux来宾操作系统上强加这些限制?

As I understand, this is a limitation of the operating system and not the programming language. Will having Windows as the host OS force these restrictions on a linux guest OS?

如何将传递给来宾操作系统的命令传递给主机OS?

How are commands given to the guest OS passed to the host OS?

推荐答案

简短答案:否

更长的答案:

类型2的虚拟机管理程序(例如VirtualBox)模拟来宾(例如Linux)在其上运行的整个硬件平台.这样,来宾操作系统实际上不会调用任何主机操作系统系统调用,这使来宾操作系统可以绕过主机操作系统的任何限制(例如Windows上的fork ing限制).

A type-2 hypervisor such as VirtualBox emulates the entire hardware platform that the guest (such as Linux) runs on. As such, the guest OS does not actually call any host OS system calls, which allows the guest to bypass any limitations of the host OS (such as the forking limitation on Windows).

这篇关于Type 2虚拟主机是否遭受与主机OS相同的限制?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆