Kvisor configuration method, device and storage medium

By receiving virtual machine configuration selection operations and generating binary configuration files, the problem of high difficulty in kvisor configuration process is solved, and the effect of simplifying the configuration process and reducing errors is achieved.

CN118733199BActive Publication Date: 2025-02-11KYLIN CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411222970.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-03
Publication Date
2025-02-11
Estimated Expiration
2044-09-03

AI Technical Summary

Technical Problem

In the prior art, the configuration process of kvisor is difficult, cumbersome and prone to errors.

Method used

By receiving input virtual machine configuration selection operations, generate an extensible markup language file, obtain configuration parameter variables, pass in the template to generate a c configuration file, define a byte alignment structure, dynamically apply memory and export binary configuration files.

Benefits of technology

It reduces the difficulty of configuring a virtual machine, reduces the chance of errors, eliminates the compilation process, and improves configuration efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733199B_ABST
    Figure CN118733199B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a kvisor configuration method, device and storage medium, the method comprising: receiving an input virtual machine configuration selection operation; generating an extensible markup language file of a development board where the virtual machine is located according to the configuration selection operation; obtaining configuration parameter variables based on the extensible markup language file; passing the configuration parameter variables into a template to generate a kvisor C configuration file; defining a structure related to configuration information and completing byte alignment, obtaining the configuration parameter variables as keyword variables, and forming keywords; dynamically applying for memory according to the definition structure after byte alignment and the keyword variables; using the applied memory to fill the keyword variables into the corresponding definition structure, and exporting to form a domain binary configuration file. The compilation process can be eliminated. The difficulty of configuring virtual machines is reduced, and the error rate is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of virtual machine technology, and in particular to a kvisor configuration method, device and storage medium. Background Art

[0002] With the development of integrated circuit manufacturing technology, more and more computing units are integrated into a single chip. It is usually necessary to implement multiple real-time tasks and applications running on the same chip while ensuring that they are isolated from each other to avoid competing for resources and interfering with each other.

[0003] Kvisor is a static partition management program independently developed by Kylin Software, and it is a domain virtualization software of Kylin. It has the advantages of supporting multiple architectures such as ARM and x86, as well as mainstream hardware platforms such as Feiteng, Kunpeng, Rockchip, Intel, Hygon, Nvidia, TI, NXP, and Raspberry Pi. It also supports multiple operating systems such as Galaxy Kylin operating system, Legacy Linux, KylinRTOS, FreeRTOS, Zephyr, and RT-thread. It can realize inter-domain communication based on Rpmsg / vEth / IPC, and can realize the advantages of domain isolation and hardware transparent transmission of hardware resources such as PCI / PCIe / Ethcat / ETH / I2C / CAN / SPI to a limited extent.

[0004] During the kvisor configuration process, you need to manually edit the configuration file. When generating a binary configuration, you need to pre-compile, configure the kernel environment, compile the kvisor project, and then generate the binary configuration. This process is difficult, cumbersome, and prone to errors. Summary of the invention

[0005] The embodiments of the present invention provide a kvisor configuration method, device and storage medium to solve the technical problem in the prior art that the configuration or modification of the kvisor is difficult, complicated and prone to errors.

[0006] In a first aspect, an embodiment of the present invention provides a kvisor configuration method, including:

[0007] Receiving input of a virtual machine configuration selection operation;

[0008] Generate an extensible markup language file of the development board where the virtual machine is located according to the configuration selection operation;

[0009] Acquire configuration parameter variables based on the extensible markup language file;

[0010] Pass the configuration parameter variables into the template to generate the c configuration file of kvisor;

[0011] Define a structure related to configuration information and complete byte alignment, obtain the configuration parameter variable as a keyword variable, and form a keyword;

[0012] Dynamically apply for memory based on the defined structure and the keyword variable after byte alignment processing;

[0013] The keyword variable is filled into the corresponding definition structure using the applied memory, and exported to form a domain binary configuration file. In a second aspect, an embodiment of the present invention also provides a kvisor configuration device, including:

[0014] A receiving module, used for receiving an input virtual machine configuration selection operation;

[0015] A generation module, used for generating an extensible markup language file of the development board where the virtual machine is located according to the configuration selection operation;

[0016] An acquisition module, used for acquiring configuration parameter variables based on the extensible markup language file;

[0017] The input module is used to input the configuration parameter variables into the template to generate a c configuration file of kvisor;

[0018] A definition module, used for defining a structure related to configuration information and completing byte alignment, obtaining the configuration parameter variable as a keyword variable, and forming a keyword;

