Multi-SoC interconnection simulation method, device and equipment under QEMU platform and storage medium

By creating shared memory space and message processing modules on the QEMU platform, the communication between virtual machines of multi-SoC systems is realized, which solves the problem that the existing QEMU platform cannot simulate multi-SoC systems, improving simulation efficiency and reducing costs.

CN119088499APending Publication Date: 2024-12-06SHENZHEN JAGUAR MICROSYSTEMS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310662434.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-06
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing QEMU platform only supports the simulation of a single SoC chip, which cannot meet the simulation verification needs of multiple SoC systems, resulting in low simulation efficiency and high cost in high-end chip research and development.

Method used

On the QEMU platform, by creating shared memory space on the Host host and allocating shared memory addresses to each QEMU virtual machine, data communication between multiple SoC virtual machines is realized, data interaction is used for message processing module, and virtual machines and sharing is established Memory mapping relationship realizes overall simulation of multi-SoC systems.

Benefits of technology

The overall simulation verification of multi-SoC systems is realized, the efficiency of SoC system simulation is improved, labor and time costs are reduced, and the development board simulation of multiple SoC systems is supported.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088499A_ABST
    Figure CN119088499A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-SoC interconnection simulation method, device and system under a QEMU platform and a storage medium. The method comprises the following steps: simulating a plurality of SoCs on a QEMU platform, wherein each SoC runs a QEMU virtual machine; acquiring address information of at least one shared memory space allocated to each QEMU virtual machine by a Host host, wherein the shared memory space is arranged in the Host host; according to the address information, establishing a mapping relationship between a storage space corresponding to each QEMU virtual machine and at least one shared memory space allocated to the QEMU virtual machine by a Host host; and sending the obtained data content of the QEMU virtual machine needing to communicate with other QEMU virtual machines to other QEMU virtual machines through the shared memory space mapped by the QEMU virtual machine so as to realize data communication between different QEMU virtual machines. By implementing the embodiment of the invention, the QEMU platform can support the simulation of a plurality of SoC system development boards, the SoC system simulation efficiency is improved, and the manpower and time cost 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 SOC simulation technology, and in particular to a multi-SoC interconnection simulation method, device, equipment and storage medium under a QEMU platform. Background Art

[0002] In the chip development process, the chip needs to be verified using a simulation verification platform before tape-out. In the prior art, the simulation verification platform includes a software simulation verification platform that focuses on verifying the startup process and driver functions, and a hardware simulation verification platform that focuses on verifying hardware logic and basic channels.

[0003] Existing software simulation verification platforms often use the QEMU (Quick EMUlator) open source platform, which can generally support the simulation of CPU cores, memory space and various peripherals of different systems; it has a powerful auxiliary verification function for the chip power-on startup process, the driver function of the chip device, etc., and can be used to support the early software verification work in advance. Because it is completely based on software, it has a great advantage in verification efficiency over hardware simulation verification platforms. Moreover, even some other commercial software simulation verification platforms (such as VDK / HELIUM) cannot compare with QEMU in development verification efficiency.

[0004] However, the current QEMU platform only supports the simulation of a single SoC (System on Chip) chip, and cannot meet the needs of multi-SoC scenarios. With the development of high-end chips, multi-SoC system chips have become very common. The existing QEMU platform cannot fully simulate the functions of the entire chip in this multi-Soc scenario. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a multi-SoC interconnection simulation method, device, equipment and storage medium under the QEMU platform, so that the QEMU platform can support the simulation of chips of multiple SoC systems, improve the efficiency of SoC system simulation, and reduce manpower and time costs.

[0006] In order to solve the above technical problems, as one aspect of the present invention, a multi-SoC interconnection simulation method under a QEMU platform is provided, which at least comprises the following steps:

[0007] Simulate multiple SoCs on the QEMU platform, and run a QEMU virtual machine on each SoC;

[0008] Acquire address information of at least one shared memory space allocated by the Host host to each QEMU virtual machine, wherein the shared memory space is set in the Host host;

