Method and device for virtual machine to execute host machine instruction
A host machine and virtual machine technology, applied in the field of cloud computing, can solve problems such as difficult configuration of virtual machines, and achieve the effect of reliable design principles, wide application prospects, and simple structure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0076] Such as figure 1 As shown, the present invention provides a method for a virtual machine to execute instructions of a host machine, comprising the following steps:
[0077] S1. Set the host machine and the virtual machine to communicate through the serial port device;
[0078] S2. The host machine initiates an instruction task, checks whether the instruction service of the virtual machine is running, and sends the instruction task to the virtual machine when the instruction service is running;
[0079] S3. The virtual machine starts the instruction service, and the instruction service reports the instruction service status to the host computer and monitors the instruction task sent by the host computer, and when the instruction task is monitored, persists the instruction task information into the instruction task file;
[0080] S4. The command service checks the local command task file, executes the command task according to the command task file, updates the command t...
Embodiment 2
[0083] Such as figure 2 As shown, the present invention provides a method for a virtual machine to execute instructions of a host machine, comprising the following steps:
[0084] S1. Set the host machine and the virtual machine to communicate through the serial port device; the specific steps are as follows:
[0085] S11. Obtain the serial port device of the virtual machine, and set the serial port device of the virtual machine as a communication interface;
[0086] S12. Setting the host machine and the virtual machine to communicate through the communication interface;
[0087] S2. The host computer initiates an instruction task, and checks whether the instruction service of the virtual machine is running, and sends the instruction task to the virtual machine when the instruction service is running; the specific steps are as follows:
[0088] S21. The host computer initiates an instruction task, and records the instruction task information into the database;
[0089] S22...
Embodiment 3
[0106] Such as image 3 As shown, the present invention provides a method for a virtual machine to execute instructions of a host machine, comprising the following steps:
[0107] S1. Set the host machine and the virtual machine to communicate through the serial port device; the specific steps are as follows:
[0108] S11. Obtain the serial port device of the virtual machine, and set the serial port device of the virtual machine as a communication interface;
[0109] S12. Setting the host machine and the virtual machine to communicate through the communication interface; the host machine and the virtual machine perform data transmission through the serial port device of the virtual machine;
[0110] S2. The host computer initiates an instruction task, and checks whether the instruction service of the virtual machine is running, and sends the instruction task to the virtual machine when the instruction service is running; the specific steps are as follows:
[0111] S21. The h...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


