计算机应用 ›› 2011, Vol. 31 ›› Issue (05): 1439-1442.DOI: 10.3724/SP.J.1087.2011.01439

• 典型应用 • 上一篇    下一篇

虚拟化环境下的USB设备访问方法

王继刚1,2,郑纬民1,滕志猛2,钟卫东2   

  • 收稿日期:2010-10-15 修回日期:2010-12-09 发布日期:2011-05-01 出版日期:2011-05-01
  • 通讯作者: 王继刚
  • 作者简介:王继刚(1978-),男,安徽马鞍山人,高级工程师,博士,CCF会员,主要研究方向:虚拟化技术、嵌入式系统;郑纬民(1946-),男,浙江宁波人,教授,博士,主要研究方向:云计算;滕志猛(1964-),男,江苏南京人,教授级高级工程师,博士,主要研究方向:计算机通讯网络;钟卫东(1972-),男,四川成都人,高级工程师,硕士,主要研究方向:操作系统。

Method of direct USB device access in virtual environment

WANG Ji-gang1,2, ZHENG Wei-min1, TENG Zhi-meng2, ZHONG Wei-dong2   

  1. 1.Department of Computer Science and Technology, Tsinghua University, Beijing 100084,China
    2.Department of Product R&D, ZTE Corporation, Nanjing Jiangsu 210012, China
  • Received:2010-10-15 Revised:2010-12-09 Online:2011-05-01 Published:2011-05-01
  • Contact: WANG JiGang
  • Supported by:

    Research on Parametric Design Mining and Optimization Technique

摘要: 虚拟机对设备的直接访问可以减小系统开销,并充分利用现有的驱动程序。提出一种在虚拟化环境下直接访问USB设备的方法,并基于QEMU设计实现了虚拟机直接访问真实设备的系统模型及相关流程。实验结果表明,该方法能够帮助虚拟机对各类USB设备进行直接访问,数据传输效率在可接受的范围内。

关键词: 虚拟机, 设备访问, 操作系统, USB接口

Abstract: Through direct device access, the influence of Virtual Machine (VM) on system performance could be decreased. Meanwhile, current device drivers could be used by guest operating systems. A method of direct Universal Serial Bus (USB) device access in virtual environment was proposed, and a model of direct device access and work flow based on QEMU were designed. The experimental results show the VM can directly access varied USB devices with the help of this method, and attain data transmission of acceptable rate.