Dpdk vhostuser network adapter management method and device based on libvirt
A management method and network card technology, applied in the field of virtualization platform applications, can solve the problems of adding a network card that does not support the vhostuser type to the ovs bridge, not supporting the specified virtualport, etc., to avoid memory copying and system calls, and facilitate iterative optimization. , the effect of avoiding overhead
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] Step 1. Configure vhostuser related parameters in XML, set the network card socket path and specify the bridge name, virtualport type and interfaceid. The specific format is as follows:
[0036]
[0037] Step 2, create a virtual machine, libvirt parses the xml, supports bridge and virtualport when the network card type is vhostuser, and saves the relevant parameters in the data structure
[0038] Step 3: Build the openvswitch command line in libvirt according to the parsed vhostuser parameter, and specify the port, network card path and name.
[0039]Step 4, call the openvswitch command to create a network card
[0040] Step 5, check whether the network card is generated under the specified path, whether the network card parameters are correct, and whether the network card path ovs-vsctl list interface net-id is included in the virtual machine command line parameters.
[0041] Step 6, shut down the virtual machine, check whether the socket file in the specified path...
Embodiment 2
[0043] Step 1. Configure vhostuser related parameters in XML, set the network card socket path and specify the bridge name, virtualport type and interfaceid. The specific format is as follows:
[0044]
[0045] Step 2, create a virtual machine, libvirt parses the xml, supports bridge and virtualport when the network card type is vhostuser, and saves the relevant parameters in the data structure
[0046] Step 3: Build the openvswitch command line in libvirt according to the parsed vhostuser parameter, and specify the port, network card path and name.
[0047] Step 4, call the openvswitch command to create a network card
[0048] Step 5, check whether the network card is generated under the specified path, whether the network card parameters are correct, and whether the network card path ovs-vsctl list interface net-id is included in the virtual machine command line parameters.
[0049] Step 6, shut down the virtual machine, check whether the socket file in the specified pat...
Embodiment 3
[0051] Step 1. Configure vhostuser related parameters in XML, set the network card socket path and specify the bridge name, virtualport type and interfaceid. The specific format is as follows:
[0052]
[0053] Step 2, create a virtual machine, libvirt parses the xml, supports bridge and virtualport when the network card type is vhostuser, and saves the relevant parameters in the data structure.
[0054] Step 3: Build the openvswitch command line in libvirt according to the parsed vhostuser parameter, and specify the port, network card path and name.
[0055] Step 4, call the openvswitch command to create a network card.
[0056] Step 5, check whether the network card is generated under the specified path, whether the network card parameters are correct, and whether the network card path ovs-vsctl list interface net-id is included in the virtual machine command line parameters.
[0057] Step 6, shut down the virtual machine, check whether the socket file in the specified p...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com