[0019] An application module, used for dynamically applying for memory according to the defined structure after byte alignment and the keyword variable;

[0020] The export module is used to fill the keyword variable into the corresponding definition structure using the applied memory, and export it to form a domain binary configuration file. In a third aspect, an embodiment of the present invention also provides a storage medium containing computer executable instructions, which are used to execute the kvisor configuration method provided in the above embodiment when executed by a computer processor.

[0021] The kvisor configuration method, device and storage medium provided by the embodiment of the present invention receive the input virtual machine configuration selection operation; generate the extensible markup language file of the development board where the virtual machine is located according to the configuration selection operation; obtain the configuration parameter variable based on the extensible markup language file; pass the configuration parameter variable into the template to generate the kvisor c configuration file; define the structure related to the configuration information and complete the byte alignment, obtain the configuration parameter variable as the keyword variable, and form the keyword; dynamically apply for memory according to the definition structure and the keyword variable after the byte alignment processing; use the applied memory to fill the keyword variable into the corresponding definition structure, and export it to form a domain binary configuration file. The user can use the graphical interface provided by vscode to manage the kvisor configuration, and generate the c configuration file by receiving the management data input by the user, and can export it as the binary configuration required to start the virtual machine, eliminating the compilation process. The difficulty of configuring the virtual machine is reduced and the error rate is reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:

[0023] Figure 1 It is a flowchart of the kvisor configuration method provided in the first embodiment of the present invention;

[0024] Figure 2 It is a flowchart of the kvisor configuration method provided in the second embodiment of the present invention;

[0025] Figure 3 It is a structural diagram of a kvisor configuration device provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION

[0026] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0027] Embodiment 1

[0028] Figure 1 : is a flowchart of a kvisor configuration method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of configuring a kvisor. The method can be executed by a kvisor configuration device and specifically includes the following steps:

[0029] Step 110, receiving an input virtual machine configuration selection operation.

[0030] In this embodiment, the vscode plug-in webview interface can be used to implement a user operation view interface. Users can remotely upload files and send configuration commands to the development board through ssh connection. vscode's webview allows plug-ins to embed HTML, CSS, and JavaScript content in VSCode. Users can enter or select the corresponding virtual machine configuration through the view. For example, you can enter the CPU architecture, uart, whether to use the serial port, the boot entry address, system memory, gic address, pci_ecam, pcie_io, pcie_mem address, size, shared memory address, size pci device interrupt number and address and other related configuration information corresponding to the virtual machine.

[0031] Step 120: Generate an extensible markup language file of the development board where the virtual machine is located according to the configuration selection operation.

[0032] In this embodiment, the development board can be set with an extensible markup language file, such as an XML text file. The XML text file can be used to record the virtual machine configuration corresponding to the development board. Each development board corresponds to an extensible markup language file. Not only can the configuration, modification and deletion information of the virtual machine be recorded, but also the relevant information of the development board can be recorded. The corresponding markup items in the extensible markup language file can be used to record the corresponding configuration information of the user for each virtual machine in the development board.

[0033] Step 130: Acquire configuration parameter variables based on the extensible markup language file.

[0034] Exemplarily, the paragraph corresponding to each virtual machine may be determined from the extensible markup language file, and the configuration parameter variable may be searched according to the keyword identifier of the parameter in the paragraph.

[0035] Step 140: pass the configuration parameter variables into the template to generate a c configuration file for kvisor.

[0036] In this embodiment, the c configuration file of kvisor can be used for user inspection and compilation and debugging. The template can be a c configuration template, which can be implemented in ejs. The template contains comments, header files, configuration structures, cpu, memory, interrupt controller, PCI, console, shared memory, system memory and memory mapping. After obtaining the configuration parameter variables through the above steps, the above configuration parameter variables are passed into the corresponding variables in the configuration structure. The c configuration file of kvisor is generated by rendering the ejs template file.

[0037] Optionally, different templates may be set for different configuration requirements. Optionally, when configuring the host virtual machine, the configuration parameter variables are passed into the host ejs template file.

[0038] When configuring the guest virtual machine, the configuration parameter variables are passed into the guest ejs template file.

[0039] Step 150, define a structure related to the configuration information and complete byte alignment, obtain the configuration parameter variable as a keyword variable, and form a keyword.

[0040] In this embodiment, the domain configuration file (domain configuration file) is an important configuration file of the kvisor, which is a binary file. In the domain configuration file, the structure required for the domain configuration is predefined, for example, including cpus, mem_regions, irqchips, pci_devices and other parts.

