摘要
为了在嵌入式产品开发中提高整体开发测试效率,节约硬件投入成本,减少测试过程中硬件故障引发的故障定位维护工作,设计了一种基于嵌入式系统的虚拟化设备,通过QEMU虚拟化平台,利用KVM加速技术,使模拟处理器的CPU和内存直接使用宿主机的硬件资源进行加速,利用重定位共享库技术模拟设备仿真平台外围硬件,屏蔽一些具体的硬件访问操作,以使上层软件不感知硬件的缺失,解决硬件功能逻辑模拟的问题,从软件层面实行上层软件所预期的硬件数据结果,该虚拟设备的设计与实现使研发和测试人员可以在一些受限的条件下正常调试以及测试产品的业务功能。
In order to improve the overall development and testing efficiency in the development of embedded products,save the cost of hardware investment,and reduce the fault location and maintenance work caused by hardware faults in the testing process,a virtualization device based on embedded system is designed.The KVM acceleration technology is used to accelerate the CPU and memory of the analog processor directly using the hardware resources of the host computer by QEMU virtualization platform and the relocation shared library technology is also used to simulate the peripheral hardware of the single disk simulation platform to shield some specific hardware access operations,so that the upper software does not perceive the lack of hardware and solve the problem of hardware function logic simulation.The design and implementation of the virtual device enables developers and testers to debug and test the business functions of products under some limited conditions.
作者
陈宇
曾颜
张先勇
CHEN Yu;ZENG Yan;ZHANG Xianyong(Wuhan Research Institute of Posts and Telecommunications,Wuhan 430000,China;Fiberhome Communication Technology Co.,Ltd.,Wuhan 430000,China)
出处
《电子设计工程》
2022年第24期125-129,共5页
Electronic Design Engineering