[0009] According to the address information, a mapping relationship is established between the storage space of each QEMU virtual machine and at least one shared memory space allocated by the Host host to the QEMU virtual machine;

[0010] The obtained data content that the QEMU virtual machine needs to communicate with other QEMU virtual machines is sent to other QEMU virtual machines through the shared memory space mapped by the QEMU virtual machine to realize data communication between different QEMU virtual machines.

[0011] Among them, further include:

[0012] Multiple shared memory spaces are set in the Host host, and at least one shared memory space is allocated to each QEMU virtual machine.

[0013] The step of establishing a mapping relationship between the storage space of each QEMU virtual machine and at least one shared memory space allocated by the Host to the QEMU virtual machine further includes:

[0014] The storage space address in each QEMU virtual machine is mounted to at least one shared memory space address allocated by the Host host to the QEMU virtual machine, so as to establish a mapping relationship between the storage space of each QEMU virtual machine and the at least one shared memory space allocated by the Host host to the QEMU virtual machine.

[0015] The method further includes sending the obtained data content that the QEMU virtual machine needs to communicate with other QEMU virtual machines to other QEMU virtual machines through the shared memory space mapped by the QEMU virtual machine to realize data communication between different QEMU virtual machines:

[0016] Obtaining, from a message handling unit (MHU) set by the QEMU virtual machine, data content that the QEMU virtual machine needs to communicate with other QEMU virtual machines;

[0017] Sending the data content to the shared memory space mapped by the QEMU virtual machine;

[0018] Other QEMU virtual machines obtain the data content from the shared memory space mapped by the QEMU virtual machine.

[0019] Correspondingly, another aspect of the present invention further provides a multi-SoC interconnection simulation device under a QEMU platform, which at least includes:

[0020] Functional simulation unit, used to simulate multiple SoCs on the QEMU platform, each SoC runs a QEMU virtual machine;

[0021] A shared space information acquisition unit, used to acquire address information of at least one shared memory space allocated by the Host host to each QEMU virtual machine, wherein the shared memory space is set in the Host host;

[0022] A mapping processing unit, used to establish a mapping relationship between the memory space of each QEMU virtual machine and at least one shared memory space allocated by the Host host to the QEMU virtual machine according to the address information;

[0023] The interconnection processing unit is used to send the obtained data content in the QEMU virtual machine that needs to communicate with other QEMU virtual machines to other QEMU virtual machines through the shared memory space mapped by the QEMU virtual machine, so as to realize data communication between different QEMU virtual machines.

[0024] Wherein, the mapping processing unit is specifically used for:

[0025] The memory space address in each QEMU virtual machine is mounted to at least one shared memory space address allocated by the Host host to the QEMU virtual machine, so as to establish a mapping relationship between the memory space of each QEMU virtual machine and the at least one shared memory space allocated by the Host host to the QEMU virtual machine.

[0026] Wherein, the interconnection processing unit further includes:

[0027] An interactive information sending unit, configured to obtain, from a message processing module set by the QEMU virtual machine, data content that the QEMU virtual machine needs to communicate with other QEMU virtual machines, and send the data content to a shared memory space mapped by the QEMU virtual machine;

[0028] The interactive information receiving unit is used for other QEMU virtual machines to obtain the data content from the shared memory space mapped by the QEMU virtual machine.

[0029] Correspondingly, another aspect of the present invention further provides a computer-readable storage medium storing executable instructions, which implement the aforementioned method when the executable instructions are executed.

[0030] Correspondingly, in another aspect of the present invention, a computer device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the aforementioned method when executing the computer program.

[0031] The implementation of the embodiments of the present invention has the following beneficial effects:

[0032] The present invention provides a multi-SoC interconnection simulation method, device, equipment and storage medium under the QEMU platform, by creating a shared memory space between SoCs under a virtual machine on a Host host side, and mapping the memory space address in the QEMU virtual machine corresponding to each SoC to the corresponding shared memory space address; different QEMU virtual machines can use the MHU module and the commonly mapped shared memory space to achieve inter-core communication;

