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

基于开源虚拟机的模拟设备的设计与实现
引用本文:周平,马捷中.基于开源虚拟机的模拟设备的设计与实现[J].电子设计工程,2011,19(18):43-45,56.
作者姓名:周平  马捷中
作者单位:西北工业大学计算机学院,陕西西安,710072
摘    要:为了进行软硬件的并行开发,同时也提高内核态驱动的开发与测试效率,借助于开源虚拟机,实现了模拟的电子模块系统并行总线(QBUS)仿真接口。出于开源与效率考虑决定采用虚拟机QEMU。基于QEMU的模拟设备的实现有两个方面的难点:1)QEMU虚拟机的工作原理及其I/O框架,2)模拟设备的之间的通信方式。在研究了QEMU虚拟机的工作原理及其I/O框架基础上,设计并实现了模拟QBUS设备之间,基于socket设备组通信模型,模拟QBUS设备与物理设备之间,基于虚拟设备转发的通信模型。有效地解决了模拟设备之间,模拟设备与物理设备之间数据传输对应用程序不透明的问题。

关 键 词:QEMU  QBUS  I/O框架  模拟设备

Design and implementation of emulation device based on open source virtual machine
ZHOU Ping,MA Jie-zhong.Design and implementation of emulation device based on open source virtual machine[J].Electronic Design Engineering,2011,19(18):43-45,56.
Authors:ZHOU Ping  MA Jie-zhong
Affiliation:(School of Computer Science,Northwestern Polytechnical University,Xi’an 710072,China)
Abstract:Implemented the emulation of QBUS equipment based on open source virtual machine QEMU, considering of improving the development and testing efficiency in kernel ring , and performing parallel development of software and hardware .This paper focused on two part: the understanding of QEMU's I/O framework and the communication between two emulated device. Based on the research of the QEMU virtual machine and its I/O framework , this paper designed and implemented a device group communication model through socket between two simulated QBUS device and a model of forwarding packet through virtual device between simulated device and physical device.
Keywords:QEMU  QBUS  I/O framework  device emulation
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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