首页 | 本学科首页   官方微博 | 高级检索  
     

实现多个KVM虚拟机通信的串口转发器方法
引用本文:林龙增,罗省贤.实现多个KVM虚拟机通信的串口转发器方法[J].微机发展,2012(2):241-244.
作者姓名:林龙增  罗省贤
作者单位:成都理工大学信息科学与技术学院,四川成都610059
基金项目:成都理工大学与诺基亚西门子网络通信公司合作支持项目(HD0090)
摘    要:在一个平台上利用KVM虚拟机可以运行多个操作系统,有效地利用硬件资源。串口是一个独享设备,如何让多个虚拟机都能够使用串口设备,文中提出了一种串口转发器的设计和实现方法。该方法实现了通过一个串口设备连接、调试多个虚拟机的功能。该方法利用管道通信和输入/输出重定向机制使得多个KVM虚拟机可通过一个物理串口进行通信,每个KVM虚拟机通信时都能独享这个串口设备,实际应用表明这种方法使用方便、通信性能可靠。未来在高性能服务器上将更多地使用KVM虚拟机运行多个操作系统,使用该串口转发器可方便地解决调试多个虚拟机系统的问题。

关 键 词:KVM  虚拟机  串口转发

A Serial Forwarder Method for Communication of Multiple KVM Virtual Machines
LIN Long-zeng,LUO Sheng-xian.A Serial Forwarder Method for Communication of Multiple KVM Virtual Machines[J].Microcomputer Development,2012(2):241-244.
Authors:LIN Long-zeng  LUO Sheng-xian
Affiliation:(School of Information Science and Technology, Chengdu University of Technology, Chengdu 610059, China )
Abstract:In order to effectively use hardware resources,it can run multiple operating system on one platform. A serial port is a exclusive equipment, how to make multiple virtual machine use one serial device, a design and implementation method of the serial forwarder is proposed in this paper. The method uses pipe communication and input/output redirection mechanism to make multiple KVM virtual ma- chines communicate via a physical serial port,and each KVM virtual machine can use the serial devices exclusively in the communica- tion. Practical application shows that this method is easy to use,and reliable in the communication. In the future,there are more operating system in the high-performance server via KVM. This method easily solves the problem of debugging multiple virtual machine.
Keywords:KVM  virtual machine  serial forwarder
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号