[0033] The method of the present invention is implemented independently of the hardware environment and the actual chip, and can realize the whole chip simulation of multiple SOC systems, so that the startup boot process between the cores can be fully verified on the software platform, thereby enabling the QEMU platform to support the simulation of multiple SoC system development boards, improve the efficiency of SoC system simulation, and reduce manpower and time costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, without paying creative labor, other drawings obtained based on these drawings still belong to the scope of the present invention.

[0035] Figure 1 A schematic diagram of the main process of an embodiment of a multi-SoC interconnection simulation method under a QEMU platform provided by the present invention;

[0036] Figure 2 Schematic diagram of the application environment of the method of the present invention;

[0037] Figure 3 A schematic diagram of the structure of an embodiment of a multi-SoC interconnection simulation device under a QEMU platform provided by the present invention;

[0038] Figure 4 for Figure 3 Schematic diagram of the structure of the verification processing unit. DETAILED DESCRIPTION

[0039] In order to make the objectives, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings.

[0040] like Figure 1 As shown, a main flow diagram of an embodiment of a multi-SoC interconnection simulation method under a QEMU platform provided by the present invention is shown; in this embodiment, the method is applied to Figure 2 In the application environment shown, more specifically, the method includes at least the following steps:

[0041] Step S10, simulating multiple SoCs on the QEMU platform 1, each SoC running a QEMU virtual machine; Figure 2 In the QEMU platform, multiple SoCs are simulated. Among them, the SoC can be an integrated management unit (IMU) subsystem, an application processor (AP) subsystem, a manageability control processor (MCP) subsystem, or a system control processor (SCP) subsystem; it is understandable that the above-mentioned SoCs are only examples and other SoCs may also be included; and how to simulate SoC is not the focus of this application, which can be achieved with reference to existing technologies and will not be described in detail here. It is understandable that, in one example, the QEMU platform 1 is deployed in the operating system of the Host host (such as a server), and the QEMU platform can be used to simulate hardware (each SoC subsystem) using software, and the operating system running on the SoC subsystem is the above-mentioned QEMU virtual machine.

[0042] Step S11, obtaining address information of at least one shared memory space allocated by a Host (such as a server) to each QEMU virtual machine, wherein the shared memory space is set in the Host;

[0043] It is understood that the present method further comprises:

[0044] A plurality of shared memory spaces are set in the Host host, and at least one shared memory space is allocated to each QEMU virtual machine 10, and address information of each shared memory space is sent to the corresponding QEMU virtual machine;

[0045] like Figure 2 As shown, shared memory space a to shared memory space n are set in the memory space 2 of the host. In some examples, the shared memory space can be created by using instructions such as "int shmget" in the host. A shared space allocation unit is used to determine the shared memory space allocated to each QEMU virtual machine. Figure 2 In the example shown, shared memory space a can be allocated to the QEMU virtual machine of the MCP / SCP subsystem and the QEMU virtual machine of the AP subsystem, and shared memory space b can be allocated to the QEMU virtual machine of the IMU1 subsystem and the QEMU virtual machine of the AP subsystem; similar allocations are performed for other shared memory spaces; and then the address information of each shared memory space is sent to the corresponding QEMU virtual machine.

[0046] Step S12, establishing a mapping relationship between the memory space in each QEMU virtual machine and at least one shared memory space allocated by the Host host for it according to the address information;

[0047] In the embodiment of the present invention, the step S12 is specifically as follows:

[0048] The memory space address in each QEMU virtual machine is mounted to at least one shared memory space address allocated by the Host host to it, so as to establish a mapping relationship between the memory space in each QEMU virtual machine and the at least one shared memory space allocated by the Host host to it.

