Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Device direction connection method applied to virtual machine

A device direct connection and virtual machine technology, applied in the direction of software simulation/interpretation/simulation, program control devices, etc., can solve the problems of virtual machine operating performance limitations, inability to support new technologies in time, and achieve the effect of powerful hardware performance

Inactive Publication Date: 2014-02-12
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the disadvantage of using full virtualization technology is that the operating performance of the virtual machine is limited by the virtual interface, and because of the complete emulation of the device, it cannot support new technologies in time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Device direction connection method applied to virtual machine
  • Device direction connection method applied to virtual machine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0011] combined with figure 2 The technical solution of the present invention is described in detail.

[0012] See attached figure 2 , the device pass-through scheme applied to the virtual machine proposed by the present invention adopts the PCI penetration mechanism to provide the virtual machine with a virtual interface connected to the physical device, and the virtual interface represents a software interface connected to the PCI device, so that the actual physical device can be connected to the virtual machine Machine (guest OS) independent access.

[0013] Under normal circumstances, the PCI device acts as a bus master and handles direct memory access (DMA) transfers. PCI DMA handles physical addresses by default, but the virtual machine does not know the physical address of the PCI device. Therefore, only the PCI penetration mechanism is used. PCI DMA will not work properly. The solution here is to add an address translation mechanism, that is, use the I / O memory ma...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Provided is a device direction connection method applied to a virtual machine. A virtual interface for allowing the virtual machine to be connected with a physical device is provided for the virtual machine through a PCI penetrating mechanism, a physical page of a PCI device is mapped into an IO page corresponding to a memory page in the virtual machine through an IOMMU mechanism, and therefore the physical device can be directly identified by an upper layer virtual machine. By means of the method, the operation performance of the virtual machine can be prevented from being limited by the virtual interface, and stronger hardware performance is provided.

Description

technical field [0001] The invention relates to the technical field of computer virtualization, in particular to a device direct connection method applied to a virtual machine. Background technique [0002] Computer virtualization technology refers to the operation of computer components on a virtual basis rather than a real basis. Computer virtualization technology can expand the capacity of hardware and simplify the process of reconfiguring software. The virtualization technology of the CPU can realize the parallel processing of multiple CPUs simulated by a single CPU, allowing one platform to run multiple operating systems at the same time, and the application programs can run in independent spaces without affecting each other, thereby significantly improving the work efficiency of the computer. [0003] Full virtualization, also known as the original virtualization technology, is a relatively common practice. Such as figure 1 As shown, the virtual layer middleware sof...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455
Inventor 王渭巍
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products