File-based method for communication between virtual machine and host machine
A communication method and virtual machine technology, which are applied in the field of file-based virtual machine and host communication, can solve the problems of a large number of virtual machines, difficulty in ensuring the consistency of internal files, and errors in human operation, so as to improve user experience. , the effect of maintaining integrity and data consistency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0029] See figure 1 Shown, be the basic process of the present invention; Mainly comprise the following steps:
[0030] Step 1: Create a virtual machine for the qemu communication channel, and configure the channel binding path through libvirt;
[0031] Step 2: Install the qemu serial proxy service to the virtual machine and start it;
[0032] Step 3: Read the content of the file, and then perform Base64 encryption on the content;
[0033] Step 4: Open the specified path file in the virtual machine through the serial agent;
[0034] Step 5: Transfer the content to the virtual machine, and decrypt the ciphertext through Base64;
[0035] Step 5: Write to the specified path file in the virtual machine;
[0036] Step 6: Close the file stream;
[0037] Step 7: The file upload is complete.
[0038] Encryption and decryption code:
[0039]
[0040]
[0041] Read file command:
[0042] virsh qemu-agent-command i-xxxxx'{"execute":"guest-file-open",
[0043] "arguments": ...
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