Method for managing device of virtual machine and device
A technology for managing virtual machines and virtual machines. It is applied in the computer field and can solve problems such as CPU resource waste, simulated processor resource overhead, and reduced virtual machine performance.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0059] In this embodiment, the device of the virtual machine is a U disk, and the state of the device of the virtual machine is whether there is an event to be processed as an example for illustration, see image 3 , which can include:
[0060] 301. The simulation processor obtains the current state of the device of the virtual machine, that is, the U disk;
[0061] Optionally, the status of the U disk can be whether there is an event to be processed;
[0062] For example, the timer of the USB disk in qemu periodically checks whether the virtual machine has a USB disk event according to a certain frequency.
[0063] 302. If the state of the U disk is that there is no event to be processed, change the current frequency F of the timer corresponding to the U disk to the second frequency F2 corresponding to the state of "no event to be processed";
[0064] The frequency of the timer affects the real-time performance of the virtual machine's event response to the device correspon...
Embodiment 2
[0074] The principle of this embodiment is the same as that of Embodiment 1, so only the different parts will be described in detail. In this embodiment, the device of the virtual machine is a USB mouse, and the status of the USB mouse is whether it will be used as an example. See Figure 4 ,include:
[0075] 401. The simulation processor obtains the current state of the device of the virtual machine, that is, the USB mouse;
[0076] Optionally, the status of the USB mouse can be whether it is about to be used;
[0077] Exemplarily, it can be judged whether the USB mouse is about to be used in the following manner:
[0078] For example: if the simulation processor detects that the current mode of the USB mouse is "login to the virtual machine using VNC", it can be judged that the current state of the USB mouse is about to be used;
[0079] 402. If the USB mouse is not about to be used, change the current frequency F of the timer corresponding to the USB mouse to the fourth f...
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