[0049] In some examples, a command such as "void*shmat" can be used in a QEMU virtual machine to establish a mapping between a memory space address in the virtual machine and a corresponding shared memory space; similarly, in Figure 2 In the example, after the mounting operation, the QEMU virtual machine of the MCP / SCP subsystem and the QEMU virtual machine of the AP subsystem can be mapped to the shared memory space a, and then the threads on the two virtual machines can communicate based on the shared memory space a; the communication between other virtual machines is similar;

[0050] Step S13, the obtained data content that the QEMU virtual machine needs to communicate with other QEMU virtual machines is sent to other QEMU virtual machines through the shared memory space mapped by the QEMU virtual machine to achieve data communication between different QEMU virtual machines.

[0051] Specifically, obtaining data content that the QEMU virtual machine needs to communicate with other QEMU virtual machines from a message handling unit (MHU) module set by the QEMU virtual machine;

[0052] The data content is sent to the shared memory space mapped thereto, and the current data content is updated; other QEMU virtual machines mapped to the shared memory space obtain the updated current data content from the shared memory space through their MHU modules after monitoring the data changes in the shared memory space. In actual examples, the QEMU virtual machine can monitor whether the data in the shared memory space has changed through a variety of mechanisms. For example, it can be implemented by a polling mechanism, an active notification mechanism, or a shared memory interrupt mechanism. In the polling mechanism, the QEMU virtual machine can periodically poll the data in the shared memory space at a certain interval to see whether it has changed, so as to detect the updated data in time. In the active notification mechanism, when the QEMU virtual machine modifies the shared memory space, it can send a notification message to other virtual machines so that other virtual machines can obtain the latest data in time. This implementation method requires the use of some special notification mechanisms in the QEMU virtual machine, such as interrupts, Sockets, etc., to realize active notification of data updates. In the shared memory interrupt mechanism, when a QEMU virtual machine modifies the shared memory space, other virtual machine interrupts can be triggered through a shared memory interrupt to obtain data updates. This implementation requires adding some special identifiers or controllers in the shared memory space to implement the shared memory interrupt mechanism, thereby achieving real-time notification of data updates.

[0053] For example, in one example, communication is performed between the QEMU virtual machine of the IMU1 subsystem and the QEMU virtual machine of the AP subsystem. First, the QEMU virtual machine of the IMU1 subsystem sends the data content that needs to be interacted obtained through monitoring to the shared memory space b, and can promptly notify other QEMU virtual machines. At this time, after the QEMU virtual machine of the AP subsystem finds that the content in the shared memory space b is updated, it obtains the updated content from the shared memory space b, thereby realizing the function of the QEMU virtual machine of the IMU1 subsystem sending data to the QEMU virtual machine of the AP subsystem; and vice versa.

[0054] In actual application scenarios, by simulating the basic functions of the MHU module, the corresponding device registers and device space in the simulation modules corresponding to each SoC subsystem, it is possible to monitor the data changes generated by the reading and writing of each SoC in the MHU module after each QEMU virtual machine starts the thread, and then the data to be transmitted can be synchronized to the corresponding other SoCs using the shared memory space, thereby completing the inter-SoC core communication of the chip;

[0055] Taking a specific chip with multiple SoC subsystems as an example, the software effect finally achieved on the QEMU platform is: when SCP is started, each SoC (such as IMU0, IMU1, MCP, AP) is pulled up under the corresponding virtual machine, and each SoC system is started independently under its own independent virtual machine memory space. They share data through the shared memory space of the Host host, and on this basis, inter-core communication is achieved through the MHU module.

