Font Size: a A A

Research And Implementation Of The X86 Architecture Digital Model Based On QEMU

Posted on:2019-07-15Degree:MasterType:Thesis
Country:ChinaCandidate:T Q HeFull Text:PDF
GTID:2348330569995753Subject:Engineering
Abstract/Summary:PDF Full Text Request
Today,virtualization technology has become an important branch of the computer field,and the X86 architecture,as the most widely used architecture,also spawns many virtual machines.But for the chengdu aircraft design institute,the current X86 architecture virtual machine in the compatibility and portability of test platform,and can't meet their requirements,in addition,the existing X86 architecture digital model based on QEMU instruction set and not fully implemented.So,to solve these problems,this paper on the basis of predecessors' research,based on X86 architecture of QEMU virtual platform made many improvements virtual machine and function of the perfect,mainly including the improvement of the X86 instruction set and modeling,and other peripheral equipment.The main research work of the thesis is as follows:First of all,based on X86 CPU integral structure,the research analyzes the advantages and disadvantages of multiple virtual platform,in view of the QEMU source,the development of the instruction level and network CARDS can be virtualized,finally choose the first as a virtual platform,this paper on the basis of predecessors on X86 architecture digital model research,in order to adapt to the need of this topic,to improve and perfect the design,completed the support for the X86 architecture processor.The key techniques used in this paper are summarized accordingly.Secondly,based on X86 architecture the needs of the various modules of digital model,proposes the corresponding design scheme and put forward the design difficulties of this paper,some of the instruction due to the X86 architecture and didn't get the correct and comprehensive implementation,need to use QEMU dynamic binary translation techniques on X86 instruction model.And X86 architecture digital model of memory management module is also a design difficulties of this paper,the function of virtual memory management unit is done between the target and the host address conversion,in order to complete its virtual modeling,must under the X86 architecture research deeply on the relationship between paging and address translation.Then,in view of the various modules of the design requirements,on the basis of the digital model of X86 architecture hardware manual,the instruction set,memory management,network CARDS,clock module and interrupt controller implement virtualization modeling.Finally,according to different modules,the appropriate methods are studied,and each module is tested and verified respectively.Among them,because the X86 architecture instruction set is a noncompact set of instructions,the workload is huge for the test of every instructions.And because the working mechanism of the clock module's zero count channel is to produce an interrupt signal,the test verification of the clock module and the interrupt controller module can be tested in the same way.Upon completion of each module of the test,the results of the corresponding analysis,comparing their requirements,confirm each module in the final design requirements,after will bring QEMU virtual machine instructions of statistics derived using the sharing memory way,and use c + + builder to write small tool reads the numerical,statistical virtual machine instructions run speed,tested the performance of the entire digital model,verify the performance of the whole digital model achieves the real performance of the machine.To sum up,the design and implementation of the X86 architecture digital model meet the design requirements in various aspects such as function and performance.It can be used for porting and applying different test platforms.
Keywords/Search Tags:QEMU, X86, Virtual machine, Memory management unit, Interrupt controlle
PDF Full Text Request
Related items