顾名思义,这种设备模拟是在用户空间中实现的,而不嵌入到管理程序中。
As the name implies, rather than the device emulation being embedded within the hypervisor, it is instead implemented in user space.
因此,新的处理器提供DMA地址转换和权限检查以实现有效的设备透传,而不是捕获并模拟对管理程序下的物理设备的访问。
So, instead of catching and emulating access to physical devices below the hypervisor, new processors provide DMA address translation and permissions checking for efficient device passthrough.
无论设备模拟发生在管理程序内还是在一个客户虚拟机(VM)之上,模拟方法都是相似的。
Regardless of whether the device emulation occurs in the hypervisor or on top in a guest virtual machine (VM), the emulation methods are similar.
设备模拟是管理程序的重要部分,填补了VM中的虚拟设备和管理程序中的物理设备之间的缺口。
Device emulation is an important part of the hypervisor, bridging the gap between virtual devices in the VM to physical devices below the hypervisor.
VMI依赖一个兼容的管理程序,而且可能需要对该管理程序的设备模拟进行一些配置,但其关注点还是在应用程序上。
The VMI relies on a compatible hypervisor and potentially some configuration of the hypervisor's device emulation, but the focus remains on the application.
第一个架构将设备模拟整合到管理程序中,而第二个架构将设备模拟推到管理程序之外的一个应用程序中。
The first architecture incorporates device emulation within the hypervisor, while the second pushes device emulation to a hypervisor-external application.
在探索透传技术之前,让我们先讨论一下如今设备模拟在两个管理程序架构中是如何工作的。
Before we jump into passthrough, let's explore how device emulation works today in two hypervisor architectures.
将设备模拟从管理程序推向用户空间有一些明显的优势,最大的优势涉及所谓的可信计算基础(trusted computing base,TCB)。
Pushing the device emulation from the hypervisor to user space has some distinct advantages. The most important advantage relates to what's called the trusted computing base (TCB).
Libvirt是能够使用Xen管理程序、qemu模拟器、kvmis甚至是轻量级容器创建虚拟机的大型项目。
Libvirt is a large project that can create virtual machines using the Xen hypervisor, qemu emulator, and KVM, and also using lightweight containers.
管理程序中的设备模拟是在VMware工作站产品(一个基于操作系统的管理程序)中实现的一个公共方法。
Device emulation within the hypervisor is a common method implemented within the VMware workstation product (an operating system-based hypervisor).
管理程序中的设备模拟是在VMware工作站产品(一个基于操作系统的管理程序)中实现的一个公共方法。
Device emulation within the hypervisor is a common method implemented within the VMware workstation product (an operating system-based hypervisor).
应用推荐