[0056] At the same time, it is understood that in other embodiments of the present invention, further functional expansion can be performed on the basis of the above method: for example, the address space between each SoC subsystem is remapped (Remap) and specific protocol communication is set between each subsystem to achieve further functional expansion. It is understandable that in a chip, different SoC subsystems may have different address space divisions, and in order to achieve normal communication between different subsystems, the address space needs to be remapped. In this way, different subsystems can use the correct mapping scheme to transmit data and achieve functional expansion. Specifically, the SoC subsystem can be remapped in hardware or software. The hardware remapping method usually requires the use of a hardware converter or chip component to achieve conversion between different address spaces. If the address space is remapped in software, the memory and bus need to be reconfigured and adjusted. After the remapping process, communication based on a certain protocol can be established between different subsystems to ensure that data can be transmitted correctly. Usually, in practical applications, commonly used communication protocols include SPI, UART, I2C, ETH, etc., and are optimized and improved accordingly according to needs. Ultimately, through remapping and protocol communication, function expansion and data sharing can be achieved between subsystems, thereby improving the performance and functionality of the overall system.

[0057] like Figure 3 As shown, a schematic diagram of the structure of an embodiment of a multi-SoC interconnection simulation device under a QEMU platform provided by the present invention is shown. In this embodiment, the multi-SoC interconnection simulation device 1 under the QEMU platform at least includes:

[0058] The function simulation unit 10 is used to simulate multiple SoCs on the QEMU platform, and each SoC runs a QEMU virtual machine; wherein the SoC can be an MCP, IMU, AP, or SCP subsystem.

[0059] A shared space information acquisition unit 11 is used to acquire address information of at least one shared memory space allocated by the Host host to each QEMU virtual machine, wherein the shared memory space is set in the memory 13 of the Host host;

[0060] The mapping processing unit 12 is used to establish a mapping relationship between the storage space 13 corresponding to each QEMU virtual machine and at least one shared memory space allocated by the Host host to the QEMU virtual machine according to the address information; wherein the mapping processing unit 102 is specifically used to:

[0061] The memory space address in each QEMU virtual machine is mounted to at least one shared memory space address allocated by the Host host to it, so as to establish a mapping relationship between the memory space in each QEMU virtual machine and the at least one shared memory space allocated by the Host host to it.

[0062] The interconnection processing unit 14 is used to send the obtained data content in the QEMU virtual machine that needs to communicate with other QEMU virtual machines to other QEMU virtual machines through the shared memory space mapped by the QEMU virtual machine, so as to realize data communication between different QEMU virtual machines.

[0063] More specifically, in a specific example, the interconnection processing unit 14 can be implemented by an MHU module in a QEMU virtual machine, and the interconnection processing unit 14 further includes:

[0064] The interactive information sending unit 140 is used to obtain data content that the QEMU virtual machine needs to communicate with other QEMU virtual machines from the MHU module set by the QEMU virtual machine, and send the data content to the shared memory space mapped by the QEMU virtual machine;

[0065] The interactive information receiving unit 141 is used for other QEMU virtual machines to obtain the data content from the shared memory space mapped by the QEMU virtual machine using its MHU module.

[0066] For more details, please refer to and combine the above Figure 1 The description is not repeated here.

[0067] Accordingly, in another aspect of the present invention, a computer-readable storage medium is provided, which stores executable instructions. When the executable instructions are executed, the above-mentioned Figure 1 For more details, please refer to and combine the above Figure 1 The description is not repeated here.

[0068] Accordingly, another aspect of the present invention further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the above-mentioned Figure 1 For more details, please refer to and combine with the above Figure 1The description is not repeated here.

[0069] The implementation of the embodiments of the present invention has the following beneficial effects:

[0070] The present invention provides a multi-SoC interconnection simulation method, device, equipment and storage medium under the QEMU platform, by creating a shared memory space between SoCs under a virtual machine on a Host host side, and mapping the memory space address in the QEMU virtual machine corresponding to each SoC to the corresponding shared memory space address; different QEMU virtual machines can use the MHU module and the commonly mapped shared memory space to achieve inter-core communication;

[0071] The method of the present invention is implemented independently of the hardware environment and the actual chip, and can realize the whole chip simulation of multiple SOC systems, so that the startup boot process between the cores can be fully verified on the software platform, thereby enabling the QEMU platform to support the simulation of multiple SoC subsystem chips, improve the efficiency of SoC system simulation, and reduce manpower and time costs.

