A KVM virtual machine network card pass-through method and device for a host

A virtual machine network card and virtual machine technology, applied in the field of virtualization, can solve the problems of slow signal transmission speed and poor performance of the network card of the virtual machine, and achieve the effect of simple process, fast signal transmission rate and improved network card performance

Active Publication Date: 2020-02-07
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the network card used by the virtual machine is a virtual network card, which is obtained by virtualizing the physical network card on the host. The virtual machine cannot directly use the physical network card on the host, which makes the performance of the network card of the virtual machine poor and the speed of signal transmission slower

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
  • A KVM virtual machine network card pass-through method and device for a host
  • A KVM virtual machine network card pass-through method and device for a host
  • A KVM virtual machine network card pass-through method and device for a host

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] The core of the present invention is to provide a kvm virtual machine network card pass-through method and device for the host, so that the virtual machine can directly use the physical network card of the host, simplify the signal transmission process, and optimize the performance of the virtual machine.

[0031] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0032] The present invention...

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

The invention discloses a kvm virtual machine network card pass-through method and a device thereof for a host, including receiving a network card pass-through request sent by a virtual machine, determining the number of network cards required by the virtual machine, and controlling the hardware virtualization function of the host and the opening state of Intel_iommu ;According to the number of network cards required by the virtual machine, select the corresponding number of physical network cards from the PCI address list of the physical network cards in the host, and obtain the PCI addresses of the selected physical network cards; The xml configuration file of the physical network card; call the connection interface between the host and the virtual machine, and send the xml configuration file to the virtual machine according to the identifier of the virtual machine carried in the NIC pass-through request, for the virtual machine to use the selected physical network card. The invention enables the virtual machine to directly use the physical network card of the host, simplifies the signal transmission process, and optimizes the performance of the virtual machine.

Description

technical field [0001] The invention relates to the technical field of virtualization, in particular to a KVM virtual machine network card pass-through method and device for a host. Background technique [0002] Virtualization refers to virtualizing a computer into multiple logical computers (virtual machines) through virtualization technology. Run multiple logical computers on one computer at the same time, each logical computer can run a different operating system, and the application programs can run in independent spaces without affecting each other, thereby significantly improving the work efficiency of the computer. Among them, a physical computer is called a host, and multiple logical computers are called clients. [0003] At present, the network card used by the virtual machine is a virtual network card, which is obtained by virtualizing the physical network card on the host. The virtual machine cannot directly use the physical network card on the host, which makes ...

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 Patents(China)
IPC IPC(8): H04L12/24H04L29/08H04L29/12G06F9/455
CPCH04L41/0803H04L67/06H04L67/146H04L67/30G06F9/45558G06F2009/45595H04L61/50
Inventor 亢宇飞刘为峰庞康宇刘洋
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products