Hypervisor-based driver transplantation method and system, medium and equipment
A technology of operating system and operation sequence, applied in the direction of program code adaptation, software maintenance/management, etc., can solve the problems of manpower consumption and achieve the effect of saving manpower
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] According to a hypervisor-based driver transplantation method provided by the present invention, it includes: the previous driver transplantation technology is very complicated and time-consuming. Using Hypervisor technology to capture and record the operation sequence, driver transplantation can be realized without changing the reference operating system, saving manpower. If the Hypervisor is not used, it is difficult to directly capture the operation sequence. It is necessary to change the reference operating system to capture the operation sequence, which is very complicated.
[0045] Specifically, the use of the Hypervisor technology to capture the operation sequence is adopted, such as figure 1 Shown:
[0046] Step S1: Define functional scenarios;
[0047] Step S2: run the virtual machine driving the normal working operating system A in the Hypervisor;
[0048] Step S3: According to the defined functional scenario, the driver of the operating system A uses the H...
Embodiment 2
[0064] Embodiment 2 is a preferred example of embodiment 1
[0065] Transplant the Linux driver to reworks, such as figure 2 shown.
[0066] Step 1: Define the operation scenario as sending data to the serial port in Linux and sending external data to Linux;
[0067] Step 2: Run the Linux virtual machine whose driver can work normally in the Hypervisor;
[0068] Step 3: Operate the serial port of Linux to read and write. Read the status register, record the return value of the status register, until a certain bit of the register changes, and its operation also changes, that is, its next instruction is not to read the status register, but to send data A number is written in the register. Use the hypervisor to capture this operation sequence and record it in the format of Table 1;
[0069] Table 1
[0070] timestamp Operation instruction bit width access address offset read and write values
[0071] Step 4: Analyze this ope...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com