[0041] In this embodiment, the specified field needs to be replaced, so a configuration-related and byte-aligned structure is defined, and the structure is created and referenced in the memory through the ref-related module of nodejs, and the obtained keyword variable is assigned to the structure variable. The binary configuration file is obtained by exporting the structure in the memory as bytecode, eliminating the compilation process of generating a binary configuration file from the C configuration compilation.

[0042] Step 160: dynamically apply for memory based on the defined structure after byte alignment and the keyword variable.

[0043] The replacement of keyword variables needs to be processed in memory, so in this embodiment, it is necessary to use the ref module to apply for corresponding memory for subsequent processing. Optionally, memory space can be dynamically applied according to the definition structure after alignment processing and the keyword variables.

[0044] Step 170, using ref to reference the structure in the memory, fill the keyword variable into the corresponding definition structure, and export it to form a domain binary configuration file.

[0045] Exemplarily, the ref module can be used to reference the structure in the memory, assign the keyword variable to the corresponding structure variable, and export the bytecode of the content in the application memory to form a domain binary configuration file.

[0046] In addition, if you are configuring a guest virtual machine, you also need to set the startup parameters of the guest virtual machine based on the selected kernel and ramdisk configuration file paths.

[0047] This embodiment receives the input virtual machine configuration selection operation; generates the extensible markup language file of the development board where the virtual machine is located according to the configuration selection operation; obtains the configuration parameter variable based on the extensible markup language file; passes the configuration parameter variable into the template to generate the c configuration file of kvisor; defines the structure related to the configuration information and completes the byte alignment, obtains the configuration parameter variable as the keyword variable, and forms the keyword; dynamically applies for memory according to the definition structure and the keyword variable after the byte alignment processing; uses the applied memory to fill the keyword variable into the corresponding definition structure, and exports to form a domain binary configuration file. The user can use the graphical interface provided by vscode to manage the kvisor configuration, and adjust the c configuration file by receiving the management data input by the user, and can export it as the binary configuration required to start the virtual machine, eliminating the compilation process. Reduce the difficulty of configuring the virtual machine and reduce the error rate. In a preferred implementation of this embodiment, the method can also add the following steps: upload the binary configuration file, kernel, ramdisk and other files to the development board; and send a start command to the development board to start the virtual machine. Exemplarily, the configuration file can be transferred and a startup command can be sent to the development board via ssh, and the development board starts the virtual machine according to the configuration file in the above manner.

[0048] In another preferred implementation of this embodiment, the method may further add the following steps: receiving a virtual machine configuration information query operation; searching for a corresponding extensible markup language file according to the operation; obtaining configuration information from the extensible markup language file and displaying it. In the prior art, there is a lack of intuitive resource monitoring tools for kviosr, which makes it difficult for developers to understand the resource usage of the development board and virtual machine in real time, and unable to make optimizations and adjustments in time. Therefore, in this embodiment, the user can view the virtual machine configuration through the view of the plug-in written in vscode. When receiving a virtual machine configuration information query operation, the corresponding xml file can be used to view the corresponding configuration information, and the configuration information can be displayed in the plug-in view.

[0049] Embodiment 2

[0050] Figure 2 It is a flow chart of the kvisor configuration method provided in the second embodiment of the present invention. This embodiment is optimized based on the above embodiment, and the method can also add the following steps: associating the ref-union-di module with the ref module; associating the ref-strut-di module with the ref module; associating the ref-napi module with the ref module; associating the ref-array-di module with the ref module, so as to facilitate calling the functions and features provided by the ref module, and using the ref module to provide references and operations to the memory.

[0051] See also Figure 2 , the kvisor configuration method comprises:

[0052] Step 210: receiving an input virtual machine configuration selection operation, and generating an extensible markup language file of the development board where the virtual machine is located according to the configuration selection operation.

[0053] Step 220: Obtain configuration parameter variables based on the extensible markup language file, pass the configuration parameter variables into a template, and generate a kvisor c configuration file.

[0054] Step 230, associate the ref-union-di module with the ref module, associate the ref-struct-di module with the ref module, associate the ref-array-di module with the ref module, and associate the ref-napi module with the ref module.

[0055] The domain configuration file generates the ref-napi, ref-struct-di, ref-array-di and ref-union-di libraries of node.js. In this embodiment, the following statement can be used:

[0056] const ref = require('@lwahonen / ref-napi');

[0057] const Struct = require('ref-struct-di')(ref);

[0058] const Struct = require('ref-array-di')(ref);