[0072] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0073] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0074] The above disclosure is only a preferred embodiment of the present invention, which certainly cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention are still within the scope of the present invention.

Claims

1. A multi-SoC interconnection simulation method under the QEMU platform, It is characterized in that At least the following steps are included: Simulate multiple SoCs on the QEMU platform, and run a QEMU virtual machine on each SoC; Acquire address information of at least one shared memory space allocated by the Host host to each QEMU virtual machine, wherein the shared memory space is set in the Host host; According to the address information, a mapping relationship is established between the storage space of each QEMU virtual machine and at least one shared memory space allocated by the Host host to the QEMU virtual machine; The obtained data content that the QEMU virtual machine needs to communicate with other QEMU virtual machines is sent to other QEMU virtual machines through the shared memory space mapped by the QEMU virtual machine to realize data communication between different QEMU virtual machines.

2. The method according to claim 1, It is characterized in that Further including: Multiple shared memory spaces are set in the Host host, and at least one shared memory space is allocated to each QEMU virtual machine.

3. The method according to claim 1 or 2, It is characterized in that The step of establishing a mapping relationship between the storage space of each QEMU virtual machine and at least one shared memory space allocated by the host to the QEMU virtual machine further includes: The storage space address in each QEMU virtual machine is mounted to at least one shared memory space address allocated by the Host host to the QEMU virtual machine, so as to establish a mapping relationship between the storage space of each QEMU virtual machine and the at least one shared memory space allocated by the Host host to the QEMU virtual machine.

4. The method according to claim 3, It is characterized in that The obtained data content that the QEMU virtual machine needs to communicate with other QEMU virtual machines is sent to other QEMU virtual machines through the shared memory space mapped by the QEMU virtual machine to realize data communication between different QEMU virtual machines, further comprising: Obtaining, from a message processing module provided by the QEMU virtual machine, data content that the QEMU virtual machine needs to communicate with other QEMU virtual machines; Sending the data content to the shared memory space mapped by the QEMU virtual machine; Other QEMU virtual machines obtain the data content from the shared memory space mapped by the QEMU virtual machine.

5. A multi-SoC interconnection simulation device under the QEMU platform, It is characterized in that At least: Functional simulation unit, used to simulate multiple SoCs on the QEMU platform, each SoC runs a QEMU virtual machine; A shared space information acquisition unit, used to acquire address information of at least one shared memory space allocated by the Host host to each QEMU virtual machine, wherein the shared memory space is set in the Host host; A mapping processing unit, used to establish a mapping relationship between the storage space of each QEMU virtual machine and at least one shared memory space allocated by the Host host to the QEMU virtual machine according to the address information; The interconnection processing unit is used to send the obtained data content in the QEMU virtual machine that needs to communicate with other QEMU virtual machines to other QEMU virtual machines through the shared memory space mapped by the QEMU virtual machine, so as to realize data communication between different QEMU virtual machines.

6. The device as claimed in claim 5, It is characterized in that The mapping processing unit is specifically used for: The storage space address in each QEMU virtual machine is mounted to at least one shared memory space address allocated by the Host host to the QEMU virtual machine, so as to establish a mapping relationship between the storage space of each QEMU virtual machine and the at least one shared memory space allocated by the Host host to the QEMU virtual machine.

7. The device according to claim 6, It is characterized in that The interconnection processing unit further comprises: An interactive information sending unit, configured to obtain, from a message processing module set by the QEMU virtual machine, data content that the QEMU virtual machine needs to communicate with other QEMU virtual machines, and send the data content to a shared memory space mapped by the QEMU virtual machine; The interactive information receiving unit is used for other QEMU virtual machines to obtain the data content from the shared memory space mapped by the QEMU virtual machine.

8. A computer-readable storage medium storing executable instructions, It is characterized in that When the executable instructions are executed, the method according to any one of claims 1 to 4 is implemented.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.