首页> 外文会议>USENIX Annual Technical Conference >Protection Strategies for Direct Access to Virtualized I/O Devices
【24h】

Protection Strategies for Direct Access to Virtualized I/O Devices

机译:直接访问虚拟化I / O设备的保护策略

获取原文

摘要

Commodity virtual machine monitors forbid direct access to I/O devices by untrusted guest operating systems in order to provide protection and sharing. However, both I/O memory management units (IOMMUs) and recently proposed software-based methods can be used to reduce the overhead of I/O virtualization by providing untrusted guest operating systems with safe, direct access to I/O devices. This paper explores the performance and safety tradeoffs of strategies for using these mechanisms. The protection strategies presented in this paper provide equivalent inter-guest protection among operating system instances. However, they provide varying levels of intra-guest protection from driver software and incur varying levels of overhead. A simple direct-map strategy incurs the least overhead, providing native-level performance but offering no enhanced protection from misbehaving device drivers within the guest operating system. Additional protection against guest drivers can be achieved by limiting IOMMU page-table mappings to memory buffers that are actually used in I/O transfers. Furthermore, the cost incurred by this limitation can be minimized by aggressively reusing these mappings. Surprisingly, a software-only strategy that does not use an IOMMU at all performs competitively, and sometimes better than, hardware-based strategies while maintaining strict inter-guest isolation.
机译:商品虚拟机监控不受信任的客户机操作系统禁止直接访问I / O设备,以便提供保护和共享。但是,I / O内存管理单元(IMMU)和最近提出的基于软件的方法都可用于通过提供安全,直接访问I / O设备的不可信的客户操作系统来减少I / O虚拟化的开销。本文探讨了使用这些机制的策略的性能和安全权衡。本文提出的保护策略为操作系统实例提供了等效的访客互护。但是,它们提供不同级别的访客软件,并产生不同程度的开销。一个简单的直接地图策略会引发最少的开销,提供本机级性能,但没有从客户机操作系统内的行为不端的设备驱动程序提供增强的保护。通过将Iommu Page-Table映射限制为实际在I / O转移中使用的内存缓冲区,可以实现对客观驱动程序的额外保护。此外,通过积极重复使用这些映射,可以最小化通过这种限制所产生的成本。令人惊讶的是,唯一的软件策略,这些策略不会竞争地区的IOMMU执行,有时优于基于硬件的策略,同时保持严格的访客互动。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号