[0059] const Union = require('ref-union-di')(ref);

[0060] Since the ref module provides references and operations on memory, take require('ref-union-di') as an example, the ref in (ref) is used to associate the ref-union-di module with the ref module. The purpose is to be able to use the functions and features provided by the ref module when using the ref-union-di module, and the ref-union-di module is used to create union types. Therefore, by passing the ref module to the ref-union-di module, you can ensure that the functions provided by the ref module can be used when creating union types.

[0061] Step 240, associate the ref-array-di module with the ref module to facilitate calling the functions and features provided by the ref module, and use the ref module to provide references and operations to the memory.

[0062] Exemplarily, the following statement can be used to implement it: const ArrayType = require('ref-array-di')(ref).

[0063] Step 250, define a structure related to the configuration information and complete byte alignment, obtain the configuration parameter variable as a keyword variable, and form a keyword.

[0064] Step 260, dynamically apply for memory according to the defined structure after byte alignment and the keyword variable.

[0065] Step 270, using the applied memory to fill the keyword variable into the corresponding definition structure, and export it to form a domain binary configuration file.

[0066] This embodiment adds the following steps: associating the ref-union-di module with the ref module; associating the ref-struct-di module with the ref module; associating the ref-napi module with the ref module; associating the ref-array-di module with the ref module, so as to facilitate calling the functions and features provided by the ref module, and using the ref module to provide references and operations to the memory. Through the association process, when the domain configuration file is generated using the node.js library, each module is associated with the ref module, so as to facilitate calling the functions and features provided by the ref module, and using the ref module to provide references and operations to the memory.

[0067] Embodiment 3

[0068] Figure 3 is a schematic diagram of the structure of the kvisor configuration device provided in the third embodiment of the present invention, see Figure 3 , the kvisor configuration device comprises:

[0069] The receiving module 310 is used to receive an input virtual machine configuration selection operation;

[0070] A generating module 320, configured to generate an extensible markup language file of the development board where the virtual machine is located according to the configuration selection operation;

[0071] An acquisition module 330, configured to acquire configuration parameter variables based on the extensible markup language file;

[0072] The input module 340 is used to input the configuration parameter variables into the template to generate a c configuration file of the kvisor;

[0073] A definition module 350 is used to define a structure related to configuration information and complete byte alignment, obtain the configuration parameter variable as a keyword variable, and form a keyword;

[0074] An application module 360 ​​is used to dynamically apply for memory according to the defined structure after byte alignment and the keyword variable;

[0075] The export module 370 is used to use the applied memory to fill the keyword variable into the corresponding definition structure, and export it to form a domain binary configuration file. The kvisor configuration device provided in this embodiment receives the input virtual machine configuration selection operation; generates the extensible markup language file of the development board where the virtual machine is located according to the configuration selection operation; obtains the configuration parameter variable based on the extensible markup language file; passes the configuration parameter variable into the template to generate the kvisor c configuration file; defines the structure related to the configuration information and completes the byte alignment, obtains the configuration parameter variable as the keyword variable, and forms the keyword; dynamically applies for memory according to the definition structure and the keyword variable after the byte alignment processing; uses the applied memory to fill the keyword variable into the corresponding definition structure, and exports it to form a domain binary configuration file. Users can use the graphical interface provided by vscode to manage kvisor configuration, and generate the c configuration file by receiving the management data input by the user using the template file, and can export it as the binary configuration required to start the virtual machine, eliminating the compilation process. The difficulty of configuring the virtual machine is reduced and the error rate is reduced. On the basis of the above embodiments, the device also includes:

[0076] Upload module, used to upload binary configuration files, kernel and ramdisk files to the development board;

[0077] The sending module is used to send a startup command to the development board to create, start, shut down or delete a virtual machine.

[0078] Based on the above embodiments, the device further includes:

[0079] A first association module, used to associate the ref-union-di module with the ref module;

[0080] The second association module is used to associate the ref-struct-di module with the ref module;

[0081] A third association module, used to associate the ref-napi module with the ref module;

[0082] The fourth association module is used to associate the ref-array-di module with the ref module to facilitate calling the functions and features provided by the ref module, and use the ref module to provide references and operations to the memory.

[0083] Based on the above embodiments, the input module includes:

[0084] Host input module, used to input the configuration parameter variables into the host ejs template file when configuring the host virtual machine;

[0085] The Guest input module is used to input the configuration parameter variables into the guest ejs template file when configuring the guest virtual machine.

[0086] Based on the above embodiments, the device further includes:

