Method and device for online replacement of bottom block device driver of virtual operating system
A virtual operating system and device-driven technology, applied in the field of cloud computing products, can solve problems such as inability to switch, and achieve the effect of improving flexibility and maintainability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0109] Such as Figure 5 As shown, the embodiment of the present invention takes the switching of the first BDS to the second BDS as an example to illustrate the steps of the method for online replacement of the underlying block device driver of the virtual operating system:
[0110] figure 1 The shown QEMU uses the underlying block device driver corresponding to the distributed back-end storage via the distributed network protocol interface as the first BDS; figure 2 The shown QEMU uses the underlying block device driver corresponding to the local high-speed block device file via the standard block device interface as the second BDS. Similar to the traditional BDS structure, the two BDS structures we constructed need to contain the corresponding block device names. For example, the block device name of the first BDS is: network: / / remote_uri / dev1, and the block device name of the second BDS It is: / dev / vrdev1; the difference from the traditional BDS structure is that the tw...
Embodiment 2
[0116] Such as Figure 5 As shown, the embodiment of the present invention takes the switching of the BDS corresponding to the high-speed block device file to the BDS corresponding to the distributed storage as an example to illustrate the steps of the method for online replacement of the underlying block device driver of the virtual operating system:
[0117] First, construct a suitable BDS structure corresponding to the distributed storage, which contains the most critical part, that is, the device name of the high-speed block device file on the fast path. QEMU creates an empty BDS structure, passes the device name to the new BDS structure, calls the open function corresponding to the block device file, and opens the BDS structure corresponding to the distributed storage, and completes the BDS corresponding to the distributed storage The structure of the structure.
[0118] Then, wait for the I / O that has occurred but has not ended, which includes two steps, first suspend t...
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