[0087] The file path configuration module is used to set startup parameters according to the selected kernel and ramdisk configuration file paths when configuring the guest virtual machine.

[0088] Based on the above embodiments, the definition structure includes:

[0089] cpus, mem_regions, irqchips and pci_devices structures.

[0090] Based on the above embodiments, the configuration parameter variables include:

[0091] cpu architecture, uart, whether to use serial port, boot entry address, system memory, gic address, pci_ecam, pcie_io, pcie_mem address, size, shared memory address, size pci device interrupt number and address.

[0092] Based on the above embodiments, the device further includes:

[0093] A query operation receiving module, used for receiving a virtual machine configuration information query operation;

[0094] A file search module, used to search for a corresponding extensible markup language file according to the operation;

[0095] The display module is used to obtain configuration information from the extensible markup language file and display it.

[0096] The kvisor configuration device provided in the embodiment of the present invention can execute the kvisor configuration method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0097] Embodiment 4

[0098] Embodiment 4 of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute any of the kvisor configuration methods provided in the above embodiments when executed by a computer processor.

[0099] The computer storage medium of the embodiment of the present invention may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device.

[0100] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0101] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0102] Computer program code for performing the operation of the present invention may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or device. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0103] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A kvisor configuration method, characterized in that: include: Receiving input of a virtual machine configuration selection operation; Generate an extensible markup language file of the development board where the virtual machine is located according to the configuration selection operation; Acquire configuration parameter variables based on the extensible markup language file; Pass the configuration parameter variables into the template to generate the c configuration file of kvisor; Define a structure related to configuration information and complete byte alignment, obtain the configuration parameter variable as a keyword variable, and form a keyword; Dynamically apply for memory based on the defined structure and the keyword variable after byte alignment processing; The keyword variables are filled into the corresponding definition structure using the applied memory, and exported to form a domain binary configuration file.

2. The method according to claim 1, characterized in that: The method further comprises: Upload the domain binary configuration file, kernel and ramdisk file to the development board; And send a start command to the development board to start the virtual machine.

3. The method according to claim 1, characterized in that The method further comprises: Associate the ref-union-di module with the ref module; Associate the ref-struct-di module with the ref module; Associate the ref-napi module with the ref module; The domain configuration file generates the ref-napi, ref-struct-di, ref-array-di and ref-union-di libraries using the node.js library, associates the ref-array-di module with the ref module to facilitate calling the functions and features provided by the ref module, and uses the ref module to provide references and operations to memory. The ref-union-di module is used to create union types.

4. The method according to claim 1, characterized in that The step of transferring the configuration parameter variable into the template includes: When configuring the host virtual machine, the configuration parameter variables are passed into the host ejs template file; When configuring the guest virtual machine, the configuration parameter variables are passed into the guest ejs template file.

5. The method according to claim 1, characterized in that The method further comprises: When configuring the guest virtual machine, set the startup parameters according to the selected kernel and ramdisk configuration file paths.

6. The method according to claim 1, characterized in that The definition structure includes: cpus, mem_regions, irqchips and pci_devices structures.

7. The method according to claim 1, characterized in that The configuration parameter variables include: cpu architecture, uart, whether to use serial port, boot entry address, system memory, gic address, pci_ecam, pcie_io, pcie_mem address, size, shared memory address, size pci device interrupt number and address.

8. The method according to claim 1, characterized in that: The method further comprises: Receive a virtual machine configuration information query operation; Searching for a corresponding extensible markup language file according to the operation; The configuration information is obtained from the extensible markup language file and displayed.

9. A kvisor configuration device, characterized in that: include: A receiving module, used for receiving an input virtual machine configuration selection operation; A generation module, used for generating an extensible markup language file of the development board where the virtual machine is located according to the configuration selection operation; An acquisition module, used for acquiring configuration parameter variables based on the extensible markup language file; The input module is used to input the configuration parameter variables into the template to generate a c configuration file of kvisor; A definition module, used to define a structure related to configuration information and complete byte alignment, obtain the configuration parameter variable as a keyword variable, and form a keyword; An application module, used for dynamically applying for memory according to the defined structure after byte alignment and the keyword variable; The export module is used to fill the keyword variable into the corresponding definition structure using the applied memory, and export it to form a domain binary configuration file.

10. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the kvisor configuration method as described in any one of claims 1-8 when executed by a computer processor.

Citation Information

Patent Citations

  • Method and device for rapidly transplanting embedded operation system

    CN102207887A

  • Packet processing method and apparatus

    CN110352400A